// GENERATED CODE - DO NOT MODIFY BY HAND

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

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

Serializer<GVoiceExperiencesData> _$gVoiceExperiencesDataSerializer =
    _$GVoiceExperiencesDataSerializer();
Serializer<GVoiceExperiencesData_voiceExperiences>
_$gVoiceExperiencesDataVoiceExperiencesSerializer =
    _$GVoiceExperiencesData_voiceExperiencesSerializer();
Serializer<GVoiceExperiencesData_voiceExperiences_place>
_$gVoiceExperiencesDataVoiceExperiencesPlaceSerializer =
    _$GVoiceExperiencesData_voiceExperiences_placeSerializer();
Serializer<GVoiceExperiencesData_voiceExperiences_user>
_$gVoiceExperiencesDataVoiceExperiencesUserSerializer =
    _$GVoiceExperiencesData_voiceExperiences_userSerializer();

class _$GVoiceExperiencesDataSerializer
    implements StructuredSerializer<GVoiceExperiencesData> {
  @override
  final Iterable<Type> types = const [
    GVoiceExperiencesData,
    _$GVoiceExperiencesData,
  ];
  @override
  final String wireName = 'GVoiceExperiencesData';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GVoiceExperiencesData object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'voiceExperiences',
      serializers.serialize(
        object.voiceExperiences,
        specifiedType: const FullType(BuiltList, const [
          const FullType(GVoiceExperiencesData_voiceExperiences),
        ]),
      ),
    ];

    return result;
  }

  @override
  GVoiceExperiencesData deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GVoiceExperiencesDataBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'voiceExperiences':
          result.voiceExperiences.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(GVoiceExperiencesData_voiceExperiences),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GVoiceExperiencesData_voiceExperiencesSerializer
    implements StructuredSerializer<GVoiceExperiencesData_voiceExperiences> {
  @override
  final Iterable<Type> types = const [
    GVoiceExperiencesData_voiceExperiences,
    _$GVoiceExperiencesData_voiceExperiences,
  ];
  @override
  final String wireName = 'GVoiceExperiencesData_voiceExperiences';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GVoiceExperiencesData_voiceExperiences object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'id',
      serializers.serialize(object.id, specifiedType: const FullType(String)),
      'status',
      serializers.serialize(
        object.status,
        specifiedType: const FullType(_i2.GVoiceExperienceStatus),
      ),
      'durationSeconds',
      serializers.serialize(
        object.durationSeconds,
        specifiedType: const FullType(int),
      ),
      'promptHintsShown',
      serializers.serialize(
        object.promptHintsShown,
        specifiedType: const FullType(BuiltList, const [
          const FullType(String),
        ]),
      ),
      'createdAt',
      serializers.serialize(
        object.createdAt,
        specifiedType: const FullType(String),
      ),
      'place',
      serializers.serialize(
        object.place,
        specifiedType: const FullType(
          GVoiceExperiencesData_voiceExperiences_place,
        ),
      ),
    ];
    Object? value;
    value = object.transcript;
    if (value != null) {
      result
        ..add('transcript')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.analysis;
    if (value != null) {
      result
        ..add('analysis')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i3.JsonObject),
          ),
        );
    }
    value = object.recordingPayload;
    if (value != null) {
      result
        ..add('recordingPayload')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(_i3.JsonObject),
          ),
        );
    }
    value = object.user;
    if (value != null) {
      result
        ..add('user')
        ..add(
          serializers.serialize(
            value,
            specifiedType: const FullType(
              GVoiceExperiencesData_voiceExperiences_user,
            ),
          ),
        );
    }
    return result;
  }

  @override
  GVoiceExperiencesData_voiceExperiences deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GVoiceExperiencesData_voiceExperiencesBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'id':
          result.id =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'status':
          result.status =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i2.GVoiceExperienceStatus),
                  )!
                  as _i2.GVoiceExperienceStatus;
          break;
        case 'durationSeconds':
          result.durationSeconds =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(int),
                  )!
                  as int;
          break;
        case 'transcript':
          result.transcript =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'analysis':
          result.analysis =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i3.JsonObject),
                  )
                  as _i3.JsonObject?;
          break;
        case 'recordingPayload':
          result.recordingPayload =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(_i3.JsonObject),
                  )
                  as _i3.JsonObject?;
          break;
        case 'promptHintsShown':
          result.promptHintsShown.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(BuiltList, const [
                    const FullType(String),
                  ]),
                )!
                as BuiltList<Object?>,
          );
          break;
        case 'createdAt':
          result.createdAt =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'place':
          result.place.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GVoiceExperiencesData_voiceExperiences_place,
                  ),
                )!
                as GVoiceExperiencesData_voiceExperiences_place,
          );
          break;
        case 'user':
          result.user.replace(
            serializers.deserialize(
                  value,
                  specifiedType: const FullType(
                    GVoiceExperiencesData_voiceExperiences_user,
                  ),
                )!
                as GVoiceExperiencesData_voiceExperiences_user,
          );
          break;
      }
    }

    return result.build();
  }
}

class _$GVoiceExperiencesData_voiceExperiences_placeSerializer
    implements
        StructuredSerializer<GVoiceExperiencesData_voiceExperiences_place> {
  @override
  final Iterable<Type> types = const [
    GVoiceExperiencesData_voiceExperiences_place,
    _$GVoiceExperiencesData_voiceExperiences_place,
  ];
  @override
  final String wireName = 'GVoiceExperiencesData_voiceExperiences_place';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GVoiceExperiencesData_voiceExperiences_place object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'name',
      serializers.serialize(object.name, specifiedType: const FullType(String)),
    ];

    return result;
  }

  @override
  GVoiceExperiencesData_voiceExperiences_place deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GVoiceExperiencesData_voiceExperiences_placeBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'name':
          result.name =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
      }
    }

    return result.build();
  }
}

class _$GVoiceExperiencesData_voiceExperiences_userSerializer
    implements
        StructuredSerializer<GVoiceExperiencesData_voiceExperiences_user> {
  @override
  final Iterable<Type> types = const [
    GVoiceExperiencesData_voiceExperiences_user,
    _$GVoiceExperiencesData_voiceExperiences_user,
  ];
  @override
  final String wireName = 'GVoiceExperiencesData_voiceExperiences_user';

  @override
  Iterable<Object?> serialize(
    Serializers serializers,
    GVoiceExperiencesData_voiceExperiences_user object, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = <Object?>[
      '__typename',
      serializers.serialize(
        object.G__typename,
        specifiedType: const FullType(String),
      ),
      'telegramId',
      serializers.serialize(
        object.telegramId,
        specifiedType: const FullType(String),
      ),
    ];
    Object? value;
    value = object.username;
    if (value != null) {
      result
        ..add('username')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    value = object.firstName;
    if (value != null) {
      result
        ..add('firstName')
        ..add(
          serializers.serialize(value, specifiedType: const FullType(String)),
        );
    }
    return result;
  }

  @override
  GVoiceExperiencesData_voiceExperiences_user deserialize(
    Serializers serializers,
    Iterable<Object?> serialized, {
    FullType specifiedType = FullType.unspecified,
  }) {
    final result = GVoiceExperiencesData_voiceExperiences_userBuilder();

    final iterator = serialized.iterator;
    while (iterator.moveNext()) {
      final key = iterator.current! as String;
      iterator.moveNext();
      final Object? value = iterator.current;
      switch (key) {
        case '__typename':
          result.G__typename =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'telegramId':
          result.telegramId =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )!
                  as String;
          break;
        case 'username':
          result.username =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
        case 'firstName':
          result.firstName =
              serializers.deserialize(
                    value,
                    specifiedType: const FullType(String),
                  )
                  as String?;
          break;
      }
    }

    return result.build();
  }
}

class _$GVoiceExperiencesData extends GVoiceExperiencesData {
  @override
  final String G__typename;
  @override
  final BuiltList<GVoiceExperiencesData_voiceExperiences> voiceExperiences;

  factory _$GVoiceExperiencesData([
    void Function(GVoiceExperiencesDataBuilder)? updates,
  ]) => (GVoiceExperiencesDataBuilder()..update(updates))._build();

  _$GVoiceExperiencesData._({
    required this.G__typename,
    required this.voiceExperiences,
  }) : super._();
  @override
  GVoiceExperiencesData rebuild(
    void Function(GVoiceExperiencesDataBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GVoiceExperiencesDataBuilder toBuilder() =>
      GVoiceExperiencesDataBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GVoiceExperiencesData &&
        G__typename == other.G__typename &&
        voiceExperiences == other.voiceExperiences;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, voiceExperiences.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'GVoiceExperiencesData')
          ..add('G__typename', G__typename)
          ..add('voiceExperiences', voiceExperiences))
        .toString();
  }
}

class GVoiceExperiencesDataBuilder
    implements Builder<GVoiceExperiencesData, GVoiceExperiencesDataBuilder> {
  _$GVoiceExperiencesData? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  ListBuilder<GVoiceExperiencesData_voiceExperiences>? _voiceExperiences;
  ListBuilder<GVoiceExperiencesData_voiceExperiences> get voiceExperiences =>
      _$this._voiceExperiences ??=
          ListBuilder<GVoiceExperiencesData_voiceExperiences>();
  set voiceExperiences(
    ListBuilder<GVoiceExperiencesData_voiceExperiences>? voiceExperiences,
  ) => _$this._voiceExperiences = voiceExperiences;

  GVoiceExperiencesDataBuilder() {
    GVoiceExperiencesData._initializeBuilder(this);
  }

  GVoiceExperiencesDataBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _voiceExperiences = $v.voiceExperiences.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GVoiceExperiencesData other) {
    _$v = other as _$GVoiceExperiencesData;
  }

  @override
  void update(void Function(GVoiceExperiencesDataBuilder)? updates) {
    if (updates != null) updates(this);
  }

  @override
  GVoiceExperiencesData build() => _build();

  _$GVoiceExperiencesData _build() {
    _$GVoiceExperiencesData _$result;
    try {
      _$result =
          _$v ??
          _$GVoiceExperiencesData._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GVoiceExperiencesData',
              'G__typename',
            ),
            voiceExperiences: voiceExperiences.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'voiceExperiences';
        voiceExperiences.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GVoiceExperiencesData',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GVoiceExperiencesData_voiceExperiences
    extends GVoiceExperiencesData_voiceExperiences {
  @override
  final String G__typename;
  @override
  final String id;
  @override
  final _i2.GVoiceExperienceStatus status;
  @override
  final int durationSeconds;
  @override
  final String? transcript;
  @override
  final _i3.JsonObject? analysis;
  @override
  final _i3.JsonObject? recordingPayload;
  @override
  final BuiltList<String> promptHintsShown;
  @override
  final String createdAt;
  @override
  final GVoiceExperiencesData_voiceExperiences_place place;
  @override
  final GVoiceExperiencesData_voiceExperiences_user? user;

  factory _$GVoiceExperiencesData_voiceExperiences([
    void Function(GVoiceExperiencesData_voiceExperiencesBuilder)? updates,
  ]) => (GVoiceExperiencesData_voiceExperiencesBuilder()..update(updates))
      ._build();

  _$GVoiceExperiencesData_voiceExperiences._({
    required this.G__typename,
    required this.id,
    required this.status,
    required this.durationSeconds,
    this.transcript,
    this.analysis,
    this.recordingPayload,
    required this.promptHintsShown,
    required this.createdAt,
    required this.place,
    this.user,
  }) : super._();
  @override
  GVoiceExperiencesData_voiceExperiences rebuild(
    void Function(GVoiceExperiencesData_voiceExperiencesBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GVoiceExperiencesData_voiceExperiencesBuilder toBuilder() =>
      GVoiceExperiencesData_voiceExperiencesBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GVoiceExperiencesData_voiceExperiences &&
        G__typename == other.G__typename &&
        id == other.id &&
        status == other.status &&
        durationSeconds == other.durationSeconds &&
        transcript == other.transcript &&
        analysis == other.analysis &&
        recordingPayload == other.recordingPayload &&
        promptHintsShown == other.promptHintsShown &&
        createdAt == other.createdAt &&
        place == other.place &&
        user == other.user;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, status.hashCode);
    _$hash = $jc(_$hash, durationSeconds.hashCode);
    _$hash = $jc(_$hash, transcript.hashCode);
    _$hash = $jc(_$hash, analysis.hashCode);
    _$hash = $jc(_$hash, recordingPayload.hashCode);
    _$hash = $jc(_$hash, promptHintsShown.hashCode);
    _$hash = $jc(_$hash, createdAt.hashCode);
    _$hash = $jc(_$hash, place.hashCode);
    _$hash = $jc(_$hash, user.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GVoiceExperiencesData_voiceExperiences',
          )
          ..add('G__typename', G__typename)
          ..add('id', id)
          ..add('status', status)
          ..add('durationSeconds', durationSeconds)
          ..add('transcript', transcript)
          ..add('analysis', analysis)
          ..add('recordingPayload', recordingPayload)
          ..add('promptHintsShown', promptHintsShown)
          ..add('createdAt', createdAt)
          ..add('place', place)
          ..add('user', user))
        .toString();
  }
}

class GVoiceExperiencesData_voiceExperiencesBuilder
    implements
        Builder<
          GVoiceExperiencesData_voiceExperiences,
          GVoiceExperiencesData_voiceExperiencesBuilder
        > {
  _$GVoiceExperiencesData_voiceExperiences? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  _i2.GVoiceExperienceStatus? _status;
  _i2.GVoiceExperienceStatus? get status => _$this._status;
  set status(_i2.GVoiceExperienceStatus? status) => _$this._status = status;

  int? _durationSeconds;
  int? get durationSeconds => _$this._durationSeconds;
  set durationSeconds(int? durationSeconds) =>
      _$this._durationSeconds = durationSeconds;

  String? _transcript;
  String? get transcript => _$this._transcript;
  set transcript(String? transcript) => _$this._transcript = transcript;

  _i3.JsonObject? _analysis;
  _i3.JsonObject? get analysis => _$this._analysis;
  set analysis(_i3.JsonObject? analysis) => _$this._analysis = analysis;

  _i3.JsonObject? _recordingPayload;
  _i3.JsonObject? get recordingPayload => _$this._recordingPayload;
  set recordingPayload(_i3.JsonObject? recordingPayload) =>
      _$this._recordingPayload = recordingPayload;

  ListBuilder<String>? _promptHintsShown;
  ListBuilder<String> get promptHintsShown =>
      _$this._promptHintsShown ??= ListBuilder<String>();
  set promptHintsShown(ListBuilder<String>? promptHintsShown) =>
      _$this._promptHintsShown = promptHintsShown;

  String? _createdAt;
  String? get createdAt => _$this._createdAt;
  set createdAt(String? createdAt) => _$this._createdAt = createdAt;

  GVoiceExperiencesData_voiceExperiences_placeBuilder? _place;
  GVoiceExperiencesData_voiceExperiences_placeBuilder get place =>
      _$this._place ??= GVoiceExperiencesData_voiceExperiences_placeBuilder();
  set place(GVoiceExperiencesData_voiceExperiences_placeBuilder? place) =>
      _$this._place = place;

  GVoiceExperiencesData_voiceExperiences_userBuilder? _user;
  GVoiceExperiencesData_voiceExperiences_userBuilder get user =>
      _$this._user ??= GVoiceExperiencesData_voiceExperiences_userBuilder();
  set user(GVoiceExperiencesData_voiceExperiences_userBuilder? user) =>
      _$this._user = user;

  GVoiceExperiencesData_voiceExperiencesBuilder() {
    GVoiceExperiencesData_voiceExperiences._initializeBuilder(this);
  }

  GVoiceExperiencesData_voiceExperiencesBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _id = $v.id;
      _status = $v.status;
      _durationSeconds = $v.durationSeconds;
      _transcript = $v.transcript;
      _analysis = $v.analysis;
      _recordingPayload = $v.recordingPayload;
      _promptHintsShown = $v.promptHintsShown.toBuilder();
      _createdAt = $v.createdAt;
      _place = $v.place.toBuilder();
      _user = $v.user?.toBuilder();
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GVoiceExperiencesData_voiceExperiences other) {
    _$v = other as _$GVoiceExperiencesData_voiceExperiences;
  }

  @override
  void update(
    void Function(GVoiceExperiencesData_voiceExperiencesBuilder)? updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GVoiceExperiencesData_voiceExperiences build() => _build();

  _$GVoiceExperiencesData_voiceExperiences _build() {
    _$GVoiceExperiencesData_voiceExperiences _$result;
    try {
      _$result =
          _$v ??
          _$GVoiceExperiencesData_voiceExperiences._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
              G__typename,
              r'GVoiceExperiencesData_voiceExperiences',
              'G__typename',
            ),
            id: BuiltValueNullFieldError.checkNotNull(
              id,
              r'GVoiceExperiencesData_voiceExperiences',
              'id',
            ),
            status: BuiltValueNullFieldError.checkNotNull(
              status,
              r'GVoiceExperiencesData_voiceExperiences',
              'status',
            ),
            durationSeconds: BuiltValueNullFieldError.checkNotNull(
              durationSeconds,
              r'GVoiceExperiencesData_voiceExperiences',
              'durationSeconds',
            ),
            transcript: transcript,
            analysis: analysis,
            recordingPayload: recordingPayload,
            promptHintsShown: promptHintsShown.build(),
            createdAt: BuiltValueNullFieldError.checkNotNull(
              createdAt,
              r'GVoiceExperiencesData_voiceExperiences',
              'createdAt',
            ),
            place: place.build(),
            user: _user?.build(),
          );
    } catch (_) {
      late String _$failedField;
      try {
        _$failedField = 'promptHintsShown';
        promptHintsShown.build();

        _$failedField = 'place';
        place.build();
        _$failedField = 'user';
        _user?.build();
      } catch (e) {
        throw BuiltValueNestedFieldError(
          r'GVoiceExperiencesData_voiceExperiences',
          _$failedField,
          e.toString(),
        );
      }
      rethrow;
    }
    replace(_$result);
    return _$result;
  }
}

class _$GVoiceExperiencesData_voiceExperiences_place
    extends GVoiceExperiencesData_voiceExperiences_place {
  @override
  final String G__typename;
  @override
  final String name;

  factory _$GVoiceExperiencesData_voiceExperiences_place([
    void Function(GVoiceExperiencesData_voiceExperiences_placeBuilder)? updates,
  ]) => (GVoiceExperiencesData_voiceExperiences_placeBuilder()..update(updates))
      ._build();

  _$GVoiceExperiencesData_voiceExperiences_place._({
    required this.G__typename,
    required this.name,
  }) : super._();
  @override
  GVoiceExperiencesData_voiceExperiences_place rebuild(
    void Function(GVoiceExperiencesData_voiceExperiences_placeBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GVoiceExperiencesData_voiceExperiences_placeBuilder toBuilder() =>
      GVoiceExperiencesData_voiceExperiences_placeBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GVoiceExperiencesData_voiceExperiences_place &&
        G__typename == other.G__typename &&
        name == other.name;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, name.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GVoiceExperiencesData_voiceExperiences_place',
          )
          ..add('G__typename', G__typename)
          ..add('name', name))
        .toString();
  }
}

class GVoiceExperiencesData_voiceExperiences_placeBuilder
    implements
        Builder<
          GVoiceExperiencesData_voiceExperiences_place,
          GVoiceExperiencesData_voiceExperiences_placeBuilder
        > {
  _$GVoiceExperiencesData_voiceExperiences_place? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _name;
  String? get name => _$this._name;
  set name(String? name) => _$this._name = name;

  GVoiceExperiencesData_voiceExperiences_placeBuilder() {
    GVoiceExperiencesData_voiceExperiences_place._initializeBuilder(this);
  }

  GVoiceExperiencesData_voiceExperiences_placeBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _name = $v.name;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GVoiceExperiencesData_voiceExperiences_place other) {
    _$v = other as _$GVoiceExperiencesData_voiceExperiences_place;
  }

  @override
  void update(
    void Function(GVoiceExperiencesData_voiceExperiences_placeBuilder)? updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GVoiceExperiencesData_voiceExperiences_place build() => _build();

  _$GVoiceExperiencesData_voiceExperiences_place _build() {
    final _$result =
        _$v ??
        _$GVoiceExperiencesData_voiceExperiences_place._(
          G__typename: BuiltValueNullFieldError.checkNotNull(
            G__typename,
            r'GVoiceExperiencesData_voiceExperiences_place',
            'G__typename',
          ),
          name: BuiltValueNullFieldError.checkNotNull(
            name,
            r'GVoiceExperiencesData_voiceExperiences_place',
            'name',
          ),
        );
    replace(_$result);
    return _$result;
  }
}

class _$GVoiceExperiencesData_voiceExperiences_user
    extends GVoiceExperiencesData_voiceExperiences_user {
  @override
  final String G__typename;
  @override
  final String telegramId;
  @override
  final String? username;
  @override
  final String? firstName;

  factory _$GVoiceExperiencesData_voiceExperiences_user([
    void Function(GVoiceExperiencesData_voiceExperiences_userBuilder)? updates,
  ]) => (GVoiceExperiencesData_voiceExperiences_userBuilder()..update(updates))
      ._build();

  _$GVoiceExperiencesData_voiceExperiences_user._({
    required this.G__typename,
    required this.telegramId,
    this.username,
    this.firstName,
  }) : super._();
  @override
  GVoiceExperiencesData_voiceExperiences_user rebuild(
    void Function(GVoiceExperiencesData_voiceExperiences_userBuilder) updates,
  ) => (toBuilder()..update(updates)).build();

  @override
  GVoiceExperiencesData_voiceExperiences_userBuilder toBuilder() =>
      GVoiceExperiencesData_voiceExperiences_userBuilder()..replace(this);

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is GVoiceExperiencesData_voiceExperiences_user &&
        G__typename == other.G__typename &&
        telegramId == other.telegramId &&
        username == other.username &&
        firstName == other.firstName;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, G__typename.hashCode);
    _$hash = $jc(_$hash, telegramId.hashCode);
    _$hash = $jc(_$hash, username.hashCode);
    _$hash = $jc(_$hash, firstName.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(
            r'GVoiceExperiencesData_voiceExperiences_user',
          )
          ..add('G__typename', G__typename)
          ..add('telegramId', telegramId)
          ..add('username', username)
          ..add('firstName', firstName))
        .toString();
  }
}

class GVoiceExperiencesData_voiceExperiences_userBuilder
    implements
        Builder<
          GVoiceExperiencesData_voiceExperiences_user,
          GVoiceExperiencesData_voiceExperiences_userBuilder
        > {
  _$GVoiceExperiencesData_voiceExperiences_user? _$v;

  String? _G__typename;
  String? get G__typename => _$this._G__typename;
  set G__typename(String? G__typename) => _$this._G__typename = G__typename;

  String? _telegramId;
  String? get telegramId => _$this._telegramId;
  set telegramId(String? telegramId) => _$this._telegramId = telegramId;

  String? _username;
  String? get username => _$this._username;
  set username(String? username) => _$this._username = username;

  String? _firstName;
  String? get firstName => _$this._firstName;
  set firstName(String? firstName) => _$this._firstName = firstName;

  GVoiceExperiencesData_voiceExperiences_userBuilder() {
    GVoiceExperiencesData_voiceExperiences_user._initializeBuilder(this);
  }

  GVoiceExperiencesData_voiceExperiences_userBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _G__typename = $v.G__typename;
      _telegramId = $v.telegramId;
      _username = $v.username;
      _firstName = $v.firstName;
      _$v = null;
    }
    return this;
  }

  @override
  void replace(GVoiceExperiencesData_voiceExperiences_user other) {
    _$v = other as _$GVoiceExperiencesData_voiceExperiences_user;
  }

  @override
  void update(
    void Function(GVoiceExperiencesData_voiceExperiences_userBuilder)? updates,
  ) {
    if (updates != null) updates(this);
  }

  @override
  GVoiceExperiencesData_voiceExperiences_user build() => _build();

  _$GVoiceExperiencesData_voiceExperiences_user _build() {
    final _$result =
        _$v ??
        _$GVoiceExperiencesData_voiceExperiences_user._(
          G__typename: BuiltValueNullFieldError.checkNotNull(
            G__typename,
            r'GVoiceExperiencesData_voiceExperiences_user',
            'G__typename',
          ),
          telegramId: BuiltValueNullFieldError.checkNotNull(
            telegramId,
            r'GVoiceExperiencesData_voiceExperiences_user',
            'telegramId',
          ),
          username: username,
          firstName: firstName,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
