// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'delivered_belegnummern_response.dart';

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

class _$DeliveredBelegnummernResponse extends DeliveredBelegnummernResponse {
  @override
  final BuiltList<String> belegnummern;
  @override
  final int count;
  @override
  final String day;

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

  _$DeliveredBelegnummernResponse._(
      {required this.belegnummern, required this.count, required this.day})
      : super._();
  @override
  DeliveredBelegnummernResponse rebuild(
          void Function(DeliveredBelegnummernResponseBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is DeliveredBelegnummernResponse &&
        belegnummern == other.belegnummern &&
        count == other.count &&
        day == other.day;
  }

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'DeliveredBelegnummernResponse')
          ..add('belegnummern', belegnummern)
          ..add('count', count)
          ..add('day', day))
        .toString();
  }
}

class DeliveredBelegnummernResponseBuilder
    implements
        Builder<DeliveredBelegnummernResponse,
            DeliveredBelegnummernResponseBuilder> {
  _$DeliveredBelegnummernResponse? _$v;

  ListBuilder<String>? _belegnummern;
  ListBuilder<String> get belegnummern =>
      _$this._belegnummern ??= ListBuilder<String>();
  set belegnummern(ListBuilder<String>? belegnummern) =>
      _$this._belegnummern = belegnummern;

  int? _count;
  int? get count => _$this._count;
  set count(int? count) => _$this._count = count;

  String? _day;
  String? get day => _$this._day;
  set day(String? day) => _$this._day = day;

  DeliveredBelegnummernResponseBuilder() {
    DeliveredBelegnummernResponse._defaults(this);
  }

  DeliveredBelegnummernResponseBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _belegnummern = $v.belegnummern.toBuilder();
      _count = $v.count;
      _day = $v.day;
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
