# GetRecentlyAddedLibraryMetadata

## Example Usage

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

let value: GetRecentlyAddedLibraryMetadata = {
  librarySectionID: 1,
  librarySectionTitle: "Movies",
  librarySectionUUID: "322a231a-b7f7-49f5-920f-14c61199cd30",
  ratingKey: 59398,
  key: "/library/metadata/59398",
  guid: "plex://movie/5e161a83bea6ac004126e148",
  studio: "Marvel Studios",
  type: "movie",
  title: "Ant-Man and the Wasp: Quantumania",
  contentRating: "PG-13",
  summary:
    "Scott Lang and Hope Van Dyne along with Hank Pym and Janet Van Dyne explore the Quantum Realm where they interact with strange creatures and embark on an adventure that goes beyond the limits of what they thought was possible.",
  rating: 4.7,
  audienceRating: 8.3,
  year: 2023,
  tagline: "Witness the beginning of a new dynasty.",
  thumb: "/library/metadata/59398/thumb/1681888010",
  art: "/library/metadata/59398/art/1681888010",
  duration: 7474422,
  originallyAvailableAt: new Date("2023-02-15T00:00:00Z"),
  addedAt: 1681803215,
  updatedAt: 1681888010,
  audienceRatingImage: "rottentomatoes://image.rating.upright",
  chapterSource: "media",
  primaryExtraKey: "/library/metadata/59399",
  ratingImage: "rottentomatoes://image.rating.rotten",
  media: [
    {
      id: 120345,
      duration: 7474422,
      bitrate: 3623,
      width: 1920,
      height: 804,
      aspectRatio: 2.35,
      audioChannels: 6,
      audioCodec: "ac3",
      videoCodec: "h264",
      videoResolution: 1080,
      container: "mp4",
      videoFrameRate: "24p",
      optimizedForStreaming: 0,
      videoProfile: "high",
      part: [
        {
          id: 120353,
          key: "/library/parts/120353/1681803203/file.mp4",
          duration: 7474422,
          file:
            "/movies/Ant-Man and the Wasp Quantumania (2023)/Ant-Man.and.the.Wasp.Quantumania.2023.1080p.mp4",
          size: 3395307162,
          container: "mp4",
          hasThumbnail: 1,
          videoProfile: "high",
        },
      ],
    },
  ],
  genre: [
    {
      tag: "Comedy",
    },
  ],
  director: [
    {
      tag: "Peyton Reed",
    },
  ],
  writer: [
    {
      tag: "Jeff Loveness",
    },
  ],
  country: [
    {
      tag: "United States of America",
    },
  ],
  role: [
    {
      tag: "Paul Rudd",
    },
  ],
};
```

## Fields

| Field                                                                                                                                                                                                                              | Type                                                                                                                                                                                                                               | Required                                                                                                                                                                                                                           | Description                                                                                                                                                                                                                        | Example                                                                                                                                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowSync`                                                                                                                                                                                                                        | *boolean*                                                                                                                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `librarySectionID`                                                                                                                                                                                                                 | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 1                                                                                                                                                                                                                                  |
| `librarySectionTitle`                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | Movies                                                                                                                                                                                                                             |
| `librarySectionUUID`                                                                                                                                                                                                               | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 322a231a-b7f7-49f5-920f-14c61199cd30                                                                                                                                                                                               |
| `ratingKey`                                                                                                                                                                                                                        | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 59398                                                                                                                                                                                                                              |
| `key`                                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | /library/metadata/59398                                                                                                                                                                                                            |
| `guid`                                                                                                                                                                                                                             | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | plex://movie/5e161a83bea6ac004126e148                                                                                                                                                                                              |
| `studio`                                                                                                                                                                                                                           | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | Marvel Studios                                                                                                                                                                                                                     |
| `type`                                                                                                                                                                                                                             | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | movie                                                                                                                                                                                                                              |
| `title`                                                                                                                                                                                                                            | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | Ant-Man and the Wasp: Quantumania                                                                                                                                                                                                  |
| `contentRating`                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | PG-13                                                                                                                                                                                                                              |
| `summary`                                                                                                                                                                                                                          | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | Scott Lang and Hope Van Dyne along with Hank Pym and Janet Van Dyne explore the Quantum Realm where they interact with strange creatures and embark on an adventure that goes beyond the limits of what they thought was possible. |
| `rating`                                                                                                                                                                                                                           | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 4.7                                                                                                                                                                                                                                |
| `audienceRating`                                                                                                                                                                                                                   | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 8.3                                                                                                                                                                                                                                |
| `year`                                                                                                                                                                                                                             | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 2023                                                                                                                                                                                                                               |
| `tagline`                                                                                                                                                                                                                          | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | Witness the beginning of a new dynasty.                                                                                                                                                                                            |
| `thumb`                                                                                                                                                                                                                            | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | /library/metadata/59398/thumb/1681888010                                                                                                                                                                                           |
| `art`                                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | /library/metadata/59398/art/1681888010                                                                                                                                                                                             |
| `duration`                                                                                                                                                                                                                         | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 7474422                                                                                                                                                                                                                            |
| `originallyAvailableAt`                                                                                                                                                                                                            | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 2023-02-15 00:00:00 +0000 UTC                                                                                                                                                                                                      |
| `addedAt`                                                                                                                                                                                                                          | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 1681803215                                                                                                                                                                                                                         |
| `updatedAt`                                                                                                                                                                                                                        | *number*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | 1681888010                                                                                                                                                                                                                         |
| `audienceRatingImage`                                                                                                                                                                                                              | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | rottentomatoes://image.rating.upright                                                                                                                                                                                              |
| `chapterSource`                                                                                                                                                                                                                    | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | media                                                                                                                                                                                                                              |
| `primaryExtraKey`                                                                                                                                                                                                                  | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | /library/metadata/59399                                                                                                                                                                                                            |
| `ratingImage`                                                                                                                                                                                                                      | *string*                                                                                                                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                | rottentomatoes://image.rating.rotten                                                                                                                                                                                               |
| `media`                                                                                                                                                                                                                            | [operations.GetRecentlyAddedLibraryMedia](../../../sdk/models/operations/getrecentlyaddedlibrarymedia.md)[]                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `genre`                                                                                                                                                                                                                            | [operations.GetRecentlyAddedLibraryGenre](../../../sdk/models/operations/getrecentlyaddedlibrarygenre.md)[]                                                                                                                        | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `director`                                                                                                                                                                                                                         | [operations.GetRecentlyAddedLibraryDirector](../../../sdk/models/operations/getrecentlyaddedlibrarydirector.md)[]                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `writer`                                                                                                                                                                                                                           | [operations.GetRecentlyAddedLibraryWriter](../../../sdk/models/operations/getrecentlyaddedlibrarywriter.md)[]                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `country`                                                                                                                                                                                                                          | [operations.GetRecentlyAddedLibraryCountry](../../../sdk/models/operations/getrecentlyaddedlibrarycountry.md)[]                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |
| `role`                                                                                                                                                                                                                             | [operations.GetRecentlyAddedLibraryRole](../../../sdk/models/operations/getrecentlyaddedlibraryrole.md)[]                                                                                                                          | :heavy_minus_sign:                                                                                                                                                                                                                 | N/A                                                                                                                                                                                                                                |                                                                                                                                                                                                                                    |