// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'sync_delivery_item.dart';

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

class _$SyncDeliveryItem extends SyncDeliveryItem {
  @override
  final String? articleDefaultWarehouseCode;
  @override
  final String articleName;
  @override
  final String articleNumber;
  @override
  final bool articleScannable;
  @override
  final int belegzeilenNr;
  @override
  final String? komponentenArtikelNr;
  @override
  final String? parentArtikelNr;
  @override
  final int requiredQuantity;
  @override
  final double? unitPrice;
  @override
  final String warehouseCode;
  @override
  final String warehouseName;

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

  _$SyncDeliveryItem._(
      {this.articleDefaultWarehouseCode,
      required this.articleName,
      required this.articleNumber,
      required this.articleScannable,
      required this.belegzeilenNr,
      this.komponentenArtikelNr,
      this.parentArtikelNr,
      required this.requiredQuantity,
      this.unitPrice,
      required this.warehouseCode,
      required this.warehouseName})
      : super._();
  @override
  SyncDeliveryItem rebuild(void Function(SyncDeliveryItemBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is SyncDeliveryItem &&
        articleDefaultWarehouseCode == other.articleDefaultWarehouseCode &&
        articleName == other.articleName &&
        articleNumber == other.articleNumber &&
        articleScannable == other.articleScannable &&
        belegzeilenNr == other.belegzeilenNr &&
        komponentenArtikelNr == other.komponentenArtikelNr &&
        parentArtikelNr == other.parentArtikelNr &&
        requiredQuantity == other.requiredQuantity &&
        unitPrice == other.unitPrice &&
        warehouseCode == other.warehouseCode &&
        warehouseName == other.warehouseName;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, articleDefaultWarehouseCode.hashCode);
    _$hash = $jc(_$hash, articleName.hashCode);
    _$hash = $jc(_$hash, articleNumber.hashCode);
    _$hash = $jc(_$hash, articleScannable.hashCode);
    _$hash = $jc(_$hash, belegzeilenNr.hashCode);
    _$hash = $jc(_$hash, komponentenArtikelNr.hashCode);
    _$hash = $jc(_$hash, parentArtikelNr.hashCode);
    _$hash = $jc(_$hash, requiredQuantity.hashCode);
    _$hash = $jc(_$hash, unitPrice.hashCode);
    _$hash = $jc(_$hash, warehouseCode.hashCode);
    _$hash = $jc(_$hash, warehouseName.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'SyncDeliveryItem')
          ..add('articleDefaultWarehouseCode', articleDefaultWarehouseCode)
          ..add('articleName', articleName)
          ..add('articleNumber', articleNumber)
          ..add('articleScannable', articleScannable)
          ..add('belegzeilenNr', belegzeilenNr)
          ..add('komponentenArtikelNr', komponentenArtikelNr)
          ..add('parentArtikelNr', parentArtikelNr)
          ..add('requiredQuantity', requiredQuantity)
          ..add('unitPrice', unitPrice)
          ..add('warehouseCode', warehouseCode)
          ..add('warehouseName', warehouseName))
        .toString();
  }
}

class SyncDeliveryItemBuilder
    implements Builder<SyncDeliveryItem, SyncDeliveryItemBuilder> {
  _$SyncDeliveryItem? _$v;

  String? _articleDefaultWarehouseCode;
  String? get articleDefaultWarehouseCode =>
      _$this._articleDefaultWarehouseCode;
  set articleDefaultWarehouseCode(String? articleDefaultWarehouseCode) =>
      _$this._articleDefaultWarehouseCode = articleDefaultWarehouseCode;

  String? _articleName;
  String? get articleName => _$this._articleName;
  set articleName(String? articleName) => _$this._articleName = articleName;

  String? _articleNumber;
  String? get articleNumber => _$this._articleNumber;
  set articleNumber(String? articleNumber) =>
      _$this._articleNumber = articleNumber;

  bool? _articleScannable;
  bool? get articleScannable => _$this._articleScannable;
  set articleScannable(bool? articleScannable) =>
      _$this._articleScannable = articleScannable;

  int? _belegzeilenNr;
  int? get belegzeilenNr => _$this._belegzeilenNr;
  set belegzeilenNr(int? belegzeilenNr) =>
      _$this._belegzeilenNr = belegzeilenNr;

  String? _komponentenArtikelNr;
  String? get komponentenArtikelNr => _$this._komponentenArtikelNr;
  set komponentenArtikelNr(String? komponentenArtikelNr) =>
      _$this._komponentenArtikelNr = komponentenArtikelNr;

  String? _parentArtikelNr;
  String? get parentArtikelNr => _$this._parentArtikelNr;
  set parentArtikelNr(String? parentArtikelNr) =>
      _$this._parentArtikelNr = parentArtikelNr;

  int? _requiredQuantity;
  int? get requiredQuantity => _$this._requiredQuantity;
  set requiredQuantity(int? requiredQuantity) =>
      _$this._requiredQuantity = requiredQuantity;

  double? _unitPrice;
  double? get unitPrice => _$this._unitPrice;
  set unitPrice(double? unitPrice) => _$this._unitPrice = unitPrice;

  String? _warehouseCode;
  String? get warehouseCode => _$this._warehouseCode;
  set warehouseCode(String? warehouseCode) =>
      _$this._warehouseCode = warehouseCode;

  String? _warehouseName;
  String? get warehouseName => _$this._warehouseName;
  set warehouseName(String? warehouseName) =>
      _$this._warehouseName = warehouseName;

  SyncDeliveryItemBuilder() {
    SyncDeliveryItem._defaults(this);
  }

  SyncDeliveryItemBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _articleDefaultWarehouseCode = $v.articleDefaultWarehouseCode;
      _articleName = $v.articleName;
      _articleNumber = $v.articleNumber;
      _articleScannable = $v.articleScannable;
      _belegzeilenNr = $v.belegzeilenNr;
      _komponentenArtikelNr = $v.komponentenArtikelNr;
      _parentArtikelNr = $v.parentArtikelNr;
      _requiredQuantity = $v.requiredQuantity;
      _unitPrice = $v.unitPrice;
      _warehouseCode = $v.warehouseCode;
      _warehouseName = $v.warehouseName;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$SyncDeliveryItem _build() {
    final _$result = _$v ??
        _$SyncDeliveryItem._(
          articleDefaultWarehouseCode: articleDefaultWarehouseCode,
          articleName: BuiltValueNullFieldError.checkNotNull(
              articleName, r'SyncDeliveryItem', 'articleName'),
          articleNumber: BuiltValueNullFieldError.checkNotNull(
              articleNumber, r'SyncDeliveryItem', 'articleNumber'),
          articleScannable: BuiltValueNullFieldError.checkNotNull(
              articleScannable, r'SyncDeliveryItem', 'articleScannable'),
          belegzeilenNr: BuiltValueNullFieldError.checkNotNull(
              belegzeilenNr, r'SyncDeliveryItem', 'belegzeilenNr'),
          komponentenArtikelNr: komponentenArtikelNr,
          parentArtikelNr: parentArtikelNr,
          requiredQuantity: BuiltValueNullFieldError.checkNotNull(
              requiredQuantity, r'SyncDeliveryItem', 'requiredQuantity'),
          unitPrice: unitPrice,
          warehouseCode: BuiltValueNullFieldError.checkNotNull(
              warehouseCode, r'SyncDeliveryItem', 'warehouseCode'),
          warehouseName: BuiltValueNullFieldError.checkNotNull(
              warehouseName, r'SyncDeliveryItem', 'warehouseName'),
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
