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

5.9 KiB
Raw Blame History

GetLibraryItemsSort

Example Usage

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

let value: GetLibraryItemsSort = {
  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.GetLibraryItemsActiveDirection The direction of the sort. Can be either asc or desc.
asc
defaultDirection operations.GetLibraryItemsDefaultDirection 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