// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'hold_delivery_request.dart';

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

class _$HoldDeliveryRequest extends HoldDeliveryRequest {
  @override
  final String reason;

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

  _$HoldDeliveryRequest._({required this.reason}) : super._();
  @override
  HoldDeliveryRequest rebuild(
          void Function(HoldDeliveryRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class HoldDeliveryRequestBuilder
    implements Builder<HoldDeliveryRequest, HoldDeliveryRequestBuilder> {
  _$HoldDeliveryRequest? _$v;

  String? _reason;
  String? get reason => _$this._reason;
  set reason(String? reason) => _$this._reason = reason;

  HoldDeliveryRequestBuilder() {
    HoldDeliveryRequest._defaults(this);
  }

  HoldDeliveryRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _reason = $v.reason;
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
