// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'job.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', ); Job _$JobFromJson(Map json) { return _Job.fromJson(json); } /// @nodoc mixin _$Job { String get id => throw _privateConstructorUsedError; JobTipi get tipi => throw _privateConstructorUsedError; String? get filmId => throw _privateConstructorUsedError; String? get sahneId => throw _privateConstructorUsedError; String? get karakterId => throw _privateConstructorUsedError; KuyrukDurumu get durum => throw _privateConstructorUsedError; double get ilerleme => throw _privateConstructorUsedError; // 0..1 String get faz => throw _privateConstructorUsedError; int get baslangicMs => throw _privateConstructorUsedError; // millisecondsSinceEpoch int? get bitisMs => throw _privateConstructorUsedError; String? get hata => throw _privateConstructorUsedError; List get ciktiYollari => throw _privateConstructorUsedError; /// Sağlayıcı bilgisi, köprü job_id'si, token kullanımı vs. Map get meta => throw _privateConstructorUsedError; /// Serializes this Job to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of Job /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $JobCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $JobCopyWith<$Res> { factory $JobCopyWith(Job value, $Res Function(Job) then) = _$JobCopyWithImpl<$Res, Job>; @useResult $Res call({ String id, JobTipi tipi, String? filmId, String? sahneId, String? karakterId, KuyrukDurumu durum, double ilerleme, String faz, int baslangicMs, int? bitisMs, String? hata, List ciktiYollari, Map meta, }); } /// @nodoc class _$JobCopyWithImpl<$Res, $Val extends Job> implements $JobCopyWith<$Res> { _$JobCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of Job /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? tipi = null, Object? filmId = freezed, Object? sahneId = freezed, Object? karakterId = freezed, Object? durum = null, Object? ilerleme = null, Object? faz = null, Object? baslangicMs = null, Object? bitisMs = freezed, Object? hata = freezed, Object? ciktiYollari = null, Object? meta = null, }) { return _then( _value.copyWith( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as JobTipi, filmId: freezed == filmId ? _value.filmId : filmId // ignore: cast_nullable_to_non_nullable as String?, sahneId: freezed == sahneId ? _value.sahneId : sahneId // ignore: cast_nullable_to_non_nullable as String?, karakterId: freezed == karakterId ? _value.karakterId : karakterId // ignore: cast_nullable_to_non_nullable as String?, durum: null == durum ? _value.durum : durum // ignore: cast_nullable_to_non_nullable as KuyrukDurumu, ilerleme: null == ilerleme ? _value.ilerleme : ilerleme // ignore: cast_nullable_to_non_nullable as double, faz: null == faz ? _value.faz : faz // ignore: cast_nullable_to_non_nullable as String, baslangicMs: null == baslangicMs ? _value.baslangicMs : baslangicMs // ignore: cast_nullable_to_non_nullable as int, bitisMs: freezed == bitisMs ? _value.bitisMs : bitisMs // ignore: cast_nullable_to_non_nullable as int?, hata: freezed == hata ? _value.hata : hata // ignore: cast_nullable_to_non_nullable as String?, ciktiYollari: null == ciktiYollari ? _value.ciktiYollari : ciktiYollari // ignore: cast_nullable_to_non_nullable as List, meta: null == meta ? _value.meta : meta // ignore: cast_nullable_to_non_nullable as Map, ) as $Val, ); } } /// @nodoc abstract class _$$JobImplCopyWith<$Res> implements $JobCopyWith<$Res> { factory _$$JobImplCopyWith(_$JobImpl value, $Res Function(_$JobImpl) then) = __$$JobImplCopyWithImpl<$Res>; @override @useResult $Res call({ String id, JobTipi tipi, String? filmId, String? sahneId, String? karakterId, KuyrukDurumu durum, double ilerleme, String faz, int baslangicMs, int? bitisMs, String? hata, List ciktiYollari, Map meta, }); } /// @nodoc class __$$JobImplCopyWithImpl<$Res> extends _$JobCopyWithImpl<$Res, _$JobImpl> implements _$$JobImplCopyWith<$Res> { __$$JobImplCopyWithImpl(_$JobImpl _value, $Res Function(_$JobImpl) _then) : super(_value, _then); /// Create a copy of Job /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? id = null, Object? tipi = null, Object? filmId = freezed, Object? sahneId = freezed, Object? karakterId = freezed, Object? durum = null, Object? ilerleme = null, Object? faz = null, Object? baslangicMs = null, Object? bitisMs = freezed, Object? hata = freezed, Object? ciktiYollari = null, Object? meta = null, }) { return _then( _$JobImpl( id: null == id ? _value.id : id // ignore: cast_nullable_to_non_nullable as String, tipi: null == tipi ? _value.tipi : tipi // ignore: cast_nullable_to_non_nullable as JobTipi, filmId: freezed == filmId ? _value.filmId : filmId // ignore: cast_nullable_to_non_nullable as String?, sahneId: freezed == sahneId ? _value.sahneId : sahneId // ignore: cast_nullable_to_non_nullable as String?, karakterId: freezed == karakterId ? _value.karakterId : karakterId // ignore: cast_nullable_to_non_nullable as String?, durum: null == durum ? _value.durum : durum // ignore: cast_nullable_to_non_nullable as KuyrukDurumu, ilerleme: null == ilerleme ? _value.ilerleme : ilerleme // ignore: cast_nullable_to_non_nullable as double, faz: null == faz ? _value.faz : faz // ignore: cast_nullable_to_non_nullable as String, baslangicMs: null == baslangicMs ? _value.baslangicMs : baslangicMs // ignore: cast_nullable_to_non_nullable as int, bitisMs: freezed == bitisMs ? _value.bitisMs : bitisMs // ignore: cast_nullable_to_non_nullable as int?, hata: freezed == hata ? _value.hata : hata // ignore: cast_nullable_to_non_nullable as String?, ciktiYollari: null == ciktiYollari ? _value._ciktiYollari : ciktiYollari // ignore: cast_nullable_to_non_nullable as List, meta: null == meta ? _value._meta : meta // ignore: cast_nullable_to_non_nullable as Map, ), ); } } /// @nodoc @JsonSerializable() class _$JobImpl implements _Job { const _$JobImpl({ required this.id, this.tipi = JobTipi.sahneUret, this.filmId, this.sahneId, this.karakterId, this.durum = KuyrukDurumu.bos, this.ilerleme = 0.0, this.faz = '', required this.baslangicMs, this.bitisMs, this.hata, final List ciktiYollari = const [], final Map meta = const {}, }) : _ciktiYollari = ciktiYollari, _meta = meta; factory _$JobImpl.fromJson(Map json) => _$$JobImplFromJson(json); @override final String id; @override @JsonKey() final JobTipi tipi; @override final String? filmId; @override final String? sahneId; @override final String? karakterId; @override @JsonKey() final KuyrukDurumu durum; @override @JsonKey() final double ilerleme; // 0..1 @override @JsonKey() final String faz; @override final int baslangicMs; // millisecondsSinceEpoch @override final int? bitisMs; @override final String? hata; final List _ciktiYollari; @override @JsonKey() List get ciktiYollari { if (_ciktiYollari is EqualUnmodifiableListView) return _ciktiYollari; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_ciktiYollari); } /// Sağlayıcı bilgisi, köprü job_id'si, token kullanımı vs. final Map _meta; /// Sağlayıcı bilgisi, köprü job_id'si, token kullanımı vs. @override @JsonKey() Map get meta { if (_meta is EqualUnmodifiableMapView) return _meta; // ignore: implicit_dynamic_type return EqualUnmodifiableMapView(_meta); } @override String toString() { return 'Job(id: $id, tipi: $tipi, filmId: $filmId, sahneId: $sahneId, karakterId: $karakterId, durum: $durum, ilerleme: $ilerleme, faz: $faz, baslangicMs: $baslangicMs, bitisMs: $bitisMs, hata: $hata, ciktiYollari: $ciktiYollari, meta: $meta)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$JobImpl && (identical(other.id, id) || other.id == id) && (identical(other.tipi, tipi) || other.tipi == tipi) && (identical(other.filmId, filmId) || other.filmId == filmId) && (identical(other.sahneId, sahneId) || other.sahneId == sahneId) && (identical(other.karakterId, karakterId) || other.karakterId == karakterId) && (identical(other.durum, durum) || other.durum == durum) && (identical(other.ilerleme, ilerleme) || other.ilerleme == ilerleme) && (identical(other.faz, faz) || other.faz == faz) && (identical(other.baslangicMs, baslangicMs) || other.baslangicMs == baslangicMs) && (identical(other.bitisMs, bitisMs) || other.bitisMs == bitisMs) && (identical(other.hata, hata) || other.hata == hata) && const DeepCollectionEquality().equals( other._ciktiYollari, _ciktiYollari, ) && const DeepCollectionEquality().equals(other._meta, _meta)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, id, tipi, filmId, sahneId, karakterId, durum, ilerleme, faz, baslangicMs, bitisMs, hata, const DeepCollectionEquality().hash(_ciktiYollari), const DeepCollectionEquality().hash(_meta), ); /// Create a copy of Job /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$JobImplCopyWith<_$JobImpl> get copyWith => __$$JobImplCopyWithImpl<_$JobImpl>(this, _$identity); @override Map toJson() { return _$$JobImplToJson(this); } } abstract class _Job implements Job { const factory _Job({ required final String id, final JobTipi tipi, final String? filmId, final String? sahneId, final String? karakterId, final KuyrukDurumu durum, final double ilerleme, final String faz, required final int baslangicMs, final int? bitisMs, final String? hata, final List ciktiYollari, final Map meta, }) = _$JobImpl; factory _Job.fromJson(Map json) = _$JobImpl.fromJson; @override String get id; @override JobTipi get tipi; @override String? get filmId; @override String? get sahneId; @override String? get karakterId; @override KuyrukDurumu get durum; @override double get ilerleme; // 0..1 @override String get faz; @override int get baslangicMs; // millisecondsSinceEpoch @override int? get bitisMs; @override String? get hata; @override List get ciktiYollari; /// Sağlayıcı bilgisi, köprü job_id'si, token kullanımı vs. @override Map get meta; /// Create a copy of Job /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$JobImplCopyWith<_$JobImpl> get copyWith => throw _privateConstructorUsedError; }