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

6.2 KiB
Raw Blame History

GetAllMediaLibrarySort

Example Usage

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

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