//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace LukeHagar.PlexAPI.SDK.Models.Components { using LukeHagar.PlexAPI.SDK.Models.Components; using LukeHagar.PlexAPI.SDK.Utils; using Newtonsoft.Json; using System.Collections.Generic; public class Hub { /// /// A title for this grouping of content /// [JsonProperty("title")] public string? Title { get; set; } /// /// The type of the items contained in this hub, or possibly `mixed` if there are multiple types /// [JsonProperty("type")] public string? Type { get; set; } [JsonProperty("context")] public string? Context { get; set; } /// /// A unique identifier for the hub /// [JsonProperty("hubIdentifier")] public string? HubIdentifier { get; set; } /// /// A key at which the exact content currently displayed can be fetched again. This is particularly important when a hub is marked as random and requesting the `key` may get different results. It's otherwise optional.
/// /// /// /// ///
[JsonProperty("hubKey")] public string? HubKey { get; set; } /// /// The key at which all of the content for this hub can be retrieved /// [JsonProperty("key")] public string? Key { get; set; } [JsonProperty("Metadata")] public List? Metadata { get; set; } /// /// "A boolean indicating that the hub contains more than what's included in the current response."
/// /// /// /// ///
[JsonProperty("more")] public bool? More { get; set; } /// /// Indicating if the hub should be promoted to the user's homescreen /// [JsonProperty("promoted")] public bool? Promoted { get; set; } /// /// Indicating that the contents of the hub may change on each request /// [JsonProperty("random")] public bool? Random { get; set; } [JsonProperty("size")] public long? Size { get; set; } /// /// A suggestion on how this hub's contents might be displayed by a client. Some examples include `hero`, `list`, `spotlight`, and `upsell` /// [JsonProperty("style")] public string? Style { get; set; } /// /// The subtype of the items contained in this hub, or possibly `mixed` if there are multiple types /// [JsonProperty("subtype")] public string? Subtype { get; set; } [JsonProperty("totalSize")] public long? TotalSize { get; set; } [JsonProperty("additionalProperties")] public Dictionary? AdditionalProperties { get; set; } } }