// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'mark_mail_sent_request.dart';

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

class _$MarkMailSentRequest extends MarkMailSentRequest {
  @override
  final BuiltList<String> belegnummern;

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

  _$MarkMailSentRequest._({required this.belegnummern}) : super._();
  @override
  MarkMailSentRequest rebuild(
          void Function(MarkMailSentRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class MarkMailSentRequestBuilder
    implements Builder<MarkMailSentRequest, MarkMailSentRequestBuilder> {
  _$MarkMailSentRequest? _$v;

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

  MarkMailSentRequestBuilder() {
    MarkMailSentRequest._defaults(this);
  }

  MarkMailSentRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _belegnummern = $v.belegnummern.toBuilder();
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
