# GetMetadataChildrenMediaContainer

## Example Usage

```typescript
import { GetMetadataChildrenMediaContainer } from "@lukehagar/plexjs/sdk/models/operations";

let value: GetMetadataChildrenMediaContainer = {
  size: 3,
  allowSync: true,
  art: "/library/metadata/30072/art/1705739923",
  identifier: "com.plexapp.plugins.library",
  key: "30072",
  librarySectionID: 2,
  librarySectionTitle: "TV Shows",
  librarySectionUUID: "4bb2521c-8ba9-459b-aaee-8ab8bc35eabd",
  mediaTagPrefix: "/system/bundle/media/flags/",
  mediaTagVersion: 1701731894,
  nocache: true,
  parentIndex: 1,
  parentTitle: "Reacher",
  parentYear: 2022,
  summary:
    "When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia.",
  theme: "/library/metadata/30072/theme/1705739923",
  thumb: "/library/metadata/30072/thumb/1705739923",
  title1: "TV Shows",
  title2: "Reacher",
  viewGroup: "season",
  viewMode: 65593,
  directory: [
    {
      leafCount: 16,
      thumb: "/library/metadata/30072/thumb/1705739923",
      viewedLeafCount: 16,
      key: "/library/metadata/30072/allLeaves",
      title: "All episodes",
    },
  ],
  metadata: [
    {
      ratingKey: "66488",
      key: "/library/metadata/66488/children",
      parentRatingKey: "30072",
      guid: "plex://season/652aea6549508477c34c6000",
      parentGuid: "plex://show/5d9c09190aaccd001f8f42f0",
      parentStudio: "Amazon Studios",
      type: "season",
      title: "Season 2",
      parentKey: "/library/metadata/30072",
      parentTitle: "Reacher",
      summary:
        "Based on\"Bad Luck and Trouble,\" when members of Reacher's old military unit start turning up dead, Reacher has just one thing on his mind-revenge.",
      index: 2,
      parentIndex: 1,
      viewCount: 11,
      lastViewedAt: 1705646565,
      parentYear: 2022,
      thumb: "/library/metadata/66488/thumb/1703065033",
      art: "/library/metadata/30072/art/1705739923",
      parentThumb: "/library/metadata/30072/thumb/1705739923",
      parentTheme: "/library/metadata/30072/theme/1705739923",
      leafCount: 8,
      viewedLeafCount: 8,
      addedAt: 1702602021,
      updatedAt: 1703065033,
      userRating: 9,
      skipCount: 1,
      lastRatedAt: 1703881224,
    },
  ],
};
```

## Fields

| Field                                                                                                                                                                                                                                                                                                      | Type                                                                                                                                                                                                                                                                                                       | Required                                                                                                                                                                                                                                                                                                   | Description                                                                                                                                                                                                                                                                                                | Example                                                                                                                                                                                                                                                                                                    |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `size`                                                                                                                                                                                                                                                                                                     | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 3                                                                                                                                                                                                                                                                                                          |
| `allowSync`                                                                                                                                                                                                                                                                                                | *boolean*                                                                                                                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | true                                                                                                                                                                                                                                                                                                       |
| `art`                                                                                                                                                                                                                                                                                                      | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | /library/metadata/30072/art/1705739923                                                                                                                                                                                                                                                                     |
| `identifier`                                                                                                                                                                                                                                                                                               | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | com.plexapp.plugins.library                                                                                                                                                                                                                                                                                |
| `key`                                                                                                                                                                                                                                                                                                      | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 30072                                                                                                                                                                                                                                                                                                      |
| `librarySectionID`                                                                                                                                                                                                                                                                                         | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 2                                                                                                                                                                                                                                                                                                          |
| `librarySectionTitle`                                                                                                                                                                                                                                                                                      | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | TV Shows                                                                                                                                                                                                                                                                                                   |
| `librarySectionUUID`                                                                                                                                                                                                                                                                                       | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 4bb2521c-8ba9-459b-aaee-8ab8bc35eabd                                                                                                                                                                                                                                                                       |
| `mediaTagPrefix`                                                                                                                                                                                                                                                                                           | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | /system/bundle/media/flags/                                                                                                                                                                                                                                                                                |
| `mediaTagVersion`                                                                                                                                                                                                                                                                                          | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 1701731894                                                                                                                                                                                                                                                                                                 |
| `nocache`                                                                                                                                                                                                                                                                                                  | *boolean*                                                                                                                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | true                                                                                                                                                                                                                                                                                                       |
| `parentIndex`                                                                                                                                                                                                                                                                                              | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 1                                                                                                                                                                                                                                                                                                          |
| `parentTitle`                                                                                                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | Reacher                                                                                                                                                                                                                                                                                                    |
| `parentYear`                                                                                                                                                                                                                                                                                               | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 2022                                                                                                                                                                                                                                                                                                       |
| `summary`                                                                                                                                                                                                                                                                                                  | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | When retired Military Police Officer Jack Reacher is arrested for a murder he did not commit, he finds himself in the middle of a deadly conspiracy full of dirty cops, shady businessmen, and scheming politicians. With nothing but his wits, he must figure out what is happening in Margrave, Georgia. |
| `theme`                                                                                                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | /library/metadata/30072/theme/1705739923                                                                                                                                                                                                                                                                   |
| `thumb`                                                                                                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | /library/metadata/30072/thumb/1705739923                                                                                                                                                                                                                                                                   |
| `title1`                                                                                                                                                                                                                                                                                                   | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | TV Shows                                                                                                                                                                                                                                                                                                   |
| `title2`                                                                                                                                                                                                                                                                                                   | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | Reacher                                                                                                                                                                                                                                                                                                    |
| `viewGroup`                                                                                                                                                                                                                                                                                                | *string*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | season                                                                                                                                                                                                                                                                                                     |
| `viewMode`                                                                                                                                                                                                                                                                                                 | *number*                                                                                                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | 65593                                                                                                                                                                                                                                                                                                      |
| `directory`                                                                                                                                                                                                                                                                                                | [operations.GetMetadataChildrenDirectory](../../../sdk/models/operations/getmetadatachildrendirectory.md)[]                                                                                                                                                                                                | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        | [<br/>{<br/>"leafCount": 16,<br/>"thumb": "/library/metadata/30072/thumb/1705739923",<br/>"viewedLeafCount": 16,<br/>"key": "/library/metadata/30072/allLeaves",<br/>"title": "All episodes"<br/>}<br/>]                                                                                                   |
| `metadata`                                                                                                                                                                                                                                                                                                 | [operations.GetMetadataChildrenMetadata](../../../sdk/models/operations/getmetadatachildrenmetadata.md)[]                                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                                                                         | N/A                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                            |