Files
plexjs/docs/sdk/models/operations/getrecentlyaddedsort.md

6.0 KiB
Raw Blame History

GetRecentlyAddedSort

Example Usage

import { GetRecentlyAddedSort } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetRecentlyAddedSort = {
  default: "asc",
  active: false,
  descKey: "titleSort:desc",
  firstCharacterKey: "/library/sections/2/firstCharacter",
  key: "titleSort",
  title: "Title",
};

Fields

Field Type Required Description Example
default string N/A asc
active boolean N/A false
activeDirection operations.GetRecentlyAddedActiveDirection The direction of the sort. Can be either asc or desc.
asc
defaultDirection operations.GetRecentlyAddedDefaultDirection The direction of the sort. Can be either asc or desc.
asc
descKey string N/A titleSort:desc
firstCharacterKey string N/A /library/sections/2/firstCharacter
key string ✔️ N/A titleSort
title string ✔️ N/A Title