using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.JRay.Models; /// Title identity (server spec ยง2). public class JmanifestIdentity { /// Gets or sets movie or episode. [JsonPropertyName("type")] public string Type { get; set; } = string.Empty; /// Gets or sets the TMDB id, for a movie. [JsonPropertyName("tmdb_id")] public string? TmdbId { get; set; } /// Gets or sets the IMDB id, for a movie. [JsonPropertyName("imdb_id")] public string? ImdbId { get; set; } /// Gets or sets the series TMDB id, for an episode. [JsonPropertyName("series_tmdb_id")] public string? SeriesTmdbId { get; set; } /// Gets or sets the series IMDB id, for an episode. [JsonPropertyName("series_imdb_id")] public string? SeriesImdbId { get; set; } /// Gets or sets the season number, for an episode. [JsonPropertyName("season")] public int? Season { get; set; } /// Gets or sets the episode number, for an episode. [JsonPropertyName("episode")] public int? Episode { get; set; } /// Gets or sets the display title. [JsonPropertyName("title")] public string? Title { get; set; } /// Gets or sets the release year. [JsonPropertyName("year")] public int? Year { get; set; } }