using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.SRFPlay.Api.Models.PlayV3; /// /// TV Program entry in the guide. /// public class PlayV3TvProgram { /// /// Gets or sets the URN identifier. /// [JsonPropertyName("urn")] public string? Urn { get; set; } /// /// Gets or sets the title. /// [JsonPropertyName("title")] public string? Title { get; set; } /// /// Gets or sets the lead/description. /// [JsonPropertyName("lead")] public string? Lead { get; set; } /// /// Gets or sets the description. /// [JsonPropertyName("description")] public string? Description { get; set; } /// /// Gets or sets the image URL. /// [JsonPropertyName("imageUrl")] public string? ImageUrl { get; set; } /// /// Gets or sets the content type (e.g., SCHEDULED_LIVESTREAM). /// [JsonPropertyName("type")] public string? Type { get; set; } /// /// Gets or sets the media type. /// [JsonPropertyName("mediaType")] public string? MediaType { get; set; } /// /// Gets or sets the vendor (e.g., SRF, RTS). /// [JsonPropertyName("vendor")] public string? Vendor { get; set; } /// /// Gets or sets the start time. /// [JsonPropertyName("date")] public DateTime? Date { get; set; } /// /// Gets or sets the valid from time (for scheduled livestreams). /// [JsonPropertyName("validFrom")] public DateTime? ValidFrom { get; set; } /// /// Gets or sets the valid to time (for scheduled livestreams). /// [JsonPropertyName("validTo")] public DateTime? ValidTo { get; set; } /// /// Gets or sets the duration in milliseconds. /// [JsonPropertyName("duration")] public long? Duration { get; set; } /// /// Gets or sets the channel ID. /// [JsonPropertyName("channelId")] public string? ChannelId { get; set; } /// /// Gets or sets the channel title. /// [JsonPropertyName("channelTitle")] public string? ChannelTitle { get; set; } /// /// Gets or sets whether this is blocked (DRM). /// [JsonPropertyName("blocked")] public bool? Blocked { get; set; } /// /// Gets or sets whether this is geoblocked. /// [JsonPropertyName("geoblocked")] public bool? Geoblocked { get; set; } }