// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint

// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';
import 'package:mapflow/features/mapflow/data/graphql/__generated__/serializers.gql.dart'
    as _i1;

part 'me.data.gql.g.dart';

abstract class GMeData implements Built<GMeData, GMeDataBuilder> {
  GMeData._();

  factory GMeData([void Function(GMeDataBuilder b) updates]) = _$GMeData;

  static void _initializeBuilder(GMeDataBuilder b) => b..G__typename = 'Query';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  GMeData_me get me;
  static Serializer<GMeData> get serializer => _$gMeDataSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GMeData.serializer,
        this,
      ) as Map<String, dynamic>);

  static GMeData? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GMeData.serializer,
        json,
      );
}

abstract class GMeData_me implements Built<GMeData_me, GMeData_meBuilder> {
  GMeData_me._();

  factory GMeData_me([void Function(GMeData_meBuilder b) updates]) =
      _$GMeData_me;

  static void _initializeBuilder(GMeData_meBuilder b) =>
      b..G__typename = 'User';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get id;
  String get telegramId;
  String? get username;
  String? get firstName;
  String? get lastName;
  String? get photoUrl;
  String? get languageCode;
  bool get isAdmin;
  static Serializer<GMeData_me> get serializer => _$gMeDataMeSerializer;

  Map<String, dynamic> toJson() => (_i1.serializers.serializeWith(
        GMeData_me.serializer,
        this,
      ) as Map<String, dynamic>);

  static GMeData_me? fromJson(Map<String, dynamic> json) =>
      _i1.serializers.deserializeWith(
        GMeData_me.serializer,
        json,
      );
}
