using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.JRay.Models; /// One actor's timeline within a manifest. public class JmanifestActor { /// /// Gets or sets the display name. Server-authoritative on download: the /// server resolves each actor to a TMDB person and serves names from its own /// table, so a name a contributor invented never round-trips. /// [JsonPropertyName("name")] public string? Name { get; set; } /// Gets or sets the IMDB person id. [JsonPropertyName("imdb_id")] public string? ImdbId { get; set; } /// Gets or sets the TMDB person id — the primary join key. [JsonPropertyName("tmdb_id")] public string? TmdbId { get; set; } /// Gets the presence windows. [JsonPropertyName("scenes")] [JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)] public Collection Scenes { get; } = new(); }