using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace Jellyfin.Plugin.JRay.Models;
///
/// One actor entry in a , with the time windows during
/// which they are visible on screen.
///
public class TruthActor
{
///
/// Gets or sets the actor's display name.
///
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
///
/// Gets or sets the actor's IMDB person id (e.g. "nm0000158"), or "" if unresolved.
///
[JsonPropertyName("imdb_id")]
public string ImdbId { get; set; } = string.Empty;
///
/// Gets or sets the actor's TMDB person id, or "" if unresolved.
///
[JsonPropertyName("tmdb_id")]
public string TmdbId { get; set; } = string.Empty;
///
/// Gets or sets the actor's Jellyfin Person item GUID, or "" if unresolved.
///
[JsonPropertyName("jellyfin_id")]
public string JellyfinId { get; set; } = string.Empty;
///
/// Gets the list of [start_sec, end_sec] windows during which the actor is on screen.
///
[JsonPropertyName("scenes")]
public Collection Scenes { get; } = new();
}