# GetLibraryItemsMetadata


## Fields

| Field                                                                                                                                                                                                                                    | Type                                                                                                                                                                                                                                     | Required                                                                                                                                                                                                                                 | Description                                                                                                                                                                                                                              | Example                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `rating_key`                                                                                                                                                                                                                             | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 58683                                                                                                                                                                                                                                    |
| `key`                                                                                                                                                                                                                                    | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/58683                                                                                                                                                                                                                  |
| `guid`                                                                                                                                                                                                                                   | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | plex://movie/5d7768ba96b655001fdc0408                                                                                                                                                                                                    |
| `studio`                                                                                                                                                                                                                                 | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 20th Century Studios                                                                                                                                                                                                                     |
| `type`                                                                                                                                                                                                                                   | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | movie                                                                                                                                                                                                                                    |
| `title`                                                                                                                                                                                                                                  | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Avatar: The Way of Water                                                                                                                                                                                                                 |
| `content_rating`                                                                                                                                                                                                                         | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | PG-13                                                                                                                                                                                                                                    |
| `summary`                                                                                                                                                                                                                                | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Jake Sully lives with his newfound family formed on the extrasolar moon Pandora. Once a familiar threat returns to finish what was previously started, Jake must work with Neytiri and the army of the Na'vi race to protect their home. |
| `rating`                                                                                                                                                                                                                                 | *T.nilable(::Float)*                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 7.6                                                                                                                                                                                                                                      |
| `audience_rating`                                                                                                                                                                                                                        | *T.nilable(::Float)*                                                                                                                                                                                                                     | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 9.2                                                                                                                                                                                                                                      |
| `year`                                                                                                                                                                                                                                   | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 2022                                                                                                                                                                                                                                     |
| `tagline`                                                                                                                                                                                                                                | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Return to Pandora.                                                                                                                                                                                                                       |
| `thumb`                                                                                                                                                                                                                                  | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/58683/thumb/1703239236                                                                                                                                                                                                 |
| `art`                                                                                                                                                                                                                                    | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/58683/art/1703239236                                                                                                                                                                                                   |
| `duration`                                                                                                                                                                                                                               | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 11558112                                                                                                                                                                                                                                 |
| `originally_available_at`                                                                                                                                                                                                                | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html)                                                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 2022-12-14 00:00:00 +0000 UTC                                                                                                                                                                                                            |
| `added_at`                                                                                                                                                                                                                               | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1680457607                                                                                                                                                                                                                               |
| `updated_at`                                                                                                                                                                                                                             | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1703239236                                                                                                                                                                                                                               |
| `audience_rating_image`                                                                                                                                                                                                                  | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | rottentomatoes://image.rating.upright                                                                                                                                                                                                    |
| `chapter_source`                                                                                                                                                                                                                         | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | media                                                                                                                                                                                                                                    |
| `primary_extra_key`                                                                                                                                                                                                                      | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/58684                                                                                                                                                                                                                  |
| `rating_image`                                                                                                                                                                                                                           | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | rottentomatoes://image.rating.ripe                                                                                                                                                                                                       |
| `grandparent_rating_key`                                                                                                                                                                                                                 | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 66                                                                                                                                                                                                                                       |
| `grandparent_guid`                                                                                                                                                                                                                       | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | plex://show/5d9c081b170e24001f2a7be4                                                                                                                                                                                                     |
| `grandparent_key`                                                                                                                                                                                                                        | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66                                                                                                                                                                                                                     |
| `grandparent_title`                                                                                                                                                                                                                      | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Caprica                                                                                                                                                                                                                                  |
| `grandparent_thumb`                                                                                                                                                                                                                      | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66/thumb/1705716261                                                                                                                                                                                                    |
| `grandparent_art`                                                                                                                                                                                                                        | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66/art/1705716261                                                                                                                                                                                                      |
| `grandparent_theme`                                                                                                                                                                                                                      | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66/theme/1705716261                                                                                                                                                                                                    |
| `media`                                                                                                                                                                                                                                  | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsMedia](../../models/operations/getlibraryitemsmedia.md)>                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `genre`                                                                                                                                                                                                                                  | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsGenre](../../models/operations/getlibraryitemsgenre.md)>                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `country`                                                                                                                                                                                                                                | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsCountry](../../models/operations/getlibraryitemscountry.md)>                                                                                                                         | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `director`                                                                                                                                                                                                                               | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsDirector](../../models/operations/getlibraryitemsdirector.md)>                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `writer`                                                                                                                                                                                                                                 | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsWriter](../../models/operations/getlibraryitemswriter.md)>                                                                                                                           | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `role`                                                                                                                                                                                                                                   | T::Array<[::PlexRubySDK::Operations::GetLibraryItemsRole](../../models/operations/getlibraryitemsrole.md)>                                                                                                                               | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                          |
| `title_sort`                                                                                                                                                                                                                             | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Whale                                                                                                                                                                                                                                    |
| `view_count`                                                                                                                                                                                                                             | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `last_viewed_at`                                                                                                                                                                                                                         | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1682752242                                                                                                                                                                                                                               |
| `original_title`                                                                                                                                                                                                                         | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 映画 ブラッククローバー 魔法帝の剣                                                                                                                                                                                                                       |
| `view_offset`                                                                                                                                                                                                                            | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 5222500                                                                                                                                                                                                                                  |
| `skip_count`                                                                                                                                                                                                                             | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `index`                                                                                                                                                                                                                                  | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `theme`                                                                                                                                                                                                                                  | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/1/theme/1705636920                                                                                                                                                                                                     |
| `leaf_count`                                                                                                                                                                                                                             | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 14                                                                                                                                                                                                                                       |
| `viewed_leaf_count`                                                                                                                                                                                                                      | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 0                                                                                                                                                                                                                                        |
| `child_count`                                                                                                                                                                                                                            | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `has_premium_extras`                                                                                                                                                                                                                     | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `has_premium_primary_extra`                                                                                                                                                                                                              | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `parent_rating_key`                                                                                                                                                                                                                      | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 66                                                                                                                                                                                                                                       |
| `parent_guid`                                                                                                                                                                                                                            | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | plex://show/5d9c081b170e24001f2a7be4                                                                                                                                                                                                     |
| `parent_studio`                                                                                                                                                                                                                          | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | UCP                                                                                                                                                                                                                                      |
| `parent_key`                                                                                                                                                                                                                             | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66                                                                                                                                                                                                                     |
| `parent_title`                                                                                                                                                                                                                           | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | Caprica                                                                                                                                                                                                                                  |
| `parent_index`                                                                                                                                                                                                                           | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 1                                                                                                                                                                                                                                        |
| `parent_year`                                                                                                                                                                                                                            | *T.nilable(::Integer)*                                                                                                                                                                                                                   | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | 2010                                                                                                                                                                                                                                     |
| `parent_thumb`                                                                                                                                                                                                                           | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66/thumb/1705716261                                                                                                                                                                                                    |
| `parent_theme`                                                                                                                                                                                                                           | *T.nilable(::String)*                                                                                                                                                                                                                    | :heavy_minus_sign:                                                                                                                                                                                                                       | N/A                                                                                                                                                                                                                                      | /library/metadata/66/theme/1705716261                                                                                                                                                                                                    |