Files
plezy/lib/models/simkl/simkl_all_items_entry.g.dart
T
edde746 a33c423985 refactor(models): stop parsing wire fields and enum members nothing consumes
Parse-only DTO surface deleted across trackers and catalog models: quality-preset storageKey/fromStorage round-trips (persistence uses EnumPref on .name), PlexHome's placeholder identity fields (id stays — deriveHomeSecret reads it), SeerrUser.email/avatar, SimklSearchResult.endpointType, SimklDetail.type, SimklAllItemsEntry.status/isShow, TraktCatalogEntry.rank, CatalogItem.relevance, and the never-produced CatalogRankScope.favorited/.seasonal members with their label arms. Tracker root: OAuthProxyStart.expiresIn, TrackerSession.scope/isExpired, copyWith slimmed to its one real parameter, TrackerHttpClient.service. TrackerAccountStore.service and the trackerAccountStore() alias are live (persisted-blob validation, callers) and stay.
2026-08-17 19:02:24 +02:00

39 lines
1.5 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'simkl_all_items_entry.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
SimklAllItemsMedia _$SimklAllItemsMediaFromJson(Map<String, dynamic> json) =>
SimklAllItemsMedia(
title: json['title'] as String?,
year: flexibleInt(json['year']),
poster: json['poster'] as String?,
fanart: json['fanart'] as String?,
runtime: flexibleInt(json['runtime']),
overview: json['overview'] as String?,
genres: (json['genres'] as List<dynamic>?)
?.map((e) => e as String)
.toList(),
network: json['network'] as String?,
status: json['status'] as String?,
ids: SimklIds.fromJson(json['ids'] as Map<String, dynamic>),
);
SimklAllItemsEntry _$SimklAllItemsEntryFromJson(Map<String, dynamic> json) =>
SimklAllItemsEntry(
addedAt: json['added_to_watchlist_at'] as String?,
userRating: flexibleDouble(json['user_rating']),
show: json['show'] == null
? null
: SimklAllItemsMedia.fromJson(json['show'] as Map<String, dynamic>),
movie: json['movie'] == null
? null
: SimklAllItemsMedia.fromJson(json['movie'] as Map<String, dynamic>),
animeType: json['anime_type'] as String?,
totalEpisodes: flexibleInt(json['total_episodes_count']),
notAiredEpisodes: flexibleInt(json['not_aired_episodes_count']),
);