// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'contact_source.dart';

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

class _$ContactSource extends ContactSource {
  @override
  final String? abteilung;
  @override
  final String? anrede;
  @override
  final String deliveryId;
  @override
  final String? funktion;
  @override
  final String id;
  @override
  final String? name1;
  @override
  final String? name2;
  @override
  final String? name3;
  @override
  final ContactRole role;
  @override
  final String? titel;

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

  _$ContactSource._(
      {this.abteilung,
      this.anrede,
      required this.deliveryId,
      this.funktion,
      required this.id,
      this.name1,
      this.name2,
      this.name3,
      required this.role,
      this.titel})
      : super._();
  @override
  ContactSource rebuild(void Function(ContactSourceBuilder) updates) =>
      (toBuilder()..update(updates)).build();

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

  @override
  bool operator ==(Object other) {
    if (identical(other, this)) return true;
    return other is ContactSource &&
        abteilung == other.abteilung &&
        anrede == other.anrede &&
        deliveryId == other.deliveryId &&
        funktion == other.funktion &&
        id == other.id &&
        name1 == other.name1 &&
        name2 == other.name2 &&
        name3 == other.name3 &&
        role == other.role &&
        titel == other.titel;
  }

  @override
  int get hashCode {
    var _$hash = 0;
    _$hash = $jc(_$hash, abteilung.hashCode);
    _$hash = $jc(_$hash, anrede.hashCode);
    _$hash = $jc(_$hash, deliveryId.hashCode);
    _$hash = $jc(_$hash, funktion.hashCode);
    _$hash = $jc(_$hash, id.hashCode);
    _$hash = $jc(_$hash, name1.hashCode);
    _$hash = $jc(_$hash, name2.hashCode);
    _$hash = $jc(_$hash, name3.hashCode);
    _$hash = $jc(_$hash, role.hashCode);
    _$hash = $jc(_$hash, titel.hashCode);
    _$hash = $jf(_$hash);
    return _$hash;
  }

  @override
  String toString() {
    return (newBuiltValueToStringHelper(r'ContactSource')
          ..add('abteilung', abteilung)
          ..add('anrede', anrede)
          ..add('deliveryId', deliveryId)
          ..add('funktion', funktion)
          ..add('id', id)
          ..add('name1', name1)
          ..add('name2', name2)
          ..add('name3', name3)
          ..add('role', role)
          ..add('titel', titel))
        .toString();
  }
}

class ContactSourceBuilder
    implements Builder<ContactSource, ContactSourceBuilder> {
  _$ContactSource? _$v;

  String? _abteilung;
  String? get abteilung => _$this._abteilung;
  set abteilung(String? abteilung) => _$this._abteilung = abteilung;

  String? _anrede;
  String? get anrede => _$this._anrede;
  set anrede(String? anrede) => _$this._anrede = anrede;

  String? _deliveryId;
  String? get deliveryId => _$this._deliveryId;
  set deliveryId(String? deliveryId) => _$this._deliveryId = deliveryId;

  String? _funktion;
  String? get funktion => _$this._funktion;
  set funktion(String? funktion) => _$this._funktion = funktion;

  String? _id;
  String? get id => _$this._id;
  set id(String? id) => _$this._id = id;

  String? _name1;
  String? get name1 => _$this._name1;
  set name1(String? name1) => _$this._name1 = name1;

  String? _name2;
  String? get name2 => _$this._name2;
  set name2(String? name2) => _$this._name2 = name2;

  String? _name3;
  String? get name3 => _$this._name3;
  set name3(String? name3) => _$this._name3 = name3;

  ContactRole? _role;
  ContactRole? get role => _$this._role;
  set role(ContactRole? role) => _$this._role = role;

  String? _titel;
  String? get titel => _$this._titel;
  set titel(String? titel) => _$this._titel = titel;

  ContactSourceBuilder() {
    ContactSource._defaults(this);
  }

  ContactSourceBuilder get _$this {
    final $v = _$v;
    if ($v != null) {
      _abteilung = $v.abteilung;
      _anrede = $v.anrede;
      _deliveryId = $v.deliveryId;
      _funktion = $v.funktion;
      _id = $v.id;
      _name1 = $v.name1;
      _name2 = $v.name2;
      _name3 = $v.name3;
      _role = $v.role;
      _titel = $v.titel;
      _$v = null;
    }
    return this;
  }

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

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

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

  _$ContactSource _build() {
    final _$result = _$v ??
        _$ContactSource._(
          abteilung: abteilung,
          anrede: anrede,
          deliveryId: BuiltValueNullFieldError.checkNotNull(
              deliveryId, r'ContactSource', 'deliveryId'),
          funktion: funktion,
          id: BuiltValueNullFieldError.checkNotNull(id, r'ContactSource', 'id'),
          name1: name1,
          name2: name2,
          name3: name3,
          role: BuiltValueNullFieldError.checkNotNull(
              role, r'ContactSource', 'role'),
          titel: titel,
        );
    replace(_$result);
    return _$result;
  }
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
