//------------------------------------------------------------------------------ // // 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; /// /// Each `Sort` object contains a description of the sort field.
/// /// /// /// ///
public class Sort { /// /// The title of the field. /// [JsonProperty("title")] public string? Title { get; set; } [JsonProperty("type")] public string? Type { get; set; } [JsonProperty("art")] public string? Art { get; set; } [JsonProperty("content")] public bool? Content { get; set; } [JsonProperty("filter")] public string? Filter { get; set; } [JsonProperty("hasPrefs")] public bool? HasPrefs { get; set; } [JsonProperty("hasStoreServices")] public bool? HasStoreServices { get; set; } [JsonProperty("hubKey")] public string? HubKey { get; set; } [JsonProperty("identifier")] public string? Identifier { get; set; } /// /// The key to use in the sort field to make items sort by this item /// [JsonProperty("key")] public string? Key { get; set; } [JsonProperty("lastAccessedAt")] public long? LastAccessedAt { get; set; } [JsonProperty("Pivot")] public List? Pivot { get; set; } [JsonProperty("share")] public long? Share { get; set; } [JsonProperty("thumb")] public string? Thumb { get; set; } [JsonProperty("titleBar")] public string? TitleBar { get; set; } /// /// If present, this sort is the default and in this direction /// [JsonProperty("default")] public SortDefault? Default { get; set; } /// /// This default diction of this sort /// [JsonProperty("defaultDirection")] public DefaultDirection? DefaultDirection { get; set; } /// /// The key for sorting this field in reverse order /// [JsonProperty("descKey")] public string? DescKey { get; set; } /// /// The key to use to get items sorted by this field and indexed by the first character /// [JsonProperty("firstCharacterKey")] public string? FirstCharacterKey { get; set; } [JsonProperty("additionalProperties")] public Dictionary? AdditionalProperties { get; set; } } }