using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.SRFPlay.Api.Models; /// /// Represents the data container in a Play v3 response. /// /// The type of data items. public class PlayV3DataContainer { /// /// Gets or sets the list of data items. /// [JsonPropertyName("data")] [SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Required for JSON deserialization")] [SuppressMessage("Design", "CA1002:Do not expose generic lists", Justification = "DTO for JSON deserialization")] public List? Data { get; set; } /// /// Gets or sets the next page cursor. /// [JsonPropertyName("next")] public string? Next { get; set; } }