64 lines
1.6 KiB
C#
64 lines
1.6 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.SRFPlay.Api.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a show/program in the SRF API response.
|
|
/// </summary>
|
|
public class Show
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier.
|
|
/// </summary>
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the URN.
|
|
/// </summary>
|
|
[JsonPropertyName("urn")]
|
|
public string? Urn { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the title.
|
|
/// </summary>
|
|
[JsonPropertyName("title")]
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the lead/description.
|
|
/// </summary>
|
|
[JsonPropertyName("lead")]
|
|
public string? Lead { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the description.
|
|
/// </summary>
|
|
[JsonPropertyName("description")]
|
|
public string? Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the image URL.
|
|
/// </summary>
|
|
[JsonPropertyName("imageUrl")]
|
|
public string? ImageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the banner image URL.
|
|
/// </summary>
|
|
[JsonPropertyName("bannerImageUrl")]
|
|
public string? BannerImageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the vendor (business unit).
|
|
/// </summary>
|
|
[JsonPropertyName("vendor")]
|
|
public string? Vendor { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the transmission type.
|
|
/// </summary>
|
|
[JsonPropertyName("transmission")]
|
|
public string? Transmission { get; set; }
|
|
}
|