// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'set_delivery_order_request.dart';

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

class _$SetDeliveryOrderRequest extends SetDeliveryOrderRequest {
  @override
  final BuiltList<String> deliveryIds;

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

  _$SetDeliveryOrderRequest._({required this.deliveryIds}) : super._();
  @override
  SetDeliveryOrderRequest rebuild(
          void Function(SetDeliveryOrderRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

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

class SetDeliveryOrderRequestBuilder
    implements
        Builder<SetDeliveryOrderRequest, SetDeliveryOrderRequestBuilder> {
  _$SetDeliveryOrderRequest? _$v;

  ListBuilder<String>? _deliveryIds;
  ListBuilder<String> get deliveryIds =>
      _$this._deliveryIds ??= ListBuilder<String>();
  set deliveryIds(ListBuilder<String>? deliveryIds) =>
      _$this._deliveryIds = deliveryIds;

  SetDeliveryOrderRequestBuilder() {
    SetDeliveryOrderRequest._defaults(this);
  }

  SetDeliveryOrderRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _deliveryIds = $v.deliveryIds.toBuilder();
      _$v = null;
    }
    return this;
  }

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

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

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

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

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
