using System.Text.Json.Serialization; namespace Jellyfin.Plugin.SRFPlay.Api.Models; /// /// Represents a streaming resource (URL) in the SRF API response. /// public class Resource { /// /// Gets or sets the stream URL. /// [JsonPropertyName("url")] public string Url { get; set; } = string.Empty; /// /// Gets or sets the streaming protocol (e.g., HLS, DASH). /// [JsonPropertyName("protocol")] public string? Protocol { get; set; } /// /// Gets or sets the quality level (e.g., HD, SD). /// [JsonPropertyName("quality")] public string? Quality { get; set; } /// /// Gets or sets the streaming method. /// [JsonPropertyName("streaming")] public string? Streaming { get; set; } /// /// Gets or sets the MIME type. /// [JsonPropertyName("mimeType")] public string? MimeType { get; set; } /// /// Gets or sets the encoding. /// [JsonPropertyName("encoding")] public string? Encoding { get; set; } /// /// Gets or sets whether DRM is required. /// [JsonPropertyName("drmList")] public object? DrmList { get; set; } }