// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'warehouse_location_dto.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

WarehouseLocationDto _$WarehouseLocationDtoFromJson(Map<String, dynamic> json) {
  return _WarehouseLocationDto.fromJson(json);
}

/// @nodoc
mixin _$WarehouseLocationDto {
  @JsonKey(name: 'Id')
  int? get id => throw _privateConstructorUsedError;
  @JsonKey(name: 'Name')
  String get name => throw _privateConstructorUsedError;
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode => throw _privateConstructorUsedError;
  @JsonKey(name: 'zipcode_address')
  String? get zipcodeAddress => throw _privateConstructorUsedError;
  @JsonKey(name: 'Remark')
  String? get remark => throw _privateConstructorUsedError;
  @JsonKey(name: 'is_deleted')
  bool get isDeleted => throw _privateConstructorUsedError;
  @JsonKey(name: 'registered_at')
  DateTime? get registeredAt => throw _privateConstructorUsedError;
  @JsonKey(name: 'updated_at')
  DateTime? get updatedAt =>
      throw _privateConstructorUsedError; // Nested data (optional, populated in GET requests)
  @JsonKey(name: 'zipcode')
  ZipcodeDto? get zipcode => throw _privateConstructorUsedError;

  /// Serializes this WarehouseLocationDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $WarehouseLocationDtoCopyWith<WarehouseLocationDto> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $WarehouseLocationDtoCopyWith<$Res> {
  factory $WarehouseLocationDtoCopyWith(WarehouseLocationDto value,
          $Res Function(WarehouseLocationDto) then) =
      _$WarehouseLocationDtoCopyWithImpl<$Res, WarehouseLocationDto>;
  @useResult
  $Res call(
      {@JsonKey(name: 'Id') int? id,
      @JsonKey(name: 'Name') String name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'zipcode_address') String? zipcodeAddress,
      @JsonKey(name: 'Remark') String? remark,
      @JsonKey(name: 'is_deleted') bool isDeleted,
      @JsonKey(name: 'registered_at') DateTime? registeredAt,
      @JsonKey(name: 'updated_at') DateTime? updatedAt,
      @JsonKey(name: 'zipcode') ZipcodeDto? zipcode});

  $ZipcodeDtoCopyWith<$Res>? get zipcode;
}

/// @nodoc
class _$WarehouseLocationDtoCopyWithImpl<$Res,
        $Val extends WarehouseLocationDto>
    implements $WarehouseLocationDtoCopyWith<$Res> {
  _$WarehouseLocationDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = freezed,
    Object? name = null,
    Object? zipcodesZipcode = freezed,
    Object? zipcodeAddress = freezed,
    Object? remark = freezed,
    Object? isDeleted = null,
    Object? registeredAt = freezed,
    Object? updatedAt = freezed,
    Object? zipcode = freezed,
  }) {
    return _then(_value.copyWith(
      id: freezed == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int?,
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      zipcodeAddress: freezed == zipcodeAddress
          ? _value.zipcodeAddress
          : zipcodeAddress // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
      isDeleted: null == isDeleted
          ? _value.isDeleted
          : isDeleted // ignore: cast_nullable_to_non_nullable
              as bool,
      registeredAt: freezed == registeredAt
          ? _value.registeredAt
          : registeredAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      updatedAt: freezed == updatedAt
          ? _value.updatedAt
          : updatedAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      zipcode: freezed == zipcode
          ? _value.zipcode
          : zipcode // ignore: cast_nullable_to_non_nullable
              as ZipcodeDto?,
    ) as $Val);
  }

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @pragma('vm:prefer-inline')
  $ZipcodeDtoCopyWith<$Res>? get zipcode {
    if (_value.zipcode == null) {
      return null;
    }

    return $ZipcodeDtoCopyWith<$Res>(_value.zipcode!, (value) {
      return _then(_value.copyWith(zipcode: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$WarehouseLocationDtoImplCopyWith<$Res>
    implements $WarehouseLocationDtoCopyWith<$Res> {
  factory _$$WarehouseLocationDtoImplCopyWith(_$WarehouseLocationDtoImpl value,
          $Res Function(_$WarehouseLocationDtoImpl) then) =
      __$$WarehouseLocationDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {@JsonKey(name: 'Id') int? id,
      @JsonKey(name: 'Name') String name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'zipcode_address') String? zipcodeAddress,
      @JsonKey(name: 'Remark') String? remark,
      @JsonKey(name: 'is_deleted') bool isDeleted,
      @JsonKey(name: 'registered_at') DateTime? registeredAt,
      @JsonKey(name: 'updated_at') DateTime? updatedAt,
      @JsonKey(name: 'zipcode') ZipcodeDto? zipcode});

  @override
  $ZipcodeDtoCopyWith<$Res>? get zipcode;
}

/// @nodoc
class __$$WarehouseLocationDtoImplCopyWithImpl<$Res>
    extends _$WarehouseLocationDtoCopyWithImpl<$Res, _$WarehouseLocationDtoImpl>
    implements _$$WarehouseLocationDtoImplCopyWith<$Res> {
  __$$WarehouseLocationDtoImplCopyWithImpl(_$WarehouseLocationDtoImpl _value,
      $Res Function(_$WarehouseLocationDtoImpl) _then)
      : super(_value, _then);

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = freezed,
    Object? name = null,
    Object? zipcodesZipcode = freezed,
    Object? zipcodeAddress = freezed,
    Object? remark = freezed,
    Object? isDeleted = null,
    Object? registeredAt = freezed,
    Object? updatedAt = freezed,
    Object? zipcode = freezed,
  }) {
    return _then(_$WarehouseLocationDtoImpl(
      id: freezed == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int?,
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      zipcodeAddress: freezed == zipcodeAddress
          ? _value.zipcodeAddress
          : zipcodeAddress // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
      isDeleted: null == isDeleted
          ? _value.isDeleted
          : isDeleted // ignore: cast_nullable_to_non_nullable
              as bool,
      registeredAt: freezed == registeredAt
          ? _value.registeredAt
          : registeredAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      updatedAt: freezed == updatedAt
          ? _value.updatedAt
          : updatedAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      zipcode: freezed == zipcode
          ? _value.zipcode
          : zipcode // ignore: cast_nullable_to_non_nullable
              as ZipcodeDto?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$WarehouseLocationDtoImpl extends _WarehouseLocationDto {
  const _$WarehouseLocationDtoImpl(
      {@JsonKey(name: 'Id') this.id,
      @JsonKey(name: 'Name') required this.name,
      @JsonKey(name: 'zipcodes_zipcode') this.zipcodesZipcode,
      @JsonKey(name: 'zipcode_address') this.zipcodeAddress,
      @JsonKey(name: 'Remark') this.remark,
      @JsonKey(name: 'is_deleted') this.isDeleted = false,
      @JsonKey(name: 'registered_at') this.registeredAt,
      @JsonKey(name: 'updated_at') this.updatedAt,
      @JsonKey(name: 'zipcode') this.zipcode})
      : super._();

  factory _$WarehouseLocationDtoImpl.fromJson(Map<String, dynamic> json) =>
      _$$WarehouseLocationDtoImplFromJson(json);

  @override
  @JsonKey(name: 'Id')
  final int? id;
  @override
  @JsonKey(name: 'Name')
  final String name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  final String? zipcodesZipcode;
  @override
  @JsonKey(name: 'zipcode_address')
  final String? zipcodeAddress;
  @override
  @JsonKey(name: 'Remark')
  final String? remark;
  @override
  @JsonKey(name: 'is_deleted')
  final bool isDeleted;
  @override
  @JsonKey(name: 'registered_at')
  final DateTime? registeredAt;
  @override
  @JsonKey(name: 'updated_at')
  final DateTime? updatedAt;
// Nested data (optional, populated in GET requests)
  @override
  @JsonKey(name: 'zipcode')
  final ZipcodeDto? zipcode;

  @override
  String toString() {
    return 'WarehouseLocationDto(id: $id, name: $name, zipcodesZipcode: $zipcodesZipcode, zipcodeAddress: $zipcodeAddress, remark: $remark, isDeleted: $isDeleted, registeredAt: $registeredAt, updatedAt: $updatedAt, zipcode: $zipcode)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$WarehouseLocationDtoImpl &&
            (identical(other.id, id) || other.id == id) &&
            (identical(other.name, name) || other.name == name) &&
            (identical(other.zipcodesZipcode, zipcodesZipcode) ||
                other.zipcodesZipcode == zipcodesZipcode) &&
            (identical(other.zipcodeAddress, zipcodeAddress) ||
                other.zipcodeAddress == zipcodeAddress) &&
            (identical(other.remark, remark) || other.remark == remark) &&
            (identical(other.isDeleted, isDeleted) ||
                other.isDeleted == isDeleted) &&
            (identical(other.registeredAt, registeredAt) ||
                other.registeredAt == registeredAt) &&
            (identical(other.updatedAt, updatedAt) ||
                other.updatedAt == updatedAt) &&
            (identical(other.zipcode, zipcode) || other.zipcode == zipcode));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, id, name, zipcodesZipcode,
      zipcodeAddress, remark, isDeleted, registeredAt, updatedAt, zipcode);

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$WarehouseLocationDtoImplCopyWith<_$WarehouseLocationDtoImpl>
      get copyWith =>
          __$$WarehouseLocationDtoImplCopyWithImpl<_$WarehouseLocationDtoImpl>(
              this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$WarehouseLocationDtoImplToJson(
      this,
    );
  }
}

abstract class _WarehouseLocationDto extends WarehouseLocationDto {
  const factory _WarehouseLocationDto(
          {@JsonKey(name: 'Id') final int? id,
          @JsonKey(name: 'Name') required final String name,
          @JsonKey(name: 'zipcodes_zipcode') final String? zipcodesZipcode,
          @JsonKey(name: 'zipcode_address') final String? zipcodeAddress,
          @JsonKey(name: 'Remark') final String? remark,
          @JsonKey(name: 'is_deleted') final bool isDeleted,
          @JsonKey(name: 'registered_at') final DateTime? registeredAt,
          @JsonKey(name: 'updated_at') final DateTime? updatedAt,
          @JsonKey(name: 'zipcode') final ZipcodeDto? zipcode}) =
      _$WarehouseLocationDtoImpl;
  const _WarehouseLocationDto._() : super._();

  factory _WarehouseLocationDto.fromJson(Map<String, dynamic> json) =
      _$WarehouseLocationDtoImpl.fromJson;

  @override
  @JsonKey(name: 'Id')
  int? get id;
  @override
  @JsonKey(name: 'Name')
  String get name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode;
  @override
  @JsonKey(name: 'zipcode_address')
  String? get zipcodeAddress;
  @override
  @JsonKey(name: 'Remark')
  String? get remark;
  @override
  @JsonKey(name: 'is_deleted')
  bool get isDeleted;
  @override
  @JsonKey(name: 'registered_at')
  DateTime? get registeredAt;
  @override
  @JsonKey(name: 'updated_at')
  DateTime? get updatedAt; // Nested data (optional, populated in GET requests)
  @override
  @JsonKey(name: 'zipcode')
  ZipcodeDto? get zipcode;

  /// Create a copy of WarehouseLocationDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$WarehouseLocationDtoImplCopyWith<_$WarehouseLocationDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

WarehouseLocationRequestDto _$WarehouseLocationRequestDtoFromJson(
    Map<String, dynamic> json) {
  return _WarehouseLocationRequestDto.fromJson(json);
}

/// @nodoc
mixin _$WarehouseLocationRequestDto {
  @JsonKey(name: 'Name')
  String get name => throw _privateConstructorUsedError;
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode => throw _privateConstructorUsedError;
  @JsonKey(name: 'Remark')
  String? get remark => throw _privateConstructorUsedError;

  /// Serializes this WarehouseLocationRequestDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of WarehouseLocationRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $WarehouseLocationRequestDtoCopyWith<WarehouseLocationRequestDto>
      get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $WarehouseLocationRequestDtoCopyWith<$Res> {
  factory $WarehouseLocationRequestDtoCopyWith(
          WarehouseLocationRequestDto value,
          $Res Function(WarehouseLocationRequestDto) then) =
      _$WarehouseLocationRequestDtoCopyWithImpl<$Res,
          WarehouseLocationRequestDto>;
  @useResult
  $Res call(
      {@JsonKey(name: 'Name') String name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'Remark') String? remark});
}

/// @nodoc
class _$WarehouseLocationRequestDtoCopyWithImpl<$Res,
        $Val extends WarehouseLocationRequestDto>
    implements $WarehouseLocationRequestDtoCopyWith<$Res> {
  _$WarehouseLocationRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of WarehouseLocationRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? name = null,
    Object? zipcodesZipcode = freezed,
    Object? remark = freezed,
  }) {
    return _then(_value.copyWith(
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$WarehouseLocationRequestDtoImplCopyWith<$Res>
    implements $WarehouseLocationRequestDtoCopyWith<$Res> {
  factory _$$WarehouseLocationRequestDtoImplCopyWith(
          _$WarehouseLocationRequestDtoImpl value,
          $Res Function(_$WarehouseLocationRequestDtoImpl) then) =
      __$$WarehouseLocationRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {@JsonKey(name: 'Name') String name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'Remark') String? remark});
}

/// @nodoc
class __$$WarehouseLocationRequestDtoImplCopyWithImpl<$Res>
    extends _$WarehouseLocationRequestDtoCopyWithImpl<$Res,
        _$WarehouseLocationRequestDtoImpl>
    implements _$$WarehouseLocationRequestDtoImplCopyWith<$Res> {
  __$$WarehouseLocationRequestDtoImplCopyWithImpl(
      _$WarehouseLocationRequestDtoImpl _value,
      $Res Function(_$WarehouseLocationRequestDtoImpl) _then)
      : super(_value, _then);

  /// Create a copy of WarehouseLocationRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? name = null,
    Object? zipcodesZipcode = freezed,
    Object? remark = freezed,
  }) {
    return _then(_$WarehouseLocationRequestDtoImpl(
      name: null == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$WarehouseLocationRequestDtoImpl
    implements _WarehouseLocationRequestDto {
  const _$WarehouseLocationRequestDtoImpl(
      {@JsonKey(name: 'Name') required this.name,
      @JsonKey(name: 'zipcodes_zipcode') this.zipcodesZipcode,
      @JsonKey(name: 'Remark') this.remark});

  factory _$WarehouseLocationRequestDtoImpl.fromJson(
          Map<String, dynamic> json) =>
      _$$WarehouseLocationRequestDtoImplFromJson(json);

  @override
  @JsonKey(name: 'Name')
  final String name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  final String? zipcodesZipcode;
  @override
  @JsonKey(name: 'Remark')
  final String? remark;

  @override
  String toString() {
    return 'WarehouseLocationRequestDto(name: $name, zipcodesZipcode: $zipcodesZipcode, remark: $remark)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$WarehouseLocationRequestDtoImpl &&
            (identical(other.name, name) || other.name == name) &&
            (identical(other.zipcodesZipcode, zipcodesZipcode) ||
                other.zipcodesZipcode == zipcodesZipcode) &&
            (identical(other.remark, remark) || other.remark == remark));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, name, zipcodesZipcode, remark);

  /// Create a copy of WarehouseLocationRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$WarehouseLocationRequestDtoImplCopyWith<_$WarehouseLocationRequestDtoImpl>
      get copyWith => __$$WarehouseLocationRequestDtoImplCopyWithImpl<
          _$WarehouseLocationRequestDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$WarehouseLocationRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _WarehouseLocationRequestDto
    implements WarehouseLocationRequestDto {
  const factory _WarehouseLocationRequestDto(
          {@JsonKey(name: 'Name') required final String name,
          @JsonKey(name: 'zipcodes_zipcode') final String? zipcodesZipcode,
          @JsonKey(name: 'Remark') final String? remark}) =
      _$WarehouseLocationRequestDtoImpl;

  factory _WarehouseLocationRequestDto.fromJson(Map<String, dynamic> json) =
      _$WarehouseLocationRequestDtoImpl.fromJson;

  @override
  @JsonKey(name: 'Name')
  String get name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode;
  @override
  @JsonKey(name: 'Remark')
  String? get remark;

  /// Create a copy of WarehouseLocationRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$WarehouseLocationRequestDtoImplCopyWith<_$WarehouseLocationRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

WarehouseLocationUpdateRequestDto _$WarehouseLocationUpdateRequestDtoFromJson(
    Map<String, dynamic> json) {
  return _WarehouseLocationUpdateRequestDto.fromJson(json);
}

/// @nodoc
mixin _$WarehouseLocationUpdateRequestDto {
  @JsonKey(name: 'Name')
  String? get name => throw _privateConstructorUsedError;
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode => throw _privateConstructorUsedError;
  @JsonKey(name: 'Remark')
  String? get remark => throw _privateConstructorUsedError;

  /// Serializes this WarehouseLocationUpdateRequestDto to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of WarehouseLocationUpdateRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $WarehouseLocationUpdateRequestDtoCopyWith<WarehouseLocationUpdateRequestDto>
      get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $WarehouseLocationUpdateRequestDtoCopyWith<$Res> {
  factory $WarehouseLocationUpdateRequestDtoCopyWith(
          WarehouseLocationUpdateRequestDto value,
          $Res Function(WarehouseLocationUpdateRequestDto) then) =
      _$WarehouseLocationUpdateRequestDtoCopyWithImpl<$Res,
          WarehouseLocationUpdateRequestDto>;
  @useResult
  $Res call(
      {@JsonKey(name: 'Name') String? name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'Remark') String? remark});
}

/// @nodoc
class _$WarehouseLocationUpdateRequestDtoCopyWithImpl<$Res,
        $Val extends WarehouseLocationUpdateRequestDto>
    implements $WarehouseLocationUpdateRequestDtoCopyWith<$Res> {
  _$WarehouseLocationUpdateRequestDtoCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of WarehouseLocationUpdateRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? name = freezed,
    Object? zipcodesZipcode = freezed,
    Object? remark = freezed,
  }) {
    return _then(_value.copyWith(
      name: freezed == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String?,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$WarehouseLocationUpdateRequestDtoImplCopyWith<$Res>
    implements $WarehouseLocationUpdateRequestDtoCopyWith<$Res> {
  factory _$$WarehouseLocationUpdateRequestDtoImplCopyWith(
          _$WarehouseLocationUpdateRequestDtoImpl value,
          $Res Function(_$WarehouseLocationUpdateRequestDtoImpl) then) =
      __$$WarehouseLocationUpdateRequestDtoImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {@JsonKey(name: 'Name') String? name,
      @JsonKey(name: 'zipcodes_zipcode') String? zipcodesZipcode,
      @JsonKey(name: 'Remark') String? remark});
}

/// @nodoc
class __$$WarehouseLocationUpdateRequestDtoImplCopyWithImpl<$Res>
    extends _$WarehouseLocationUpdateRequestDtoCopyWithImpl<$Res,
        _$WarehouseLocationUpdateRequestDtoImpl>
    implements _$$WarehouseLocationUpdateRequestDtoImplCopyWith<$Res> {
  __$$WarehouseLocationUpdateRequestDtoImplCopyWithImpl(
      _$WarehouseLocationUpdateRequestDtoImpl _value,
      $Res Function(_$WarehouseLocationUpdateRequestDtoImpl) _then)
      : super(_value, _then);

  /// Create a copy of WarehouseLocationUpdateRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? name = freezed,
    Object? zipcodesZipcode = freezed,
    Object? remark = freezed,
  }) {
    return _then(_$WarehouseLocationUpdateRequestDtoImpl(
      name: freezed == name
          ? _value.name
          : name // ignore: cast_nullable_to_non_nullable
              as String?,
      zipcodesZipcode: freezed == zipcodesZipcode
          ? _value.zipcodesZipcode
          : zipcodesZipcode // ignore: cast_nullable_to_non_nullable
              as String?,
      remark: freezed == remark
          ? _value.remark
          : remark // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$WarehouseLocationUpdateRequestDtoImpl
    implements _WarehouseLocationUpdateRequestDto {
  const _$WarehouseLocationUpdateRequestDtoImpl(
      {@JsonKey(name: 'Name') this.name,
      @JsonKey(name: 'zipcodes_zipcode') this.zipcodesZipcode,
      @JsonKey(name: 'Remark') this.remark});

  factory _$WarehouseLocationUpdateRequestDtoImpl.fromJson(
          Map<String, dynamic> json) =>
      _$$WarehouseLocationUpdateRequestDtoImplFromJson(json);

  @override
  @JsonKey(name: 'Name')
  final String? name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  final String? zipcodesZipcode;
  @override
  @JsonKey(name: 'Remark')
  final String? remark;

  @override
  String toString() {
    return 'WarehouseLocationUpdateRequestDto(name: $name, zipcodesZipcode: $zipcodesZipcode, remark: $remark)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$WarehouseLocationUpdateRequestDtoImpl &&
            (identical(other.name, name) || other.name == name) &&
            (identical(other.zipcodesZipcode, zipcodesZipcode) ||
                other.zipcodesZipcode == zipcodesZipcode) &&
            (identical(other.remark, remark) || other.remark == remark));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, name, zipcodesZipcode, remark);

  /// Create a copy of WarehouseLocationUpdateRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$WarehouseLocationUpdateRequestDtoImplCopyWith<
          _$WarehouseLocationUpdateRequestDtoImpl>
      get copyWith => __$$WarehouseLocationUpdateRequestDtoImplCopyWithImpl<
          _$WarehouseLocationUpdateRequestDtoImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$WarehouseLocationUpdateRequestDtoImplToJson(
      this,
    );
  }
}

abstract class _WarehouseLocationUpdateRequestDto
    implements WarehouseLocationUpdateRequestDto {
  const factory _WarehouseLocationUpdateRequestDto(
          {@JsonKey(name: 'Name') final String? name,
          @JsonKey(name: 'zipcodes_zipcode') final String? zipcodesZipcode,
          @JsonKey(name: 'Remark') final String? remark}) =
      _$WarehouseLocationUpdateRequestDtoImpl;

  factory _WarehouseLocationUpdateRequestDto.fromJson(
          Map<String, dynamic> json) =
      _$WarehouseLocationUpdateRequestDtoImpl.fromJson;

  @override
  @JsonKey(name: 'Name')
  String? get name;
  @override
  @JsonKey(name: 'zipcodes_zipcode')
  String? get zipcodesZipcode;
  @override
  @JsonKey(name: 'Remark')
  String? get remark;

  /// Create a copy of WarehouseLocationUpdateRequestDto
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$WarehouseLocationUpdateRequestDtoImplCopyWith<
          _$WarehouseLocationUpdateRequestDtoImpl>
      get copyWith => throw _privateConstructorUsedError;
}

WarehouseLocationListResponse _$WarehouseLocationListResponseFromJson(
    Map<String, dynamic> json) {
  return _WarehouseLocationListResponse.fromJson(json);
}

/// @nodoc
mixin _$WarehouseLocationListResponse {
  @JsonKey(name: 'data')
  List<WarehouseLocationDto> get items => throw _privateConstructorUsedError;
  @JsonKey(name: 'total')
  int get totalCount => throw _privateConstructorUsedError;
  @JsonKey(name: 'page')
  int get currentPage => throw _privateConstructorUsedError;
  @JsonKey(name: 'total_pages')
  int get totalPages => throw _privateConstructorUsedError;
  @JsonKey(name: 'page_size')
  int? get pageSize => throw _privateConstructorUsedError;

  /// Serializes this WarehouseLocationListResponse to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of WarehouseLocationListResponse
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $WarehouseLocationListResponseCopyWith<WarehouseLocationListResponse>
      get copyWith => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $WarehouseLocationListResponseCopyWith<$Res> {
  factory $WarehouseLocationListResponseCopyWith(
          WarehouseLocationListResponse value,
          $Res Function(WarehouseLocationListResponse) then) =
      _$WarehouseLocationListResponseCopyWithImpl<$Res,
          WarehouseLocationListResponse>;
  @useResult
  $Res call(
      {@JsonKey(name: 'data') List<WarehouseLocationDto> items,
      @JsonKey(name: 'total') int totalCount,
      @JsonKey(name: 'page') int currentPage,
      @JsonKey(name: 'total_pages') int totalPages,
      @JsonKey(name: 'page_size') int? pageSize});
}

/// @nodoc
class _$WarehouseLocationListResponseCopyWithImpl<$Res,
        $Val extends WarehouseLocationListResponse>
    implements $WarehouseLocationListResponseCopyWith<$Res> {
  _$WarehouseLocationListResponseCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of WarehouseLocationListResponse
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? items = null,
    Object? totalCount = null,
    Object? currentPage = null,
    Object? totalPages = null,
    Object? pageSize = freezed,
  }) {
    return _then(_value.copyWith(
      items: null == items
          ? _value.items
          : items // ignore: cast_nullable_to_non_nullable
              as List<WarehouseLocationDto>,
      totalCount: null == totalCount
          ? _value.totalCount
          : totalCount // ignore: cast_nullable_to_non_nullable
              as int,
      currentPage: null == currentPage
          ? _value.currentPage
          : currentPage // ignore: cast_nullable_to_non_nullable
              as int,
      totalPages: null == totalPages
          ? _value.totalPages
          : totalPages // ignore: cast_nullable_to_non_nullable
              as int,
      pageSize: freezed == pageSize
          ? _value.pageSize
          : pageSize // ignore: cast_nullable_to_non_nullable
              as int?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$WarehouseLocationListResponseImplCopyWith<$Res>
    implements $WarehouseLocationListResponseCopyWith<$Res> {
  factory _$$WarehouseLocationListResponseImplCopyWith(
          _$WarehouseLocationListResponseImpl value,
          $Res Function(_$WarehouseLocationListResponseImpl) then) =
      __$$WarehouseLocationListResponseImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {@JsonKey(name: 'data') List<WarehouseLocationDto> items,
      @JsonKey(name: 'total') int totalCount,
      @JsonKey(name: 'page') int currentPage,
      @JsonKey(name: 'total_pages') int totalPages,
      @JsonKey(name: 'page_size') int? pageSize});
}

/// @nodoc
class __$$WarehouseLocationListResponseImplCopyWithImpl<$Res>
    extends _$WarehouseLocationListResponseCopyWithImpl<$Res,
        _$WarehouseLocationListResponseImpl>
    implements _$$WarehouseLocationListResponseImplCopyWith<$Res> {
  __$$WarehouseLocationListResponseImplCopyWithImpl(
      _$WarehouseLocationListResponseImpl _value,
      $Res Function(_$WarehouseLocationListResponseImpl) _then)
      : super(_value, _then);

  /// Create a copy of WarehouseLocationListResponse
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? items = null,
    Object? totalCount = null,
    Object? currentPage = null,
    Object? totalPages = null,
    Object? pageSize = freezed,
  }) {
    return _then(_$WarehouseLocationListResponseImpl(
      items: null == items
          ? _value._items
          : items // ignore: cast_nullable_to_non_nullable
              as List<WarehouseLocationDto>,
      totalCount: null == totalCount
          ? _value.totalCount
          : totalCount // ignore: cast_nullable_to_non_nullable
              as int,
      currentPage: null == currentPage
          ? _value.currentPage
          : currentPage // ignore: cast_nullable_to_non_nullable
              as int,
      totalPages: null == totalPages
          ? _value.totalPages
          : totalPages // ignore: cast_nullable_to_non_nullable
              as int,
      pageSize: freezed == pageSize
          ? _value.pageSize
          : pageSize // ignore: cast_nullable_to_non_nullable
              as int?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$WarehouseLocationListResponseImpl
    implements _WarehouseLocationListResponse {
  const _$WarehouseLocationListResponseImpl(
      {@JsonKey(name: 'data') required final List<WarehouseLocationDto> items,
      @JsonKey(name: 'total') required this.totalCount,
      @JsonKey(name: 'page') required this.currentPage,
      @JsonKey(name: 'total_pages') required this.totalPages,
      @JsonKey(name: 'page_size') this.pageSize})
      : _items = items;

  factory _$WarehouseLocationListResponseImpl.fromJson(
          Map<String, dynamic> json) =>
      _$$WarehouseLocationListResponseImplFromJson(json);

  final List<WarehouseLocationDto> _items;
  @override
  @JsonKey(name: 'data')
  List<WarehouseLocationDto> get items {
    if (_items is EqualUnmodifiableListView) return _items;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableListView(_items);
  }

  @override
  @JsonKey(name: 'total')
  final int totalCount;
  @override
  @JsonKey(name: 'page')
  final int currentPage;
  @override
  @JsonKey(name: 'total_pages')
  final int totalPages;
  @override
  @JsonKey(name: 'page_size')
  final int? pageSize;

  @override
  String toString() {
    return 'WarehouseLocationListResponse(items: $items, totalCount: $totalCount, currentPage: $currentPage, totalPages: $totalPages, pageSize: $pageSize)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$WarehouseLocationListResponseImpl &&
            const DeepCollectionEquality().equals(other._items, _items) &&
            (identical(other.totalCount, totalCount) ||
                other.totalCount == totalCount) &&
            (identical(other.currentPage, currentPage) ||
                other.currentPage == currentPage) &&
            (identical(other.totalPages, totalPages) ||
                other.totalPages == totalPages) &&
            (identical(other.pageSize, pageSize) ||
                other.pageSize == pageSize));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(
      runtimeType,
      const DeepCollectionEquality().hash(_items),
      totalCount,
      currentPage,
      totalPages,
      pageSize);

  /// Create a copy of WarehouseLocationListResponse
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$WarehouseLocationListResponseImplCopyWith<
          _$WarehouseLocationListResponseImpl>
      get copyWith => __$$WarehouseLocationListResponseImplCopyWithImpl<
          _$WarehouseLocationListResponseImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$WarehouseLocationListResponseImplToJson(
      this,
    );
  }
}

abstract class _WarehouseLocationListResponse
    implements WarehouseLocationListResponse {
  const factory _WarehouseLocationListResponse(
      {@JsonKey(name: 'data') required final List<WarehouseLocationDto> items,
      @JsonKey(name: 'total') required final int totalCount,
      @JsonKey(name: 'page') required final int currentPage,
      @JsonKey(name: 'total_pages') required final int totalPages,
      @JsonKey(name: 'page_size')
      final int? pageSize}) = _$WarehouseLocationListResponseImpl;

  factory _WarehouseLocationListResponse.fromJson(Map<String, dynamic> json) =
      _$WarehouseLocationListResponseImpl.fromJson;

  @override
  @JsonKey(name: 'data')
  List<WarehouseLocationDto> get items;
  @override
  @JsonKey(name: 'total')
  int get totalCount;
  @override
  @JsonKey(name: 'page')
  int get currentPage;
  @override
  @JsonKey(name: 'total_pages')
  int get totalPages;
  @override
  @JsonKey(name: 'page_size')
  int? get pageSize;

  /// Create a copy of WarehouseLocationListResponse
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$WarehouseLocationListResponseImplCopyWith<
          _$WarehouseLocationListResponseImpl>
      get copyWith => throw _privateConstructorUsedError;
}
