// 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 'start_telegram_bot_login.data.gql.g.dart';

abstract class GStartTelegramBotLoginData
    implements
        Built<GStartTelegramBotLoginData, GStartTelegramBotLoginDataBuilder> {
  GStartTelegramBotLoginData._();

  factory GStartTelegramBotLoginData(
          [void Function(GStartTelegramBotLoginDataBuilder b) updates]) =
      _$GStartTelegramBotLoginData;

  static void _initializeBuilder(GStartTelegramBotLoginDataBuilder b) =>
      b..G__typename = 'Mutation';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  GStartTelegramBotLoginData_startTelegramBotLogin get startTelegramBotLogin;
  static Serializer<GStartTelegramBotLoginData> get serializer =>
      _$gStartTelegramBotLoginDataSerializer;

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

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

abstract class GStartTelegramBotLoginData_startTelegramBotLogin
    implements
        Built<GStartTelegramBotLoginData_startTelegramBotLogin,
            GStartTelegramBotLoginData_startTelegramBotLoginBuilder> {
  GStartTelegramBotLoginData_startTelegramBotLogin._();

  factory GStartTelegramBotLoginData_startTelegramBotLogin(
      [void Function(GStartTelegramBotLoginData_startTelegramBotLoginBuilder b)
          updates]) = _$GStartTelegramBotLoginData_startTelegramBotLogin;

  static void _initializeBuilder(
          GStartTelegramBotLoginData_startTelegramBotLoginBuilder b) =>
      b..G__typename = 'TelegramBotLoginPayload';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get token;
  String get botUrl;
  String get expiresAt;
  static Serializer<GStartTelegramBotLoginData_startTelegramBotLogin>
      get serializer =>
          _$gStartTelegramBotLoginDataStartTelegramBotLoginSerializer;

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

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