//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//

// ignore_for_file: unused_import

import 'package:one_of_serializer/any_of_serializer.dart';
import 'package:one_of_serializer/one_of_serializer.dart';
import 'package:built_collection/built_collection.dart';
import 'package:built_value/json_object.dart';
import 'package:built_value/serializer.dart';
import 'package:built_value/standard_json_plugin.dart';
import 'package:built_value/iso_8601_date_time_serializer.dart';
import 'package:holzleitner_api/src/date_serializer.dart';
import 'package:holzleitner_api/src/model/date.dart';

import 'package:holzleitner_api/src/model/account.dart';
import 'package:holzleitner_api/src/model/address.dart';
import 'package:holzleitner_api/src/model/apply_scans_request.dart';
import 'package:holzleitner_api/src/model/apply_scans_response.dart';
import 'package:holzleitner_api/src/model/article.dart';
import 'package:holzleitner_api/src/model/assign_car_request.dart';
import 'package:holzleitner_api/src/model/audit_action.dart';
import 'package:holzleitner_api/src/model/cancel_delivery_request.dart';
import 'package:holzleitner_api/src/model/car.dart';
import 'package:holzleitner_api/src/model/car_response.dart';
import 'package:holzleitner_api/src/model/cars_list.dart';
import 'package:holzleitner_api/src/model/complete_delivery_acknowledgements.dart';
import 'package:holzleitner_api/src/model/contact_channel.dart';
import 'package:holzleitner_api/src/model/contact_kind.dart';
import 'package:holzleitner_api/src/model/contact_role.dart';
import 'package:holzleitner_api/src/model/contact_source.dart';
import 'package:holzleitner_api/src/model/create_car_request.dart';
import 'package:holzleitner_api/src/model/create_delivery_note_request.dart';
import 'package:holzleitner_api/src/model/create_payment_method_request.dart';
import 'package:holzleitner_api/src/model/create_service_request.dart';
import 'package:holzleitner_api/src/model/credit_action.dart';
import 'package:holzleitner_api/src/model/customer.dart';
import 'package:holzleitner_api/src/model/customer_contact.dart';
import 'package:holzleitner_api/src/model/delivered_belegnummern_response.dart';
import 'package:holzleitner_api/src/model/delivery.dart';
import 'package:holzleitner_api/src/model/delivery_credit.dart';
import 'package:holzleitner_api/src/model/delivery_credit_event_request.dart';
import 'package:holzleitner_api/src/model/delivery_credit_response.dart';
import 'package:holzleitner_api/src/model/delivery_item.dart';
import 'package:holzleitner_api/src/model/delivery_note.dart';
import 'package:holzleitner_api/src/model/delivery_note_response.dart';
import 'package:holzleitner_api/src/model/delivery_order_entry.dart';
import 'package:holzleitner_api/src/model/delivery_response.dart';
import 'package:holzleitner_api/src/model/delivery_service_response.dart';
import 'package:holzleitner_api/src/model/delivery_service_value.dart';
import 'package:holzleitner_api/src/model/delivery_state.dart';
import 'package:holzleitner_api/src/model/delivery_with_items.dart';
import 'package:holzleitner_api/src/model/hold_delivery_request.dart';
import 'package:holzleitner_api/src/model/import_summary.dart';
import 'package:holzleitner_api/src/model/mark_mail_sent_request.dart';
import 'package:holzleitner_api/src/model/mark_mail_sent_response.dart';
import 'package:holzleitner_api/src/model/payment_method.dart';
import 'package:holzleitner_api/src/model/payment_method_response.dart';
import 'package:holzleitner_api/src/model/payment_methods_list.dart';
import 'package:holzleitner_api/src/model/scan_event.dart';
import 'package:holzleitner_api/src/model/scan_result.dart';
import 'package:holzleitner_api/src/model/scan_result_status.dart';
import 'package:holzleitner_api/src/model/scan_state.dart';
import 'package:holzleitner_api/src/model/scan_status.dart';
import 'package:holzleitner_api/src/model/service.dart';
import 'package:holzleitner_api/src/model/service_kind.dart';
import 'package:holzleitner_api/src/model/service_response.dart';
import 'package:holzleitner_api/src/model/services_list.dart';
import 'package:holzleitner_api/src/model/set_delivery_order_request.dart';
import 'package:holzleitner_api/src/model/set_delivery_order_response.dart';
import 'package:holzleitner_api/src/model/set_delivery_service_request.dart';
import 'package:holzleitner_api/src/model/sync_contact_channel.dart';
import 'package:holzleitner_api/src/model/sync_contact_source.dart';
import 'package:holzleitner_api/src/model/sync_delivery.dart';
import 'package:holzleitner_api/src/model/sync_delivery_item.dart';
import 'package:holzleitner_api/src/model/sync_tour_request.dart';
import 'package:holzleitner_api/src/model/sync_tour_response.dart';
import 'package:holzleitner_api/src/model/tour.dart';
import 'package:holzleitner_api/src/model/tour_details.dart';
import 'package:holzleitner_api/src/model/tour_summary.dart';
import 'package:holzleitner_api/src/model/tour_summary_list.dart';
import 'package:holzleitner_api/src/model/update_car_request.dart';
import 'package:holzleitner_api/src/model/update_delivery_note_request.dart';
import 'package:holzleitner_api/src/model/update_payment_method_request.dart';
import 'package:holzleitner_api/src/model/update_service_request.dart';
import 'package:holzleitner_api/src/model/warehouse.dart';

part 'serializers.g.dart';

@SerializersFor([
  Account,
  Address,
  ApplyScansRequest,
  ApplyScansResponse,
  Article,
  AssignCarRequest,
  AuditAction,
  CancelDeliveryRequest,
  Car,
  CarResponse,
  CarsList,
  CompleteDeliveryAcknowledgements,
  ContactChannel,
  ContactKind,
  ContactRole,
  ContactSource,
  CreateCarRequest,
  CreateDeliveryNoteRequest,
  CreatePaymentMethodRequest,
  CreateServiceRequest,
  CreditAction,
  Customer,
  CustomerContact,
  DeliveredBelegnummernResponse,
  Delivery,$Delivery,
  DeliveryCredit,
  DeliveryCreditEventRequest,
  DeliveryCreditResponse,
  DeliveryItem,
  DeliveryNote,
  DeliveryNoteResponse,
  DeliveryOrderEntry,
  DeliveryResponse,
  DeliveryServiceResponse,
  DeliveryServiceValue,
  DeliveryState,
  DeliveryWithItems,
  HoldDeliveryRequest,
  ImportSummary,
  MarkMailSentRequest,
  MarkMailSentResponse,
  PaymentMethod,
  PaymentMethodResponse,
  PaymentMethodsList,
  ScanEvent,
  ScanResult,
  ScanResultStatus,
  ScanState,
  ScanStatus,
  Service,
  ServiceKind,
  ServiceResponse,
  ServicesList,
  SetDeliveryOrderRequest,
  SetDeliveryOrderResponse,
  SetDeliveryServiceRequest,
  SyncContactChannel,
  SyncContactSource,
  SyncDelivery,
  SyncDeliveryItem,
  SyncTourRequest,
  SyncTourResponse,
  Tour,
  TourDetails,
  TourSummary,
  TourSummaryList,
  UpdateCarRequest,
  UpdateDeliveryNoteRequest,
  UpdatePaymentMethodRequest,
  UpdateServiceRequest,
  Warehouse,
])
Serializers serializers = (_$serializers.toBuilder()
      ..add(Delivery.serializer)
      ..add(const OneOfSerializer())
      ..add(const AnyOfSerializer())
      ..add(const DateSerializer())
      ..add(Iso8601DateTimeSerializer()))
    .build();

Serializers standardSerializers =
    (serializers.toBuilder()..addPlugin(StandardJsonPlugin())).build();
