// 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 'link.dart';

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

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

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

SnLinkMeta _$SnLinkMetaFromJson(Map<String, dynamic> json) {
  return _SnLinkMeta.fromJson(json);
}

/// @nodoc
mixin _$SnLinkMeta {
  int get id => throw _privateConstructorUsedError;
  DateTime get createdAt => throw _privateConstructorUsedError;
  DateTime get updatedAt => throw _privateConstructorUsedError;
  DateTime? get deletedAt => throw _privateConstructorUsedError;
  String get entryId => throw _privateConstructorUsedError;
  String? get icon => throw _privateConstructorUsedError;
  String get url => throw _privateConstructorUsedError;
  String? get title => throw _privateConstructorUsedError;
  String? get image => throw _privateConstructorUsedError;
  String? get video => throw _privateConstructorUsedError;
  String? get audio => throw _privateConstructorUsedError;
  String? get description => throw _privateConstructorUsedError;
  String? get siteName => throw _privateConstructorUsedError;
  String? get type => throw _privateConstructorUsedError;

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

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

/// @nodoc
abstract class $SnLinkMetaCopyWith<$Res> {
  factory $SnLinkMetaCopyWith(
          SnLinkMeta value, $Res Function(SnLinkMeta) then) =
      _$SnLinkMetaCopyWithImpl<$Res, SnLinkMeta>;
  @useResult
  $Res call(
      {int id,
      DateTime createdAt,
      DateTime updatedAt,
      DateTime? deletedAt,
      String entryId,
      String? icon,
      String url,
      String? title,
      String? image,
      String? video,
      String? audio,
      String? description,
      String? siteName,
      String? type});
}

/// @nodoc
class _$SnLinkMetaCopyWithImpl<$Res, $Val extends SnLinkMeta>
    implements $SnLinkMetaCopyWith<$Res> {
  _$SnLinkMetaCopyWithImpl(this._value, this._then);

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

  /// Create a copy of SnLinkMeta
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = null,
    Object? createdAt = null,
    Object? updatedAt = null,
    Object? deletedAt = freezed,
    Object? entryId = null,
    Object? icon = freezed,
    Object? url = null,
    Object? title = freezed,
    Object? image = freezed,
    Object? video = freezed,
    Object? audio = freezed,
    Object? description = freezed,
    Object? siteName = freezed,
    Object? type = freezed,
  }) {
    return _then(_value.copyWith(
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      createdAt: null == createdAt
          ? _value.createdAt
          : createdAt // ignore: cast_nullable_to_non_nullable
              as DateTime,
      updatedAt: null == updatedAt
          ? _value.updatedAt
          : updatedAt // ignore: cast_nullable_to_non_nullable
              as DateTime,
      deletedAt: freezed == deletedAt
          ? _value.deletedAt
          : deletedAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      entryId: null == entryId
          ? _value.entryId
          : entryId // ignore: cast_nullable_to_non_nullable
              as String,
      icon: freezed == icon
          ? _value.icon
          : icon // ignore: cast_nullable_to_non_nullable
              as String?,
      url: null == url
          ? _value.url
          : url // ignore: cast_nullable_to_non_nullable
              as String,
      title: freezed == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String?,
      image: freezed == image
          ? _value.image
          : image // ignore: cast_nullable_to_non_nullable
              as String?,
      video: freezed == video
          ? _value.video
          : video // ignore: cast_nullable_to_non_nullable
              as String?,
      audio: freezed == audio
          ? _value.audio
          : audio // ignore: cast_nullable_to_non_nullable
              as String?,
      description: freezed == description
          ? _value.description
          : description // ignore: cast_nullable_to_non_nullable
              as String?,
      siteName: freezed == siteName
          ? _value.siteName
          : siteName // ignore: cast_nullable_to_non_nullable
              as String?,
      type: freezed == type
          ? _value.type
          : type // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$SnLinkMetaImplCopyWith<$Res>
    implements $SnLinkMetaCopyWith<$Res> {
  factory _$$SnLinkMetaImplCopyWith(
          _$SnLinkMetaImpl value, $Res Function(_$SnLinkMetaImpl) then) =
      __$$SnLinkMetaImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {int id,
      DateTime createdAt,
      DateTime updatedAt,
      DateTime? deletedAt,
      String entryId,
      String? icon,
      String url,
      String? title,
      String? image,
      String? video,
      String? audio,
      String? description,
      String? siteName,
      String? type});
}

/// @nodoc
class __$$SnLinkMetaImplCopyWithImpl<$Res>
    extends _$SnLinkMetaCopyWithImpl<$Res, _$SnLinkMetaImpl>
    implements _$$SnLinkMetaImplCopyWith<$Res> {
  __$$SnLinkMetaImplCopyWithImpl(
      _$SnLinkMetaImpl _value, $Res Function(_$SnLinkMetaImpl) _then)
      : super(_value, _then);

  /// Create a copy of SnLinkMeta
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? id = null,
    Object? createdAt = null,
    Object? updatedAt = null,
    Object? deletedAt = freezed,
    Object? entryId = null,
    Object? icon = freezed,
    Object? url = null,
    Object? title = freezed,
    Object? image = freezed,
    Object? video = freezed,
    Object? audio = freezed,
    Object? description = freezed,
    Object? siteName = freezed,
    Object? type = freezed,
  }) {
    return _then(_$SnLinkMetaImpl(
      id: null == id
          ? _value.id
          : id // ignore: cast_nullable_to_non_nullable
              as int,
      createdAt: null == createdAt
          ? _value.createdAt
          : createdAt // ignore: cast_nullable_to_non_nullable
              as DateTime,
      updatedAt: null == updatedAt
          ? _value.updatedAt
          : updatedAt // ignore: cast_nullable_to_non_nullable
              as DateTime,
      deletedAt: freezed == deletedAt
          ? _value.deletedAt
          : deletedAt // ignore: cast_nullable_to_non_nullable
              as DateTime?,
      entryId: null == entryId
          ? _value.entryId
          : entryId // ignore: cast_nullable_to_non_nullable
              as String,
      icon: freezed == icon
          ? _value.icon
          : icon // ignore: cast_nullable_to_non_nullable
              as String?,
      url: null == url
          ? _value.url
          : url // ignore: cast_nullable_to_non_nullable
              as String,
      title: freezed == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String?,
      image: freezed == image
          ? _value.image
          : image // ignore: cast_nullable_to_non_nullable
              as String?,
      video: freezed == video
          ? _value.video
          : video // ignore: cast_nullable_to_non_nullable
              as String?,
      audio: freezed == audio
          ? _value.audio
          : audio // ignore: cast_nullable_to_non_nullable
              as String?,
      description: freezed == description
          ? _value.description
          : description // ignore: cast_nullable_to_non_nullable
              as String?,
      siteName: freezed == siteName
          ? _value.siteName
          : siteName // ignore: cast_nullable_to_non_nullable
              as String?,
      type: freezed == type
          ? _value.type
          : type // ignore: cast_nullable_to_non_nullable
              as String?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$SnLinkMetaImpl extends _SnLinkMeta {
  const _$SnLinkMetaImpl(
      {required this.id,
      required this.createdAt,
      required this.updatedAt,
      required this.deletedAt,
      required this.entryId,
      required this.icon,
      required this.url,
      required this.title,
      required this.image,
      required this.video,
      required this.audio,
      required this.description,
      required this.siteName,
      required this.type})
      : super._();

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

  @override
  final int id;
  @override
  final DateTime createdAt;
  @override
  final DateTime updatedAt;
  @override
  final DateTime? deletedAt;
  @override
  final String entryId;
  @override
  final String? icon;
  @override
  final String url;
  @override
  final String? title;
  @override
  final String? image;
  @override
  final String? video;
  @override
  final String? audio;
  @override
  final String? description;
  @override
  final String? siteName;
  @override
  final String? type;

  @override
  String toString() {
    return 'SnLinkMeta(id: $id, createdAt: $createdAt, updatedAt: $updatedAt, deletedAt: $deletedAt, entryId: $entryId, icon: $icon, url: $url, title: $title, image: $image, video: $video, audio: $audio, description: $description, siteName: $siteName, type: $type)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$SnLinkMetaImpl &&
            (identical(other.id, id) || other.id == id) &&
            (identical(other.createdAt, createdAt) ||
                other.createdAt == createdAt) &&
            (identical(other.updatedAt, updatedAt) ||
                other.updatedAt == updatedAt) &&
            (identical(other.deletedAt, deletedAt) ||
                other.deletedAt == deletedAt) &&
            (identical(other.entryId, entryId) || other.entryId == entryId) &&
            (identical(other.icon, icon) || other.icon == icon) &&
            (identical(other.url, url) || other.url == url) &&
            (identical(other.title, title) || other.title == title) &&
            (identical(other.image, image) || other.image == image) &&
            (identical(other.video, video) || other.video == video) &&
            (identical(other.audio, audio) || other.audio == audio) &&
            (identical(other.description, description) ||
                other.description == description) &&
            (identical(other.siteName, siteName) ||
                other.siteName == siteName) &&
            (identical(other.type, type) || other.type == type));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(
      runtimeType,
      id,
      createdAt,
      updatedAt,
      deletedAt,
      entryId,
      icon,
      url,
      title,
      image,
      video,
      audio,
      description,
      siteName,
      type);

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

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

abstract class _SnLinkMeta extends SnLinkMeta {
  const factory _SnLinkMeta(
      {required final int id,
      required final DateTime createdAt,
      required final DateTime updatedAt,
      required final DateTime? deletedAt,
      required final String entryId,
      required final String? icon,
      required final String url,
      required final String? title,
      required final String? image,
      required final String? video,
      required final String? audio,
      required final String? description,
      required final String? siteName,
      required final String? type}) = _$SnLinkMetaImpl;
  const _SnLinkMeta._() : super._();

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

  @override
  int get id;
  @override
  DateTime get createdAt;
  @override
  DateTime get updatedAt;
  @override
  DateTime? get deletedAt;
  @override
  String get entryId;
  @override
  String? get icon;
  @override
  String get url;
  @override
  String? get title;
  @override
  String? get image;
  @override
  String? get video;
  @override
  String? get audio;
  @override
  String? get description;
  @override
  String? get siteName;
  @override
  String? get type;

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