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

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

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

abstract class GVoiceExperiencesData
    implements Built<GVoiceExperiencesData, GVoiceExperiencesDataBuilder> {
  GVoiceExperiencesData._();

  factory GVoiceExperiencesData(
          [void Function(GVoiceExperiencesDataBuilder b) updates]) =
      _$GVoiceExperiencesData;

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

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  BuiltList<GVoiceExperiencesData_voiceExperiences> get voiceExperiences;
  static Serializer<GVoiceExperiencesData> get serializer =>
      _$gVoiceExperiencesDataSerializer;

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

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

abstract class GVoiceExperiencesData_voiceExperiences
    implements
        Built<GVoiceExperiencesData_voiceExperiences,
            GVoiceExperiencesData_voiceExperiencesBuilder> {
  GVoiceExperiencesData_voiceExperiences._();

  factory GVoiceExperiencesData_voiceExperiences(
      [void Function(GVoiceExperiencesData_voiceExperiencesBuilder b)
          updates]) = _$GVoiceExperiencesData_voiceExperiences;

  static void _initializeBuilder(
          GVoiceExperiencesData_voiceExperiencesBuilder b) =>
      b..G__typename = 'VoiceExperience';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get id;
  _i2.GVoiceExperienceStatus get status;
  int get durationSeconds;
  String? get transcript;
  _i3.JsonObject? get analysis;
  _i3.JsonObject? get recordingPayload;
  BuiltList<String> get promptHintsShown;
  String get createdAt;
  GVoiceExperiencesData_voiceExperiences_place get place;
  GVoiceExperiencesData_voiceExperiences_user? get user;
  static Serializer<GVoiceExperiencesData_voiceExperiences> get serializer =>
      _$gVoiceExperiencesDataVoiceExperiencesSerializer;

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

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

abstract class GVoiceExperiencesData_voiceExperiences_place
    implements
        Built<GVoiceExperiencesData_voiceExperiences_place,
            GVoiceExperiencesData_voiceExperiences_placeBuilder> {
  GVoiceExperiencesData_voiceExperiences_place._();

  factory GVoiceExperiencesData_voiceExperiences_place(
      [void Function(GVoiceExperiencesData_voiceExperiences_placeBuilder b)
          updates]) = _$GVoiceExperiencesData_voiceExperiences_place;

  static void _initializeBuilder(
          GVoiceExperiencesData_voiceExperiences_placeBuilder b) =>
      b..G__typename = 'Place';

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get name;
  static Serializer<GVoiceExperiencesData_voiceExperiences_place>
      get serializer => _$gVoiceExperiencesDataVoiceExperiencesPlaceSerializer;

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

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

abstract class GVoiceExperiencesData_voiceExperiences_user
    implements
        Built<GVoiceExperiencesData_voiceExperiences_user,
            GVoiceExperiencesData_voiceExperiences_userBuilder> {
  GVoiceExperiencesData_voiceExperiences_user._();

  factory GVoiceExperiencesData_voiceExperiences_user(
      [void Function(GVoiceExperiencesData_voiceExperiences_userBuilder b)
          updates]) = _$GVoiceExperiencesData_voiceExperiences_user;

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

  @BuiltValueField(wireName: '__typename')
  String get G__typename;
  String get telegramId;
  String? get username;
  String? get firstName;
  static Serializer<GVoiceExperiencesData_voiceExperiences_user>
      get serializer => _$gVoiceExperiencesDataVoiceExperiencesUserSerializer;

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

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