// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// 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 'device_entity.dart';

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

// dart format off
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$DeviceEntity {

 String get id; String get identificator; int? get battery; String? get userId; String? get companyId; String? get delegationId; String? get groupId; DeviceFlagsEntity get flags; List<String>? get tags; int? get lastConnection; String? get carrierGenre; int? get carrierBirthday; double? get carrierWeight; double? get carrierStepLength; String get carrierName; String? get comment; String? get phone; String? get simId; String? get simStatus; DevicePaymentOptionsEntity? get paymentOptions; DeviceSettingsEntity get settings; String get protocol; String get type; String get connectionServer; DeviceCapabilitiesEntity? get capabilities; int get createdAt; int? get updatedAt;
/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceEntityCopyWith<DeviceEntity> get copyWith => _$DeviceEntityCopyWithImpl<DeviceEntity>(this as DeviceEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&(identical(other.flags, flags) || other.flags == flags)&&const DeepCollectionEquality().equals(other.tags, tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&(identical(other.simStatus, simStatus) || other.simStatus == simStatus)&&(identical(other.paymentOptions, paymentOptions) || other.paymentOptions == paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
}


@override
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,flags,const DeepCollectionEquality().hash(tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,simStatus,paymentOptions,settings,protocol,type,connectionServer,capabilities,createdAt,updatedAt]);

@override
String toString() {
  return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, simStatus: $simStatus, paymentOptions: $paymentOptions, settings: $settings, protocol: $protocol, type: $type, connectionServer: $connectionServer, capabilities: $capabilities, createdAt: $createdAt, updatedAt: $updatedAt)';
}


}

/// @nodoc
abstract mixin class $DeviceEntityCopyWith<$Res>  {
  factory $DeviceEntityCopyWith(DeviceEntity value, $Res Function(DeviceEntity) _then) = _$DeviceEntityCopyWithImpl;
@useResult
$Res call({
 String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, DeviceFlagsEntity flags, List<String>? tags, int? lastConnection, String? carrierGenre, int? carrierBirthday, double? carrierWeight, double? carrierStepLength, String carrierName, String? comment, String? phone, String? simId, String? simStatus, DevicePaymentOptionsEntity? paymentOptions, DeviceSettingsEntity settings, String protocol, String type, String connectionServer, DeviceCapabilitiesEntity? capabilities, int createdAt, int? updatedAt
});


$DeviceFlagsEntityCopyWith<$Res> get flags;$DevicePaymentOptionsEntityCopyWith<$Res>? get paymentOptions;$DeviceSettingsEntityCopyWith<$Res> get settings;$DeviceCapabilitiesEntityCopyWith<$Res>? get capabilities;

}
/// @nodoc
class _$DeviceEntityCopyWithImpl<$Res>
    implements $DeviceEntityCopyWith<$Res> {
  _$DeviceEntityCopyWithImpl(this._self, this._then);

  final DeviceEntity _self;
  final $Res Function(DeviceEntity) _then;

/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = null,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? simStatus = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? protocol = null,Object? type = null,Object? connectionServer = null,Object? capabilities = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
  return _then(_self.copyWith(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,identificator: null == identificator ? _self.identificator : identificator // ignore: cast_nullable_to_non_nullable
as String,battery: freezed == battery ? _self.battery : battery // ignore: cast_nullable_to_non_nullable
as int?,userId: freezed == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable
as String?,companyId: freezed == companyId ? _self.companyId : companyId // ignore: cast_nullable_to_non_nullable
as String?,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable
as String?,groupId: freezed == groupId ? _self.groupId : groupId // ignore: cast_nullable_to_non_nullable
as String?,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable
as DeviceFlagsEntity,tags: freezed == tags ? _self.tags : tags // ignore: cast_nullable_to_non_nullable
as List<String>?,lastConnection: freezed == lastConnection ? _self.lastConnection : lastConnection // ignore: cast_nullable_to_non_nullable
as int?,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable
as String?,carrierBirthday: freezed == carrierBirthday ? _self.carrierBirthday : carrierBirthday // ignore: cast_nullable_to_non_nullable
as int?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable
as double?,carrierStepLength: freezed == carrierStepLength ? _self.carrierStepLength : carrierStepLength // ignore: cast_nullable_to_non_nullable
as double?,carrierName: null == carrierName ? _self.carrierName : carrierName // ignore: cast_nullable_to_non_nullable
as String,comment: freezed == comment ? _self.comment : comment // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as String?,simId: freezed == simId ? _self.simId : simId // ignore: cast_nullable_to_non_nullable
as String?,simStatus: freezed == simStatus ? _self.simStatus : simStatus // ignore: cast_nullable_to_non_nullable
as String?,paymentOptions: freezed == paymentOptions ? _self.paymentOptions : paymentOptions // ignore: cast_nullable_to_non_nullable
as DevicePaymentOptionsEntity?,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable
as DeviceSettingsEntity,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable
as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable
as String,capabilities: freezed == capabilities ? _self.capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesEntity?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable
as int,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}
/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceFlagsEntityCopyWith<$Res> get flags {
  
  return $DeviceFlagsEntityCopyWith<$Res>(_self.flags, (value) {
    return _then(_self.copyWith(flags: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DevicePaymentOptionsEntityCopyWith<$Res>? get paymentOptions {
    if (_self.paymentOptions == null) {
    return null;
  }

  return $DevicePaymentOptionsEntityCopyWith<$Res>(_self.paymentOptions!, (value) {
    return _then(_self.copyWith(paymentOptions: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceSettingsEntityCopyWith<$Res> get settings {
  
  return $DeviceSettingsEntityCopyWith<$Res>(_self.settings, (value) {
    return _then(_self.copyWith(settings: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesEntityCopyWith<$Res>? get capabilities {
    if (_self.capabilities == null) {
    return null;
  }

  return $DeviceCapabilitiesEntityCopyWith<$Res>(_self.capabilities!, (value) {
    return _then(_self.copyWith(capabilities: value));
  });
}
}


/// Adds pattern-matching-related methods to [DeviceEntity].
extension DeviceEntityPatterns on DeviceEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String id,  String identificator,  int? battery,  String? userId,  String? companyId,  String? delegationId,  String? groupId,  DeviceFlagsEntity flags,  List<String>? tags,  int? lastConnection,  String? carrierGenre,  int? carrierBirthday,  double? carrierWeight,  double? carrierStepLength,  String carrierName,  String? comment,  String? phone,  String? simId,  String? simStatus,  DevicePaymentOptionsEntity? paymentOptions,  DeviceSettingsEntity settings,  String protocol,  String type,  String connectionServer,  DeviceCapabilitiesEntity? capabilities,  int createdAt,  int? updatedAt)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.simStatus,_that.paymentOptions,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.capabilities,_that.createdAt,_that.updatedAt);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String id,  String identificator,  int? battery,  String? userId,  String? companyId,  String? delegationId,  String? groupId,  DeviceFlagsEntity flags,  List<String>? tags,  int? lastConnection,  String? carrierGenre,  int? carrierBirthday,  double? carrierWeight,  double? carrierStepLength,  String carrierName,  String? comment,  String? phone,  String? simId,  String? simStatus,  DevicePaymentOptionsEntity? paymentOptions,  DeviceSettingsEntity settings,  String protocol,  String type,  String connectionServer,  DeviceCapabilitiesEntity? capabilities,  int createdAt,  int? updatedAt)  $default,) {final _that = this;
switch (_that) {
case _DeviceEntity():
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.simStatus,_that.paymentOptions,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.capabilities,_that.createdAt,_that.updatedAt);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String id,  String identificator,  int? battery,  String? userId,  String? companyId,  String? delegationId,  String? groupId,  DeviceFlagsEntity flags,  List<String>? tags,  int? lastConnection,  String? carrierGenre,  int? carrierBirthday,  double? carrierWeight,  double? carrierStepLength,  String carrierName,  String? comment,  String? phone,  String? simId,  String? simStatus,  DevicePaymentOptionsEntity? paymentOptions,  DeviceSettingsEntity settings,  String protocol,  String type,  String connectionServer,  DeviceCapabilitiesEntity? capabilities,  int createdAt,  int? updatedAt)?  $default,) {final _that = this;
switch (_that) {
case _DeviceEntity() when $default != null:
return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.companyId,_that.delegationId,_that.groupId,_that.flags,_that.tags,_that.lastConnection,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.comment,_that.phone,_that.simId,_that.simStatus,_that.paymentOptions,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.capabilities,_that.createdAt,_that.updatedAt);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceEntity implements DeviceEntity {
  const _DeviceEntity({required this.id, required this.identificator, this.battery, this.userId, this.companyId, this.delegationId, this.groupId, required this.flags, final  List<String>? tags, this.lastConnection, this.carrierGenre, this.carrierBirthday, this.carrierWeight, this.carrierStepLength, required this.carrierName, this.comment, this.phone, this.simId, this.simStatus, this.paymentOptions, required this.settings, required this.protocol, required this.type, required this.connectionServer, this.capabilities, required this.createdAt, this.updatedAt}): _tags = tags;
  

@override final  String id;
@override final  String identificator;
@override final  int? battery;
@override final  String? userId;
@override final  String? companyId;
@override final  String? delegationId;
@override final  String? groupId;
@override final  DeviceFlagsEntity flags;
 final  List<String>? _tags;
@override List<String>? get tags {
  final value = _tags;
  if (value == null) return null;
  if (_tags is EqualUnmodifiableListView) return _tags;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

@override final  int? lastConnection;
@override final  String? carrierGenre;
@override final  int? carrierBirthday;
@override final  double? carrierWeight;
@override final  double? carrierStepLength;
@override final  String carrierName;
@override final  String? comment;
@override final  String? phone;
@override final  String? simId;
@override final  String? simStatus;
@override final  DevicePaymentOptionsEntity? paymentOptions;
@override final  DeviceSettingsEntity settings;
@override final  String protocol;
@override final  String type;
@override final  String connectionServer;
@override final  DeviceCapabilitiesEntity? capabilities;
@override final  int createdAt;
@override final  int? updatedAt;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.companyId, companyId) || other.companyId == companyId)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.groupId, groupId) || other.groupId == groupId)&&(identical(other.flags, flags) || other.flags == flags)&&const DeepCollectionEquality().equals(other._tags, _tags)&&(identical(other.lastConnection, lastConnection) || other.lastConnection == lastConnection)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.comment, comment) || other.comment == comment)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.simId, simId) || other.simId == simId)&&(identical(other.simStatus, simStatus) || other.simStatus == simStatus)&&(identical(other.paymentOptions, paymentOptions) || other.paymentOptions == paymentOptions)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.capabilities, capabilities) || other.capabilities == capabilities)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt));
}


@override
int get hashCode => Object.hashAll([runtimeType,id,identificator,battery,userId,companyId,delegationId,groupId,flags,const DeepCollectionEquality().hash(_tags),lastConnection,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,comment,phone,simId,simStatus,paymentOptions,settings,protocol,type,connectionServer,capabilities,createdAt,updatedAt]);

@override
String toString() {
  return 'DeviceEntity(id: $id, identificator: $identificator, battery: $battery, userId: $userId, companyId: $companyId, delegationId: $delegationId, groupId: $groupId, flags: $flags, tags: $tags, lastConnection: $lastConnection, carrierGenre: $carrierGenre, carrierBirthday: $carrierBirthday, carrierWeight: $carrierWeight, carrierStepLength: $carrierStepLength, carrierName: $carrierName, comment: $comment, phone: $phone, simId: $simId, simStatus: $simStatus, paymentOptions: $paymentOptions, settings: $settings, protocol: $protocol, type: $type, connectionServer: $connectionServer, capabilities: $capabilities, createdAt: $createdAt, updatedAt: $updatedAt)';
}


}

/// @nodoc
abstract mixin class _$DeviceEntityCopyWith<$Res> implements $DeviceEntityCopyWith<$Res> {
  factory _$DeviceEntityCopyWith(_DeviceEntity value, $Res Function(_DeviceEntity) _then) = __$DeviceEntityCopyWithImpl;
@override @useResult
$Res call({
 String id, String identificator, int? battery, String? userId, String? companyId, String? delegationId, String? groupId, DeviceFlagsEntity flags, List<String>? tags, int? lastConnection, String? carrierGenre, int? carrierBirthday, double? carrierWeight, double? carrierStepLength, String carrierName, String? comment, String? phone, String? simId, String? simStatus, DevicePaymentOptionsEntity? paymentOptions, DeviceSettingsEntity settings, String protocol, String type, String connectionServer, DeviceCapabilitiesEntity? capabilities, int createdAt, int? updatedAt
});


@override $DeviceFlagsEntityCopyWith<$Res> get flags;@override $DevicePaymentOptionsEntityCopyWith<$Res>? get paymentOptions;@override $DeviceSettingsEntityCopyWith<$Res> get settings;@override $DeviceCapabilitiesEntityCopyWith<$Res>? get capabilities;

}
/// @nodoc
class __$DeviceEntityCopyWithImpl<$Res>
    implements _$DeviceEntityCopyWith<$Res> {
  __$DeviceEntityCopyWithImpl(this._self, this._then);

  final _DeviceEntity _self;
  final $Res Function(_DeviceEntity) _then;

/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? identificator = null,Object? battery = freezed,Object? userId = freezed,Object? companyId = freezed,Object? delegationId = freezed,Object? groupId = freezed,Object? flags = null,Object? tags = freezed,Object? lastConnection = freezed,Object? carrierGenre = freezed,Object? carrierBirthday = freezed,Object? carrierWeight = freezed,Object? carrierStepLength = freezed,Object? carrierName = null,Object? comment = freezed,Object? phone = freezed,Object? simId = freezed,Object? simStatus = freezed,Object? paymentOptions = freezed,Object? settings = null,Object? protocol = null,Object? type = null,Object? connectionServer = null,Object? capabilities = freezed,Object? createdAt = null,Object? updatedAt = freezed,}) {
  return _then(_DeviceEntity(
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String,identificator: null == identificator ? _self.identificator : identificator // ignore: cast_nullable_to_non_nullable
as String,battery: freezed == battery ? _self.battery : battery // ignore: cast_nullable_to_non_nullable
as int?,userId: freezed == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable
as String?,companyId: freezed == companyId ? _self.companyId : companyId // ignore: cast_nullable_to_non_nullable
as String?,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable
as String?,groupId: freezed == groupId ? _self.groupId : groupId // ignore: cast_nullable_to_non_nullable
as String?,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable
as DeviceFlagsEntity,tags: freezed == tags ? _self._tags : tags // ignore: cast_nullable_to_non_nullable
as List<String>?,lastConnection: freezed == lastConnection ? _self.lastConnection : lastConnection // ignore: cast_nullable_to_non_nullable
as int?,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable
as String?,carrierBirthday: freezed == carrierBirthday ? _self.carrierBirthday : carrierBirthday // ignore: cast_nullable_to_non_nullable
as int?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable
as double?,carrierStepLength: freezed == carrierStepLength ? _self.carrierStepLength : carrierStepLength // ignore: cast_nullable_to_non_nullable
as double?,carrierName: null == carrierName ? _self.carrierName : carrierName // ignore: cast_nullable_to_non_nullable
as String,comment: freezed == comment ? _self.comment : comment // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as String?,simId: freezed == simId ? _self.simId : simId // ignore: cast_nullable_to_non_nullable
as String?,simStatus: freezed == simStatus ? _self.simStatus : simStatus // ignore: cast_nullable_to_non_nullable
as String?,paymentOptions: freezed == paymentOptions ? _self.paymentOptions : paymentOptions // ignore: cast_nullable_to_non_nullable
as DevicePaymentOptionsEntity?,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable
as DeviceSettingsEntity,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable
as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable
as String,capabilities: freezed == capabilities ? _self.capabilities : capabilities // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesEntity?,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable
as int,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}

/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceFlagsEntityCopyWith<$Res> get flags {
  
  return $DeviceFlagsEntityCopyWith<$Res>(_self.flags, (value) {
    return _then(_self.copyWith(flags: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DevicePaymentOptionsEntityCopyWith<$Res>? get paymentOptions {
    if (_self.paymentOptions == null) {
    return null;
  }

  return $DevicePaymentOptionsEntityCopyWith<$Res>(_self.paymentOptions!, (value) {
    return _then(_self.copyWith(paymentOptions: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceSettingsEntityCopyWith<$Res> get settings {
  
  return $DeviceSettingsEntityCopyWith<$Res>(_self.settings, (value) {
    return _then(_self.copyWith(settings: value));
  });
}/// Create a copy of DeviceEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesEntityCopyWith<$Res>? get capabilities {
    if (_self.capabilities == null) {
    return null;
  }

  return $DeviceCapabilitiesEntityCopyWith<$Res>(_self.capabilities!, (value) {
    return _then(_self.copyWith(capabilities: value));
  });
}
}

/// @nodoc
mixin _$DeviceFlagsEntity {

 String get isInOrOut; String? get geofenceId; bool get isBatteryLow; bool get isDisconnect;
/// Create a copy of DeviceFlagsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceFlagsEntityCopyWith<DeviceFlagsEntity> get copyWith => _$DeviceFlagsEntityCopyWithImpl<DeviceFlagsEntity>(this as DeviceFlagsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceFlagsEntity&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect));
}


@override
int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect);

@override
String toString() {
  return 'DeviceFlagsEntity(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)';
}


}

/// @nodoc
abstract mixin class $DeviceFlagsEntityCopyWith<$Res>  {
  factory $DeviceFlagsEntityCopyWith(DeviceFlagsEntity value, $Res Function(DeviceFlagsEntity) _then) = _$DeviceFlagsEntityCopyWithImpl;
@useResult
$Res call({
 String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect
});




}
/// @nodoc
class _$DeviceFlagsEntityCopyWithImpl<$Res>
    implements $DeviceFlagsEntityCopyWith<$Res> {
  _$DeviceFlagsEntityCopyWithImpl(this._self, this._then);

  final DeviceFlagsEntity _self;
  final $Res Function(DeviceFlagsEntity) _then;

/// Create a copy of DeviceFlagsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? isInOrOut = null,Object? geofenceId = freezed,Object? isBatteryLow = null,Object? isDisconnect = null,}) {
  return _then(_self.copyWith(
isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable
as String,geofenceId: freezed == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable
as String?,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable
as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceFlagsEntity].
extension DeviceFlagsEntityPatterns on DeviceFlagsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceFlagsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceFlagsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceFlagsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceFlagsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceFlagsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceFlagsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String isInOrOut,  String? geofenceId,  bool isBatteryLow,  bool isDisconnect)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceFlagsEntity() when $default != null:
return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String isInOrOut,  String? geofenceId,  bool isBatteryLow,  bool isDisconnect)  $default,) {final _that = this;
switch (_that) {
case _DeviceFlagsEntity():
return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String isInOrOut,  String? geofenceId,  bool isBatteryLow,  bool isDisconnect)?  $default,) {final _that = this;
switch (_that) {
case _DeviceFlagsEntity() when $default != null:
return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceFlagsEntity implements DeviceFlagsEntity {
  const _DeviceFlagsEntity({required this.isInOrOut, this.geofenceId, required this.isBatteryLow, required this.isDisconnect});
  

@override final  String isInOrOut;
@override final  String? geofenceId;
@override final  bool isBatteryLow;
@override final  bool isDisconnect;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceFlagsEntity&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect));
}


@override
int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect);

@override
String toString() {
  return 'DeviceFlagsEntity(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)';
}


}

/// @nodoc
abstract mixin class _$DeviceFlagsEntityCopyWith<$Res> implements $DeviceFlagsEntityCopyWith<$Res> {
  factory _$DeviceFlagsEntityCopyWith(_DeviceFlagsEntity value, $Res Function(_DeviceFlagsEntity) _then) = __$DeviceFlagsEntityCopyWithImpl;
@override @useResult
$Res call({
 String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect
});




}
/// @nodoc
class __$DeviceFlagsEntityCopyWithImpl<$Res>
    implements _$DeviceFlagsEntityCopyWith<$Res> {
  __$DeviceFlagsEntityCopyWithImpl(this._self, this._then);

  final _DeviceFlagsEntity _self;
  final $Res Function(_DeviceFlagsEntity) _then;

/// Create a copy of DeviceFlagsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? isInOrOut = null,Object? geofenceId = freezed,Object? isBatteryLow = null,Object? isDisconnect = null,}) {
  return _then(_DeviceFlagsEntity(
isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable
as String,geofenceId: freezed == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable
as String?,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable
as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}


}

/// @nodoc
mixin _$DevicePaymentOptionsEntity {

 int? get nextPayDate; bool get usePayment; String get typeSubscription; bool get hasSubscription; bool get hasToPay;
/// Create a copy of DevicePaymentOptionsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DevicePaymentOptionsEntityCopyWith<DevicePaymentOptionsEntity> get copyWith => _$DevicePaymentOptionsEntityCopyWithImpl<DevicePaymentOptionsEntity>(this as DevicePaymentOptionsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DevicePaymentOptionsEntity&&(identical(other.nextPayDate, nextPayDate) || other.nextPayDate == nextPayDate)&&(identical(other.usePayment, usePayment) || other.usePayment == usePayment)&&(identical(other.typeSubscription, typeSubscription) || other.typeSubscription == typeSubscription)&&(identical(other.hasSubscription, hasSubscription) || other.hasSubscription == hasSubscription)&&(identical(other.hasToPay, hasToPay) || other.hasToPay == hasToPay));
}


@override
int get hashCode => Object.hash(runtimeType,nextPayDate,usePayment,typeSubscription,hasSubscription,hasToPay);

@override
String toString() {
  return 'DevicePaymentOptionsEntity(nextPayDate: $nextPayDate, usePayment: $usePayment, typeSubscription: $typeSubscription, hasSubscription: $hasSubscription, hasToPay: $hasToPay)';
}


}

/// @nodoc
abstract mixin class $DevicePaymentOptionsEntityCopyWith<$Res>  {
  factory $DevicePaymentOptionsEntityCopyWith(DevicePaymentOptionsEntity value, $Res Function(DevicePaymentOptionsEntity) _then) = _$DevicePaymentOptionsEntityCopyWithImpl;
@useResult
$Res call({
 int? nextPayDate, bool usePayment, String typeSubscription, bool hasSubscription, bool hasToPay
});




}
/// @nodoc
class _$DevicePaymentOptionsEntityCopyWithImpl<$Res>
    implements $DevicePaymentOptionsEntityCopyWith<$Res> {
  _$DevicePaymentOptionsEntityCopyWithImpl(this._self, this._then);

  final DevicePaymentOptionsEntity _self;
  final $Res Function(DevicePaymentOptionsEntity) _then;

/// Create a copy of DevicePaymentOptionsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? nextPayDate = freezed,Object? usePayment = null,Object? typeSubscription = null,Object? hasSubscription = null,Object? hasToPay = null,}) {
  return _then(_self.copyWith(
nextPayDate: freezed == nextPayDate ? _self.nextPayDate : nextPayDate // ignore: cast_nullable_to_non_nullable
as int?,usePayment: null == usePayment ? _self.usePayment : usePayment // ignore: cast_nullable_to_non_nullable
as bool,typeSubscription: null == typeSubscription ? _self.typeSubscription : typeSubscription // ignore: cast_nullable_to_non_nullable
as String,hasSubscription: null == hasSubscription ? _self.hasSubscription : hasSubscription // ignore: cast_nullable_to_non_nullable
as bool,hasToPay: null == hasToPay ? _self.hasToPay : hasToPay // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}

}


/// Adds pattern-matching-related methods to [DevicePaymentOptionsEntity].
extension DevicePaymentOptionsEntityPatterns on DevicePaymentOptionsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DevicePaymentOptionsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DevicePaymentOptionsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DevicePaymentOptionsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( int? nextPayDate,  bool usePayment,  String typeSubscription,  bool hasSubscription,  bool hasToPay)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity() when $default != null:
return $default(_that.nextPayDate,_that.usePayment,_that.typeSubscription,_that.hasSubscription,_that.hasToPay);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( int? nextPayDate,  bool usePayment,  String typeSubscription,  bool hasSubscription,  bool hasToPay)  $default,) {final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity():
return $default(_that.nextPayDate,_that.usePayment,_that.typeSubscription,_that.hasSubscription,_that.hasToPay);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( int? nextPayDate,  bool usePayment,  String typeSubscription,  bool hasSubscription,  bool hasToPay)?  $default,) {final _that = this;
switch (_that) {
case _DevicePaymentOptionsEntity() when $default != null:
return $default(_that.nextPayDate,_that.usePayment,_that.typeSubscription,_that.hasSubscription,_that.hasToPay);case _:
  return null;

}
}

}

/// @nodoc


class _DevicePaymentOptionsEntity implements DevicePaymentOptionsEntity {
  const _DevicePaymentOptionsEntity({this.nextPayDate, required this.usePayment, required this.typeSubscription, required this.hasSubscription, required this.hasToPay});
  

@override final  int? nextPayDate;
@override final  bool usePayment;
@override final  String typeSubscription;
@override final  bool hasSubscription;
@override final  bool hasToPay;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DevicePaymentOptionsEntity&&(identical(other.nextPayDate, nextPayDate) || other.nextPayDate == nextPayDate)&&(identical(other.usePayment, usePayment) || other.usePayment == usePayment)&&(identical(other.typeSubscription, typeSubscription) || other.typeSubscription == typeSubscription)&&(identical(other.hasSubscription, hasSubscription) || other.hasSubscription == hasSubscription)&&(identical(other.hasToPay, hasToPay) || other.hasToPay == hasToPay));
}


@override
int get hashCode => Object.hash(runtimeType,nextPayDate,usePayment,typeSubscription,hasSubscription,hasToPay);

@override
String toString() {
  return 'DevicePaymentOptionsEntity(nextPayDate: $nextPayDate, usePayment: $usePayment, typeSubscription: $typeSubscription, hasSubscription: $hasSubscription, hasToPay: $hasToPay)';
}


}

/// @nodoc
abstract mixin class _$DevicePaymentOptionsEntityCopyWith<$Res> implements $DevicePaymentOptionsEntityCopyWith<$Res> {
  factory _$DevicePaymentOptionsEntityCopyWith(_DevicePaymentOptionsEntity value, $Res Function(_DevicePaymentOptionsEntity) _then) = __$DevicePaymentOptionsEntityCopyWithImpl;
@override @useResult
$Res call({
 int? nextPayDate, bool usePayment, String typeSubscription, bool hasSubscription, bool hasToPay
});




}
/// @nodoc
class __$DevicePaymentOptionsEntityCopyWithImpl<$Res>
    implements _$DevicePaymentOptionsEntityCopyWith<$Res> {
  __$DevicePaymentOptionsEntityCopyWithImpl(this._self, this._then);

  final _DevicePaymentOptionsEntity _self;
  final $Res Function(_DevicePaymentOptionsEntity) _then;

/// Create a copy of DevicePaymentOptionsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? nextPayDate = freezed,Object? usePayment = null,Object? typeSubscription = null,Object? hasSubscription = null,Object? hasToPay = null,}) {
  return _then(_DevicePaymentOptionsEntity(
nextPayDate: freezed == nextPayDate ? _self.nextPayDate : nextPayDate // ignore: cast_nullable_to_non_nullable
as int?,usePayment: null == usePayment ? _self.usePayment : usePayment // ignore: cast_nullable_to_non_nullable
as bool,typeSubscription: null == typeSubscription ? _self.typeSubscription : typeSubscription // ignore: cast_nullable_to_non_nullable
as String,hasSubscription: null == hasSubscription ? _self.hasSubscription : hasSubscription // ignore: cast_nullable_to_non_nullable
as bool,hasToPay: null == hasToPay ? _self.hasToPay : hasToPay // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}


}

/// @nodoc
mixin _$DeviceSettingsEntity {

 int get frequency; int get frequencyHeartRate; int get timezone; bool get pedometer; String get language; List<String> get alerts;
/// Create a copy of DeviceSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceSettingsEntityCopyWith<DeviceSettingsEntity> get copyWith => _$DeviceSettingsEntityCopyWithImpl<DeviceSettingsEntity>(this as DeviceSettingsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceSettingsEntity&&(identical(other.frequency, frequency) || other.frequency == frequency)&&(identical(other.frequencyHeartRate, frequencyHeartRate) || other.frequencyHeartRate == frequencyHeartRate)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.pedometer, pedometer) || other.pedometer == pedometer)&&(identical(other.language, language) || other.language == language)&&const DeepCollectionEquality().equals(other.alerts, alerts));
}


@override
int get hashCode => Object.hash(runtimeType,frequency,frequencyHeartRate,timezone,pedometer,language,const DeepCollectionEquality().hash(alerts));

@override
String toString() {
  return 'DeviceSettingsEntity(frequency: $frequency, frequencyHeartRate: $frequencyHeartRate, timezone: $timezone, pedometer: $pedometer, language: $language, alerts: $alerts)';
}


}

/// @nodoc
abstract mixin class $DeviceSettingsEntityCopyWith<$Res>  {
  factory $DeviceSettingsEntityCopyWith(DeviceSettingsEntity value, $Res Function(DeviceSettingsEntity) _then) = _$DeviceSettingsEntityCopyWithImpl;
@useResult
$Res call({
 int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List<String> alerts
});




}
/// @nodoc
class _$DeviceSettingsEntityCopyWithImpl<$Res>
    implements $DeviceSettingsEntityCopyWith<$Res> {
  _$DeviceSettingsEntityCopyWithImpl(this._self, this._then);

  final DeviceSettingsEntity _self;
  final $Res Function(DeviceSettingsEntity) _then;

/// Create a copy of DeviceSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? frequency = null,Object? frequencyHeartRate = null,Object? timezone = null,Object? pedometer = null,Object? language = null,Object? alerts = null,}) {
  return _then(_self.copyWith(
frequency: null == frequency ? _self.frequency : frequency // ignore: cast_nullable_to_non_nullable
as int,frequencyHeartRate: null == frequencyHeartRate ? _self.frequencyHeartRate : frequencyHeartRate // ignore: cast_nullable_to_non_nullable
as int,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable
as int,pedometer: null == pedometer ? _self.pedometer : pedometer // ignore: cast_nullable_to_non_nullable
as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable
as String,alerts: null == alerts ? _self.alerts : alerts // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceSettingsEntity].
extension DeviceSettingsEntityPatterns on DeviceSettingsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceSettingsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceSettingsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceSettingsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceSettingsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceSettingsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceSettingsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( int frequency,  int frequencyHeartRate,  int timezone,  bool pedometer,  String language,  List<String> alerts)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceSettingsEntity() when $default != null:
return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( int frequency,  int frequencyHeartRate,  int timezone,  bool pedometer,  String language,  List<String> alerts)  $default,) {final _that = this;
switch (_that) {
case _DeviceSettingsEntity():
return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( int frequency,  int frequencyHeartRate,  int timezone,  bool pedometer,  String language,  List<String> alerts)?  $default,) {final _that = this;
switch (_that) {
case _DeviceSettingsEntity() when $default != null:
return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceSettingsEntity implements DeviceSettingsEntity {
  const _DeviceSettingsEntity({required this.frequency, required this.frequencyHeartRate, required this.timezone, required this.pedometer, required this.language, required final  List<String> alerts}): _alerts = alerts;
  

@override final  int frequency;
@override final  int frequencyHeartRate;
@override final  int timezone;
@override final  bool pedometer;
@override final  String language;
 final  List<String> _alerts;
@override List<String> get alerts {
  if (_alerts is EqualUnmodifiableListView) return _alerts;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(_alerts);
}


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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceSettingsEntity&&(identical(other.frequency, frequency) || other.frequency == frequency)&&(identical(other.frequencyHeartRate, frequencyHeartRate) || other.frequencyHeartRate == frequencyHeartRate)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.pedometer, pedometer) || other.pedometer == pedometer)&&(identical(other.language, language) || other.language == language)&&const DeepCollectionEquality().equals(other._alerts, _alerts));
}


@override
int get hashCode => Object.hash(runtimeType,frequency,frequencyHeartRate,timezone,pedometer,language,const DeepCollectionEquality().hash(_alerts));

@override
String toString() {
  return 'DeviceSettingsEntity(frequency: $frequency, frequencyHeartRate: $frequencyHeartRate, timezone: $timezone, pedometer: $pedometer, language: $language, alerts: $alerts)';
}


}

/// @nodoc
abstract mixin class _$DeviceSettingsEntityCopyWith<$Res> implements $DeviceSettingsEntityCopyWith<$Res> {
  factory _$DeviceSettingsEntityCopyWith(_DeviceSettingsEntity value, $Res Function(_DeviceSettingsEntity) _then) = __$DeviceSettingsEntityCopyWithImpl;
@override @useResult
$Res call({
 int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List<String> alerts
});




}
/// @nodoc
class __$DeviceSettingsEntityCopyWithImpl<$Res>
    implements _$DeviceSettingsEntityCopyWith<$Res> {
  __$DeviceSettingsEntityCopyWithImpl(this._self, this._then);

  final _DeviceSettingsEntity _self;
  final $Res Function(_DeviceSettingsEntity) _then;

/// Create a copy of DeviceSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? frequency = null,Object? frequencyHeartRate = null,Object? timezone = null,Object? pedometer = null,Object? language = null,Object? alerts = null,}) {
  return _then(_DeviceSettingsEntity(
frequency: null == frequency ? _self.frequency : frequency // ignore: cast_nullable_to_non_nullable
as int,frequencyHeartRate: null == frequencyHeartRate ? _self.frequencyHeartRate : frequencyHeartRate // ignore: cast_nullable_to_non_nullable
as int,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable
as int,pedometer: null == pedometer ? _self.pedometer : pedometer // ignore: cast_nullable_to_non_nullable
as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable
as String,alerts: null == alerts ? _self._alerts : alerts // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}


}

/// @nodoc
mixin _$DeviceCapabilitiesEntity {

 bool get heartbeats; bool get bloodPressure; DeviceCapabilitiesAlertEntity get alerts; bool get podometer; DeviceCapabilitiesContactsEntity get contacts; DeviceCapabilitiesCommandsEntity get commands; DeviceCapabilitiesSettingsEntity get settings;
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesEntityCopyWith<DeviceCapabilitiesEntity> get copyWith => _$DeviceCapabilitiesEntityCopyWithImpl<DeviceCapabilitiesEntity>(this as DeviceCapabilitiesEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.settings, settings) || other.settings == settings));
}


@override
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,commands,settings);

@override
String toString() {
  return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, commands: $commands, settings: $settings)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesEntityCopyWith(DeviceCapabilitiesEntity value, $Res Function(DeviceCapabilitiesEntity) _then) = _$DeviceCapabilitiesEntityCopyWithImpl;
@useResult
$Res call({
 bool heartbeats, bool bloodPressure, DeviceCapabilitiesAlertEntity alerts, bool podometer, DeviceCapabilitiesContactsEntity contacts, DeviceCapabilitiesCommandsEntity commands, DeviceCapabilitiesSettingsEntity settings
});


$DeviceCapabilitiesAlertEntityCopyWith<$Res> get alerts;$DeviceCapabilitiesContactsEntityCopyWith<$Res> get contacts;$DeviceCapabilitiesCommandsEntityCopyWith<$Res> get commands;$DeviceCapabilitiesSettingsEntityCopyWith<$Res> get settings;

}
/// @nodoc
class _$DeviceCapabilitiesEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesEntityCopyWith<$Res> {
  _$DeviceCapabilitiesEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesEntity _self;
  final $Res Function(DeviceCapabilitiesEntity) _then;

/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? heartbeats = null,Object? bloodPressure = null,Object? alerts = null,Object? podometer = null,Object? contacts = null,Object? commands = null,Object? settings = null,}) {
  return _then(_self.copyWith(
heartbeats: null == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as bool,bloodPressure: null == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
as bool,alerts: null == alerts ? _self.alerts : alerts // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesAlertEntity,podometer: null == podometer ? _self.podometer : podometer // ignore: cast_nullable_to_non_nullable
as bool,contacts: null == contacts ? _self.contacts : contacts // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesContactsEntity,commands: null == commands ? _self.commands : commands // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesCommandsEntity,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesSettingsEntity,
  ));
}
/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesAlertEntityCopyWith<$Res> get alerts {
  
  return $DeviceCapabilitiesAlertEntityCopyWith<$Res>(_self.alerts, (value) {
    return _then(_self.copyWith(alerts: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesContactsEntityCopyWith<$Res> get contacts {
  
  return $DeviceCapabilitiesContactsEntityCopyWith<$Res>(_self.contacts, (value) {
    return _then(_self.copyWith(contacts: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesCommandsEntityCopyWith<$Res> get commands {
  
  return $DeviceCapabilitiesCommandsEntityCopyWith<$Res>(_self.commands, (value) {
    return _then(_self.copyWith(commands: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesSettingsEntityCopyWith<$Res> get settings {
  
  return $DeviceCapabilitiesSettingsEntityCopyWith<$Res>(_self.settings, (value) {
    return _then(_self.copyWith(settings: value));
  });
}
}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesEntity].
extension DeviceCapabilitiesEntityPatterns on DeviceCapabilitiesEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( bool heartbeats,  bool bloodPressure,  DeviceCapabilitiesAlertEntity alerts,  bool podometer,  DeviceCapabilitiesContactsEntity contacts,  DeviceCapabilitiesCommandsEntity commands,  DeviceCapabilitiesSettingsEntity settings)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.commands,_that.settings);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( bool heartbeats,  bool bloodPressure,  DeviceCapabilitiesAlertEntity alerts,  bool podometer,  DeviceCapabilitiesContactsEntity contacts,  DeviceCapabilitiesCommandsEntity commands,  DeviceCapabilitiesSettingsEntity settings)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity():
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.commands,_that.settings);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( bool heartbeats,  bool bloodPressure,  DeviceCapabilitiesAlertEntity alerts,  bool podometer,  DeviceCapabilitiesContactsEntity contacts,  DeviceCapabilitiesCommandsEntity commands,  DeviceCapabilitiesSettingsEntity settings)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesEntity() when $default != null:
return $default(_that.heartbeats,_that.bloodPressure,_that.alerts,_that.podometer,_that.contacts,_that.commands,_that.settings);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesEntity implements DeviceCapabilitiesEntity {
  const _DeviceCapabilitiesEntity({required this.heartbeats, required this.bloodPressure, required this.alerts, required this.podometer, required this.contacts, required this.commands, required this.settings});
  

@override final  bool heartbeats;
@override final  bool bloodPressure;
@override final  DeviceCapabilitiesAlertEntity alerts;
@override final  bool podometer;
@override final  DeviceCapabilitiesContactsEntity contacts;
@override final  DeviceCapabilitiesCommandsEntity commands;
@override final  DeviceCapabilitiesSettingsEntity settings;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesEntity&&(identical(other.heartbeats, heartbeats) || other.heartbeats == heartbeats)&&(identical(other.bloodPressure, bloodPressure) || other.bloodPressure == bloodPressure)&&(identical(other.alerts, alerts) || other.alerts == alerts)&&(identical(other.podometer, podometer) || other.podometer == podometer)&&(identical(other.contacts, contacts) || other.contacts == contacts)&&(identical(other.commands, commands) || other.commands == commands)&&(identical(other.settings, settings) || other.settings == settings));
}


@override
int get hashCode => Object.hash(runtimeType,heartbeats,bloodPressure,alerts,podometer,contacts,commands,settings);

@override
String toString() {
  return 'DeviceCapabilitiesEntity(heartbeats: $heartbeats, bloodPressure: $bloodPressure, alerts: $alerts, podometer: $podometer, contacts: $contacts, commands: $commands, settings: $settings)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesEntityCopyWith<$Res> implements $DeviceCapabilitiesEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesEntityCopyWith(_DeviceCapabilitiesEntity value, $Res Function(_DeviceCapabilitiesEntity) _then) = __$DeviceCapabilitiesEntityCopyWithImpl;
@override @useResult
$Res call({
 bool heartbeats, bool bloodPressure, DeviceCapabilitiesAlertEntity alerts, bool podometer, DeviceCapabilitiesContactsEntity contacts, DeviceCapabilitiesCommandsEntity commands, DeviceCapabilitiesSettingsEntity settings
});


@override $DeviceCapabilitiesAlertEntityCopyWith<$Res> get alerts;@override $DeviceCapabilitiesContactsEntityCopyWith<$Res> get contacts;@override $DeviceCapabilitiesCommandsEntityCopyWith<$Res> get commands;@override $DeviceCapabilitiesSettingsEntityCopyWith<$Res> get settings;

}
/// @nodoc
class __$DeviceCapabilitiesEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesEntityCopyWith<$Res> {
  __$DeviceCapabilitiesEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesEntity _self;
  final $Res Function(_DeviceCapabilitiesEntity) _then;

/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? heartbeats = null,Object? bloodPressure = null,Object? alerts = null,Object? podometer = null,Object? contacts = null,Object? commands = null,Object? settings = null,}) {
  return _then(_DeviceCapabilitiesEntity(
heartbeats: null == heartbeats ? _self.heartbeats : heartbeats // ignore: cast_nullable_to_non_nullable
as bool,bloodPressure: null == bloodPressure ? _self.bloodPressure : bloodPressure // ignore: cast_nullable_to_non_nullable
as bool,alerts: null == alerts ? _self.alerts : alerts // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesAlertEntity,podometer: null == podometer ? _self.podometer : podometer // ignore: cast_nullable_to_non_nullable
as bool,contacts: null == contacts ? _self.contacts : contacts // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesContactsEntity,commands: null == commands ? _self.commands : commands // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesCommandsEntity,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable
as DeviceCapabilitiesSettingsEntity,
  ));
}

/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesAlertEntityCopyWith<$Res> get alerts {
  
  return $DeviceCapabilitiesAlertEntityCopyWith<$Res>(_self.alerts, (value) {
    return _then(_self.copyWith(alerts: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesContactsEntityCopyWith<$Res> get contacts {
  
  return $DeviceCapabilitiesContactsEntityCopyWith<$Res>(_self.contacts, (value) {
    return _then(_self.copyWith(contacts: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesCommandsEntityCopyWith<$Res> get commands {
  
  return $DeviceCapabilitiesCommandsEntityCopyWith<$Res>(_self.commands, (value) {
    return _then(_self.copyWith(commands: value));
  });
}/// Create a copy of DeviceCapabilitiesEntity
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$DeviceCapabilitiesSettingsEntityCopyWith<$Res> get settings {
  
  return $DeviceCapabilitiesSettingsEntityCopyWith<$Res>(_self.settings, (value) {
    return _then(_self.copyWith(settings: value));
  });
}
}

/// @nodoc
mixin _$DeviceCapabilitiesAlertEntity {

 bool get enabled; List<String> get types;
/// Create a copy of DeviceCapabilitiesAlertEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesAlertEntityCopyWith<DeviceCapabilitiesAlertEntity> get copyWith => _$DeviceCapabilitiesAlertEntityCopyWithImpl<DeviceCapabilitiesAlertEntity>(this as DeviceCapabilitiesAlertEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesAlertEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other.types, types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(types));

@override
String toString() {
  return 'DeviceCapabilitiesAlertEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesAlertEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesAlertEntityCopyWith(DeviceCapabilitiesAlertEntity value, $Res Function(DeviceCapabilitiesAlertEntity) _then) = _$DeviceCapabilitiesAlertEntityCopyWithImpl;
@useResult
$Res call({
 bool enabled, List<String> types
});




}
/// @nodoc
class _$DeviceCapabilitiesAlertEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesAlertEntityCopyWith<$Res> {
  _$DeviceCapabilitiesAlertEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesAlertEntity _self;
  final $Res Function(DeviceCapabilitiesAlertEntity) _then;

/// Create a copy of DeviceCapabilitiesAlertEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_self.copyWith(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self.types : types // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesAlertEntity].
extension DeviceCapabilitiesAlertEntityPatterns on DeviceCapabilitiesAlertEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesAlertEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesAlertEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesAlertEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( bool enabled,  List<String> types)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( bool enabled,  List<String> types)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity():
return $default(_that.enabled,_that.types);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( bool enabled,  List<String> types)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesAlertEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesAlertEntity implements DeviceCapabilitiesAlertEntity {
  const _DeviceCapabilitiesAlertEntity({required this.enabled, required final  List<String> types}): _types = types;
  

@override final  bool enabled;
 final  List<String> _types;
@override List<String> get types {
  if (_types is EqualUnmodifiableListView) return _types;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(_types);
}


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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesAlertEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other._types, _types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(_types));

@override
String toString() {
  return 'DeviceCapabilitiesAlertEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesAlertEntityCopyWith<$Res> implements $DeviceCapabilitiesAlertEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesAlertEntityCopyWith(_DeviceCapabilitiesAlertEntity value, $Res Function(_DeviceCapabilitiesAlertEntity) _then) = __$DeviceCapabilitiesAlertEntityCopyWithImpl;
@override @useResult
$Res call({
 bool enabled, List<String> types
});




}
/// @nodoc
class __$DeviceCapabilitiesAlertEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesAlertEntityCopyWith<$Res> {
  __$DeviceCapabilitiesAlertEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesAlertEntity _self;
  final $Res Function(_DeviceCapabilitiesAlertEntity) _then;

/// Create a copy of DeviceCapabilitiesAlertEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_DeviceCapabilitiesAlertEntity(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self._types : types // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}


}

/// @nodoc
mixin _$DeviceCapabilitiesContactsEntity {

 bool get enabled; List<DeviceCapabilitiesContactTypeEntity> get types;
/// Create a copy of DeviceCapabilitiesContactsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesContactsEntityCopyWith<DeviceCapabilitiesContactsEntity> get copyWith => _$DeviceCapabilitiesContactsEntityCopyWithImpl<DeviceCapabilitiesContactsEntity>(this as DeviceCapabilitiesContactsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesContactsEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other.types, types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(types));

@override
String toString() {
  return 'DeviceCapabilitiesContactsEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesContactsEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesContactsEntityCopyWith(DeviceCapabilitiesContactsEntity value, $Res Function(DeviceCapabilitiesContactsEntity) _then) = _$DeviceCapabilitiesContactsEntityCopyWithImpl;
@useResult
$Res call({
 bool enabled, List<DeviceCapabilitiesContactTypeEntity> types
});




}
/// @nodoc
class _$DeviceCapabilitiesContactsEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesContactsEntityCopyWith<$Res> {
  _$DeviceCapabilitiesContactsEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesContactsEntity _self;
  final $Res Function(DeviceCapabilitiesContactsEntity) _then;

/// Create a copy of DeviceCapabilitiesContactsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_self.copyWith(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self.types : types // ignore: cast_nullable_to_non_nullable
as List<DeviceCapabilitiesContactTypeEntity>,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesContactsEntity].
extension DeviceCapabilitiesContactsEntityPatterns on DeviceCapabilitiesContactsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesContactsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesContactsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesContactsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( bool enabled,  List<DeviceCapabilitiesContactTypeEntity> types)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( bool enabled,  List<DeviceCapabilitiesContactTypeEntity> types)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity():
return $default(_that.enabled,_that.types);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( bool enabled,  List<DeviceCapabilitiesContactTypeEntity> types)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactsEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesContactsEntity implements DeviceCapabilitiesContactsEntity {
  const _DeviceCapabilitiesContactsEntity({required this.enabled, required final  List<DeviceCapabilitiesContactTypeEntity> types}): _types = types;
  

@override final  bool enabled;
 final  List<DeviceCapabilitiesContactTypeEntity> _types;
@override List<DeviceCapabilitiesContactTypeEntity> get types {
  if (_types is EqualUnmodifiableListView) return _types;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(_types);
}


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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesContactsEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other._types, _types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(_types));

@override
String toString() {
  return 'DeviceCapabilitiesContactsEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesContactsEntityCopyWith<$Res> implements $DeviceCapabilitiesContactsEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesContactsEntityCopyWith(_DeviceCapabilitiesContactsEntity value, $Res Function(_DeviceCapabilitiesContactsEntity) _then) = __$DeviceCapabilitiesContactsEntityCopyWithImpl;
@override @useResult
$Res call({
 bool enabled, List<DeviceCapabilitiesContactTypeEntity> types
});




}
/// @nodoc
class __$DeviceCapabilitiesContactsEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesContactsEntityCopyWith<$Res> {
  __$DeviceCapabilitiesContactsEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesContactsEntity _self;
  final $Res Function(_DeviceCapabilitiesContactsEntity) _then;

/// Create a copy of DeviceCapabilitiesContactsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_DeviceCapabilitiesContactsEntity(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self._types : types // ignore: cast_nullable_to_non_nullable
as List<DeviceCapabilitiesContactTypeEntity>,
  ));
}


}

/// @nodoc
mixin _$DeviceCapabilitiesContactTypeEntity {

 String get type; int get amount;
/// Create a copy of DeviceCapabilitiesContactTypeEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesContactTypeEntityCopyWith<DeviceCapabilitiesContactTypeEntity> get copyWith => _$DeviceCapabilitiesContactTypeEntityCopyWithImpl<DeviceCapabilitiesContactTypeEntity>(this as DeviceCapabilitiesContactTypeEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesContactTypeEntity&&(identical(other.type, type) || other.type == type)&&(identical(other.amount, amount) || other.amount == amount));
}


@override
int get hashCode => Object.hash(runtimeType,type,amount);

@override
String toString() {
  return 'DeviceCapabilitiesContactTypeEntity(type: $type, amount: $amount)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesContactTypeEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesContactTypeEntityCopyWith(DeviceCapabilitiesContactTypeEntity value, $Res Function(DeviceCapabilitiesContactTypeEntity) _then) = _$DeviceCapabilitiesContactTypeEntityCopyWithImpl;
@useResult
$Res call({
 String type, int amount
});




}
/// @nodoc
class _$DeviceCapabilitiesContactTypeEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesContactTypeEntityCopyWith<$Res> {
  _$DeviceCapabilitiesContactTypeEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesContactTypeEntity _self;
  final $Res Function(DeviceCapabilitiesContactTypeEntity) _then;

/// Create a copy of DeviceCapabilitiesContactTypeEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? type = null,Object? amount = null,}) {
  return _then(_self.copyWith(
type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,amount: null == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesContactTypeEntity].
extension DeviceCapabilitiesContactTypeEntityPatterns on DeviceCapabilitiesContactTypeEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesContactTypeEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesContactTypeEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesContactTypeEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String type,  int amount)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity() when $default != null:
return $default(_that.type,_that.amount);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String type,  int amount)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity():
return $default(_that.type,_that.amount);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String type,  int amount)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesContactTypeEntity() when $default != null:
return $default(_that.type,_that.amount);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesContactTypeEntity implements DeviceCapabilitiesContactTypeEntity {
  const _DeviceCapabilitiesContactTypeEntity({required this.type, required this.amount});
  

@override final  String type;
@override final  int amount;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesContactTypeEntity&&(identical(other.type, type) || other.type == type)&&(identical(other.amount, amount) || other.amount == amount));
}


@override
int get hashCode => Object.hash(runtimeType,type,amount);

@override
String toString() {
  return 'DeviceCapabilitiesContactTypeEntity(type: $type, amount: $amount)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesContactTypeEntityCopyWith<$Res> implements $DeviceCapabilitiesContactTypeEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesContactTypeEntityCopyWith(_DeviceCapabilitiesContactTypeEntity value, $Res Function(_DeviceCapabilitiesContactTypeEntity) _then) = __$DeviceCapabilitiesContactTypeEntityCopyWithImpl;
@override @useResult
$Res call({
 String type, int amount
});




}
/// @nodoc
class __$DeviceCapabilitiesContactTypeEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesContactTypeEntityCopyWith<$Res> {
  __$DeviceCapabilitiesContactTypeEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesContactTypeEntity _self;
  final $Res Function(_DeviceCapabilitiesContactTypeEntity) _then;

/// Create a copy of DeviceCapabilitiesContactTypeEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? type = null,Object? amount = null,}) {
  return _then(_DeviceCapabilitiesContactTypeEntity(
type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String,amount: null == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int,
  ));
}


}

/// @nodoc
mixin _$DeviceCapabilitiesCommandsEntity {

 bool get enabled; List<String> get types;
/// Create a copy of DeviceCapabilitiesCommandsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesCommandsEntityCopyWith<DeviceCapabilitiesCommandsEntity> get copyWith => _$DeviceCapabilitiesCommandsEntityCopyWithImpl<DeviceCapabilitiesCommandsEntity>(this as DeviceCapabilitiesCommandsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesCommandsEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other.types, types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(types));

@override
String toString() {
  return 'DeviceCapabilitiesCommandsEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesCommandsEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesCommandsEntityCopyWith(DeviceCapabilitiesCommandsEntity value, $Res Function(DeviceCapabilitiesCommandsEntity) _then) = _$DeviceCapabilitiesCommandsEntityCopyWithImpl;
@useResult
$Res call({
 bool enabled, List<String> types
});




}
/// @nodoc
class _$DeviceCapabilitiesCommandsEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesCommandsEntityCopyWith<$Res> {
  _$DeviceCapabilitiesCommandsEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesCommandsEntity _self;
  final $Res Function(DeviceCapabilitiesCommandsEntity) _then;

/// Create a copy of DeviceCapabilitiesCommandsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_self.copyWith(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self.types : types // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesCommandsEntity].
extension DeviceCapabilitiesCommandsEntityPatterns on DeviceCapabilitiesCommandsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesCommandsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesCommandsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesCommandsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( bool enabled,  List<String> types)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( bool enabled,  List<String> types)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity():
return $default(_that.enabled,_that.types);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( bool enabled,  List<String> types)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesCommandsEntity() when $default != null:
return $default(_that.enabled,_that.types);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesCommandsEntity implements DeviceCapabilitiesCommandsEntity {
  const _DeviceCapabilitiesCommandsEntity({required this.enabled, required final  List<String> types}): _types = types;
  

@override final  bool enabled;
 final  List<String> _types;
@override List<String> get types {
  if (_types is EqualUnmodifiableListView) return _types;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(_types);
}


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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesCommandsEntity&&(identical(other.enabled, enabled) || other.enabled == enabled)&&const DeepCollectionEquality().equals(other._types, _types));
}


@override
int get hashCode => Object.hash(runtimeType,enabled,const DeepCollectionEquality().hash(_types));

@override
String toString() {
  return 'DeviceCapabilitiesCommandsEntity(enabled: $enabled, types: $types)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesCommandsEntityCopyWith<$Res> implements $DeviceCapabilitiesCommandsEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesCommandsEntityCopyWith(_DeviceCapabilitiesCommandsEntity value, $Res Function(_DeviceCapabilitiesCommandsEntity) _then) = __$DeviceCapabilitiesCommandsEntityCopyWithImpl;
@override @useResult
$Res call({
 bool enabled, List<String> types
});




}
/// @nodoc
class __$DeviceCapabilitiesCommandsEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesCommandsEntityCopyWith<$Res> {
  __$DeviceCapabilitiesCommandsEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesCommandsEntity _self;
  final $Res Function(_DeviceCapabilitiesCommandsEntity) _then;

/// Create a copy of DeviceCapabilitiesCommandsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? enabled = null,Object? types = null,}) {
  return _then(_DeviceCapabilitiesCommandsEntity(
enabled: null == enabled ? _self.enabled : enabled // ignore: cast_nullable_to_non_nullable
as bool,types: null == types ? _self._types : types // ignore: cast_nullable_to_non_nullable
as List<String>,
  ));
}


}

/// @nodoc
mixin _$DeviceCapabilitiesSettingsEntity {

 bool get locationFrequency; bool get timezone; bool get language;
/// Create a copy of DeviceCapabilitiesSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$DeviceCapabilitiesSettingsEntityCopyWith<DeviceCapabilitiesSettingsEntity> get copyWith => _$DeviceCapabilitiesSettingsEntityCopyWithImpl<DeviceCapabilitiesSettingsEntity>(this as DeviceCapabilitiesSettingsEntity, _$identity);



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is DeviceCapabilitiesSettingsEntity&&(identical(other.locationFrequency, locationFrequency) || other.locationFrequency == locationFrequency)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.language, language) || other.language == language));
}


@override
int get hashCode => Object.hash(runtimeType,locationFrequency,timezone,language);

@override
String toString() {
  return 'DeviceCapabilitiesSettingsEntity(locationFrequency: $locationFrequency, timezone: $timezone, language: $language)';
}


}

/// @nodoc
abstract mixin class $DeviceCapabilitiesSettingsEntityCopyWith<$Res>  {
  factory $DeviceCapabilitiesSettingsEntityCopyWith(DeviceCapabilitiesSettingsEntity value, $Res Function(DeviceCapabilitiesSettingsEntity) _then) = _$DeviceCapabilitiesSettingsEntityCopyWithImpl;
@useResult
$Res call({
 bool locationFrequency, bool timezone, bool language
});




}
/// @nodoc
class _$DeviceCapabilitiesSettingsEntityCopyWithImpl<$Res>
    implements $DeviceCapabilitiesSettingsEntityCopyWith<$Res> {
  _$DeviceCapabilitiesSettingsEntityCopyWithImpl(this._self, this._then);

  final DeviceCapabilitiesSettingsEntity _self;
  final $Res Function(DeviceCapabilitiesSettingsEntity) _then;

/// Create a copy of DeviceCapabilitiesSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? locationFrequency = null,Object? timezone = null,Object? language = null,}) {
  return _then(_self.copyWith(
locationFrequency: null == locationFrequency ? _self.locationFrequency : locationFrequency // ignore: cast_nullable_to_non_nullable
as bool,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable
as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}

}


/// Adds pattern-matching-related methods to [DeviceCapabilitiesSettingsEntity].
extension DeviceCapabilitiesSettingsEntityPatterns on DeviceCapabilitiesSettingsEntity {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _DeviceCapabilitiesSettingsEntity value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _DeviceCapabilitiesSettingsEntity value)  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _DeviceCapabilitiesSettingsEntity value)?  $default,){
final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( bool locationFrequency,  bool timezone,  bool language)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity() when $default != null:
return $default(_that.locationFrequency,_that.timezone,_that.language);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( bool locationFrequency,  bool timezone,  bool language)  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity():
return $default(_that.locationFrequency,_that.timezone,_that.language);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( bool locationFrequency,  bool timezone,  bool language)?  $default,) {final _that = this;
switch (_that) {
case _DeviceCapabilitiesSettingsEntity() when $default != null:
return $default(_that.locationFrequency,_that.timezone,_that.language);case _:
  return null;

}
}

}

/// @nodoc


class _DeviceCapabilitiesSettingsEntity implements DeviceCapabilitiesSettingsEntity {
  const _DeviceCapabilitiesSettingsEntity({required this.locationFrequency, required this.timezone, required this.language});
  

@override final  bool locationFrequency;
@override final  bool timezone;
@override final  bool language;

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



@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _DeviceCapabilitiesSettingsEntity&&(identical(other.locationFrequency, locationFrequency) || other.locationFrequency == locationFrequency)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.language, language) || other.language == language));
}


@override
int get hashCode => Object.hash(runtimeType,locationFrequency,timezone,language);

@override
String toString() {
  return 'DeviceCapabilitiesSettingsEntity(locationFrequency: $locationFrequency, timezone: $timezone, language: $language)';
}


}

/// @nodoc
abstract mixin class _$DeviceCapabilitiesSettingsEntityCopyWith<$Res> implements $DeviceCapabilitiesSettingsEntityCopyWith<$Res> {
  factory _$DeviceCapabilitiesSettingsEntityCopyWith(_DeviceCapabilitiesSettingsEntity value, $Res Function(_DeviceCapabilitiesSettingsEntity) _then) = __$DeviceCapabilitiesSettingsEntityCopyWithImpl;
@override @useResult
$Res call({
 bool locationFrequency, bool timezone, bool language
});




}
/// @nodoc
class __$DeviceCapabilitiesSettingsEntityCopyWithImpl<$Res>
    implements _$DeviceCapabilitiesSettingsEntityCopyWith<$Res> {
  __$DeviceCapabilitiesSettingsEntityCopyWithImpl(this._self, this._then);

  final _DeviceCapabilitiesSettingsEntity _self;
  final $Res Function(_DeviceCapabilitiesSettingsEntity) _then;

/// Create a copy of DeviceCapabilitiesSettingsEntity
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? locationFrequency = null,Object? timezone = null,Object? language = null,}) {
  return _then(_DeviceCapabilitiesSettingsEntity(
locationFrequency: null == locationFrequency ? _self.locationFrequency : locationFrequency // ignore: cast_nullable_to_non_nullable
as bool,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable
as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable
as bool,
  ));
}


}

// dart format on
