//------------------------------------------------------------------------------
//
// 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.Requests
{
using LukeHagar.PlexAPI.SDK.Models.Requests;
using LukeHagar.PlexAPI.SDK.Utils;
using Newtonsoft.Json;
public class GetRecentlyAddedSort
{
[JsonProperty("default")]
public string? Default { get; set; }
[JsonProperty("active")]
public bool? Active { get; set; }
///
/// The direction of the sort. Can be either `asc` or `desc`.
///
///
///
///
///
[JsonProperty("activeDirection")]
public GetRecentlyAddedActiveDirection? ActiveDirection { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetRecentlyAddedActiveDirection.Ascending;
///
/// The direction of the sort. Can be either `asc` or `desc`.
///
///
///
///
///
[JsonProperty("defaultDirection")]
public GetRecentlyAddedDefaultDirection? DefaultDirection { get; set; } = LukeHagar.PlexAPI.SDK.Models.Requests.GetRecentlyAddedDefaultDirection.Ascending;
[JsonProperty("descKey")]
public string? DescKey { get; set; }
[JsonProperty("firstCharacterKey")]
public string? FirstCharacterKey { get; set; }
[JsonProperty("key")]
public string Key { get; set; } = default!;
[JsonProperty("title")]
public string Title { get; set; } = default!;
}
}