using System.Collections.ObjectModel; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.JRay.Models; /// A series bundle (server spec ยง2). public class SeriesBundle { /// Gets or sets the envelope version. [JsonPropertyName("jmanifest_version")] public int JmanifestVersion { get; set; } /// Gets the episode manifests the server holds. [JsonPropertyName("episodes")] [JsonObjectCreationHandling(JsonObjectCreationHandling.Populate)] public Collection Episodes { get; } = new(); }