// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'sync_tour_response.dart';

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

class _$SyncTourResponse extends SyncTourResponse {
  @override
  final String tourId;

  factory _$SyncTourResponse(
          [void Function(SyncTourResponseBuilder)? updates]) =>
      (SyncTourResponseBuilder()..update(updates))._build();

  _$SyncTourResponse._({required this.tourId}) : super._();
  @override
  SyncTourResponse rebuild(void Function(SyncTourResponseBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'SyncTourResponse')
          ..add('tourId', tourId))
        .toString();
  }
}

class SyncTourResponseBuilder
    implements Builder<SyncTourResponse, SyncTourResponseBuilder> {
  _$SyncTourResponse? _$v;

  String? _tourId;
  String? get tourId => _$this._tourId;
  set tourId(String? tourId) => _$this._tourId = tourId;

  SyncTourResponseBuilder() {
    SyncTourResponse._defaults(this);
  }

  SyncTourResponseBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _tourId = $v.tourId;
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
