using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.SRFPlay.Api.Models; /// /// Represents the root media composition response from SRF API. /// public class MediaComposition { /// /// Gets or sets the list of chapters (videos/episodes). /// [JsonPropertyName("chapterList")] public IReadOnlyList ChapterList { get; set; } = new List(); /// /// Gets or sets the episode information. /// [JsonPropertyName("episode")] public Episode? Episode { get; set; } /// /// Gets or sets the show information. /// [JsonPropertyName("show")] public Show? Show { get; set; } }