// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'update_delivery_note_request.dart';

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

class _$UpdateDeliveryNoteRequest extends UpdateDeliveryNoteRequest {
  @override
  final String? imageAttachment;
  @override
  final String? text;

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

  _$UpdateDeliveryNoteRequest._({this.imageAttachment, this.text}) : super._();
  @override
  UpdateDeliveryNoteRequest rebuild(
          void Function(UpdateDeliveryNoteRequestBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

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

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

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'UpdateDeliveryNoteRequest')
          ..add('imageAttachment', imageAttachment)
          ..add('text', text))
        .toString();
  }
}

class UpdateDeliveryNoteRequestBuilder
    implements
        Builder<UpdateDeliveryNoteRequest, UpdateDeliveryNoteRequestBuilder> {
  _$UpdateDeliveryNoteRequest? _$v;

  String? _imageAttachment;
  String? get imageAttachment => _$this._imageAttachment;
  set imageAttachment(String? imageAttachment) =>
      _$this._imageAttachment = imageAttachment;

  String? _text;
  String? get text => _$this._text;
  set text(String? text) => _$this._text = text;

  UpdateDeliveryNoteRequestBuilder() {
    UpdateDeliveryNoteRequest._defaults(this);
  }

  UpdateDeliveryNoteRequestBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _imageAttachment = $v.imageAttachment;
      _text = $v.text;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$UpdateDeliveryNoteRequest _build() {
    final _$result = _$v ??
        _$UpdateDeliveryNoteRequest._(
          imageAttachment: imageAttachment,
          text: text,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
