# GetAllMediaLibrarySort

## Example Usage

```typescript
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*                                                                                                              | :heavy_minus_sign:                                                                                                    | N/A                                                                                                                   | asc                                                                                                                   |
| `active`                                                                                                              | *boolean*                                                                                                             | :heavy_minus_sign:                                                                                                    | N/A                                                                                                                   | false                                                                                                                 |
| `activeDirection`                                                                                                     | [operations.GetAllMediaLibraryActiveDirection](../../../sdk/models/operations/getallmedialibraryactivedirection.md)   | :heavy_minus_sign:                                                                                                    | The direction of the sort. Can be either `asc` or `desc`.<br/>                                                        | asc                                                                                                                   |
| `defaultDirection`                                                                                                    | [operations.GetAllMediaLibraryDefaultDirection](../../../sdk/models/operations/getallmedialibrarydefaultdirection.md) | :heavy_minus_sign:                                                                                                    | The direction of the sort. Can be either `asc` or `desc`.<br/>                                                        | asc                                                                                                                   |
| `descKey`                                                                                                             | *string*                                                                                                              | :heavy_minus_sign:                                                                                                    | N/A                                                                                                                   | titleSort:desc                                                                                                        |
| `firstCharacterKey`                                                                                                   | *string*                                                                                                              | :heavy_minus_sign:                                                                                                    | N/A                                                                                                                   | /library/sections/2/firstCharacter                                                                                    |
| `key`                                                                                                                 | *string*                                                                                                              | :heavy_check_mark:                                                                                                    | N/A                                                                                                                   | titleSort                                                                                                             |
| `title`                                                                                                               | *string*                                                                                                              | :heavy_check_mark:                                                                                                    | N/A                                                                                                                   | Title                                                                                                                 |