34 lines
826 B
C#
34 lines
826 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Jellyfin.Plugin.SRFPlay.Api.Models;
|
|
|
|
/// <summary>
|
|
/// Represents a topic/category from the Play v3 API.
|
|
/// </summary>
|
|
public class PlayV3Topic
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the topic ID (UUID).
|
|
/// </summary>
|
|
[JsonPropertyName("id")]
|
|
public string? Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the topic title.
|
|
/// </summary>
|
|
[JsonPropertyName("title")]
|
|
public string? Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the topic description/lead.
|
|
/// </summary>
|
|
[JsonPropertyName("lead")]
|
|
public string? Lead { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the transmission type (TV or Radio).
|
|
/// </summary>
|
|
[JsonPropertyName("transmission")]
|
|
public string? Transmission { get; set; }
|
|
}
|