ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.513.4

This commit is contained in:
speakeasybot
2025-03-10 00:10:34 +00:00
parent a229d5202b
commit c7cf202674
113 changed files with 2016 additions and 3320 deletions

File diff suppressed because one or more lines are too long

View File

@@ -15,7 +15,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
php:
version: 0.14.0
version: 0.14.1
additionalDependencies:
autoload: {}
autoload-dev: {}

View File

@@ -9,19 +9,19 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0
sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8
sourceRevisionDigest: sha256:2066ba94b55e21d651c79003e3cf402fb77c52a0969fc52310b3383fbed038f4
sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351
tags:
- latest
- speakeasy-sdk-regen-1741392513
- speakeasy-sdk-regen-1741565346
targets:
plexphp:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:bf7001af017ce5072c503bfbaf60793f94549163b517489dc53e4f7b685659c0
sourceBlobDigest: sha256:ed2b29043c84f32d2efa92a126083fd9a81644a7ce9c6ac86d9aeb3493cbd6f8
sourceRevisionDigest: sha256:2066ba94b55e21d651c79003e3cf402fb77c52a0969fc52310b3383fbed038f4
sourceBlobDigest: sha256:1737023e29cd9cf36c07ccd8c8c48c47e14f47ce22b4d6ba9ee241afbbd8f351
codeSamplesNamespace: code-samples-php-plexphp
codeSamplesRevisionDigest: sha256:01eb8c50402af5d52e723a8b01100b282a41088adf944ba9887c06ded6a81c76
codeSamplesRevisionDigest: sha256:c1760cfece394f08d2810dd5979ab885b155e54cf70571e06bec8d0b254d7efd
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -184,7 +184,6 @@ if ($response->object !== null) {
* [getSearchLibrary](docs/sdks/library/README.md#getsearchlibrary) - Search Library
* [getFileHash](docs/sdks/library/README.md#getfilehash) - Get Hash Value
* [getMetadataChildren](docs/sdks/library/README.md#getmetadatachildren) - Get Items Children
* [getOnDeck](docs/sdks/library/README.md#getondeck) - Get On Deck
* [getTopWatchedContent](docs/sdks/library/README.md#gettopwatchedcontent) - Get Top Watched Content
### [log](docs/sdks/log/README.md)

View File

@@ -803,3 +803,13 @@ Based on:
- [php v0.14.0] .
### Releases
- [Composer v0.14.0] https://packagist.org/packages/lukehagar/plex-api#v0.14.0 - .
## 2025-03-10 00:08:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.513.4 (2.545.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.14.1] .
### Releases
- [Composer v0.14.1] https://packagist.org/packages/lukehagar/plex-api#v0.14.1 - .

View File

@@ -906,33 +906,6 @@ actions:
if ($response->bytes !== null) {
// handle response
}
- target: $["paths"]["/library/onDeck"]["get"]
update:
x-codeSamples:
- lang: php
label: getOnDeck
source: |-
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$sdk = Plex_API\PlexAPI::builder()
->setSecurity(
'<YOUR_API_KEY_HERE>'
)
->build();
$response = $sdk->library->getOnDeck(
);
if ($response->object !== null) {
// handle response
}
- target: $["paths"]["/library/recentlyAdded"]["get"]
update:
x-codeSamples:

View File

@@ -1,11 +0,0 @@
# GetOnDeckBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `errors` | array<[Errors\GetOnDeckErrors](../../Models/Errors/GetOnDeckErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -1,10 +0,0 @@
# GetOnDeckErrors
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *?int* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *?string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *?int* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -1,10 +0,0 @@
# GetOnDeckLibraryErrors
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *?int* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *?string* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *?int* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -1,11 +0,0 @@
# GetOnDeckUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `errors` | array<[Errors\GetOnDeckLibraryErrors](../../Models/Errors/GetOnDeckLibraryErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `tag` | *?string* | :heavy_minus_sign: | N/A | Working NL Subs |
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
| `tag` | *string* | :heavy_check_mark: | The user-made collection this media item belongs to | My Awesome Collection |

View File

@@ -1,8 +1,12 @@
# Country
The filter query string for country media items.
## Fields
| Field | Type | Required | Description | Example |
| ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `tag` | *?string* | :heavy_minus_sign: | N/A | United States of America |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
| `tag` | *string* | :heavy_check_mark: | The country of origin of this media item | United States of America |
| `filter` | *?string* | :heavy_minus_sign: | N/A | country=19 |

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `tag` | *?string* | :heavy_minus_sign: | N/A | James Cameron |
| -------------------- | -------------------- | -------------------- | -------------------- | -------------------- |
| `tag` | *string* | :heavy_check_mark: | The role of Director | Danny Boyle |

View File

@@ -1,8 +1,12 @@
# Genre
The filter query string for similar items.
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `tag` | *?string* | :heavy_minus_sign: | N/A | Adventure |
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
| `filter` | *string* | :heavy_check_mark: | N/A | genre=19 |
| `tag` | *string* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `tag` | *string* | :heavy_check_mark: | The country of origin of this media item | United States of America |
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
| `tag` | *string* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |

View File

@@ -0,0 +1,8 @@
# GetAllMediaLibraryGuids
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `id` | *?string* | :heavy_minus_sign: | The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337<br/> | tvdb://2337 |

View File

@@ -4,10 +4,8 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique media identifier. | 387322 |
| `hasVoiceActivity` | *bool* | :heavy_check_mark: | Indicates whether voice activity is detected. | false |
| `part` | array<[Operations\GetAllMediaLibraryPart](../../Models/Operations/GetAllMediaLibraryPart.md)> | :heavy_check_mark: | An array of parts for this media item. | |
| `duration` | *?int* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
| `width` | *?int* | :heavy_minus_sign: | Video width in pixels. | 3840 |
@@ -21,6 +19,8 @@
| `container` | *?string* | :heavy_minus_sign: | File container type. | mkv |
| `videoFrameRate` | *?string* | :heavy_minus_sign: | Frame rate of the video. Values found include NTSC, PAL, 24p<br/> | 24p |
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `optimizedForStreaming` | [Operations\One\|bool\|null](../../Models/Operations/GetAllMediaLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `optimizedForStreaming` | [Operations\OptimizedForStreaming1\|bool\|null](../../Models/Operations/GetAllMediaLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `part` | array<[Operations\GetAllMediaLibraryPart](../../Models/Operations/GetAllMediaLibraryPart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |

View File

@@ -18,7 +18,6 @@ Unknown
| `summary` | *string* | :heavy_check_mark: | A synopsis of the media item. | Jake Sully lives with his newfound family formed on the extrasolar moon Pandora.<br/>Once a familiar threat returns to finish what was previously started, Jake must<br/>work with Neytiri and the army of the Na'vi race to protect their home.<br/> |
| `rating` | *float* | :heavy_check_mark: | The critic rating for the media item. | 7.6 |
| `audienceRating` | *float* | :heavy_check_mark: | The audience rating for the media item. | 9.2 |
| `year` | *int* | :heavy_check_mark: | The release year of the media item. | 2022 |
| `tagline` | *string* | :heavy_check_mark: | A brief tagline for the media item. | Return to Pandora. |
| `thumb` | *string* | :heavy_check_mark: | The thumbnail image URL for the media item. | /library/metadata/58683/thumb/1703239236 |
| `art` | *string* | :heavy_check_mark: | The art image URL for the media item. | /library/metadata/58683/art/1703239236 |
@@ -31,6 +30,7 @@ Unknown
| `addedAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `studio` | *?string* | :heavy_minus_sign: | The studio that produced the media item. | 20th Century Studios |
| `contentRating` | *?string* | :heavy_minus_sign: | The content rating for the media item. | PG-13 |
| `year` | *?int* | :heavy_minus_sign: | The release year of the media item. | 2022 |
| `leafCount` | *?int* | :heavy_minus_sign: | The number of leaf items (end nodes) under this media item. | 14 |
| `viewedLeafCount` | *?int* | :heavy_minus_sign: | The number of leaf items that have been viewed. | 0 |
| `updatedAt` | *?int* | :heavy_minus_sign: | Unix epoch datetime in seconds | 1556281940 |
@@ -70,5 +70,5 @@ Unknown
| `director` | array<[Operations\GetAllMediaLibraryDirector](../../Models/Operations/GetAllMediaLibraryDirector.md)> | :heavy_minus_sign: | N/A | |
| `writer` | array<[Operations\GetAllMediaLibraryWriter](../../Models/Operations/GetAllMediaLibraryWriter.md)> | :heavy_minus_sign: | N/A | |
| `role` | array<[Operations\GetAllMediaLibraryRole](../../Models/Operations/GetAllMediaLibraryRole.md)> | :heavy_minus_sign: | N/A | |
| `guids` | array<[Operations\Guids](../../Models/Operations/Guids.md)> | :heavy_minus_sign: | N/A | |
| `guids` | array<[Operations\GetAllMediaLibraryGuids](../../Models/Operations/GetAllMediaLibraryGuids.md)> | :heavy_minus_sign: | N/A | |
| `collection` | array<[Operations\GetAllMediaLibraryCollection](../../Models/Operations/GetAllMediaLibraryCollection.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -5,13 +5,13 @@ Has this media been optimized for streaming. NOTE: This can be 0, 1, false or tr
## Supported Types
### `Operations\One`
### `Operations\OptimizedForStreaming1`
```php
/**
* @var Operations\One
* @var Operations\OptimizedForStreaming1
*/
Operations\One $value = /* values here */
Operations\OptimizedForStreaming1 $value = /* values here */
```
### `bool`

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `tag` | *string* | :heavy_check_mark: | The name of the actor for this role | Danny Boyle |
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
| `tag` | *string* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |

View File

@@ -9,13 +9,13 @@
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
| `language` | *string* | :heavy_check_mark: | Language of the stream. | English |
| `languageTag` | *string* | :heavy_check_mark: | Language tag (e.g., en). | en |
| `languageCode` | *string* | :heavy_check_mark: | ISO language code. | eng |
| `displayTitle` | *string* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `extendedDisplayTitle` | *string* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
| `language` | *?string* | :heavy_minus_sign: | Language of the stream. | English |
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag (e.g., en). | en |
| `languageCode` | *?string* | :heavy_minus_sign: | ISO language code. | eng |
| `headerCompression` | *?bool* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
| `doviblCompatID` | *?int* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
| `doviblPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
@@ -30,6 +30,7 @@
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
| `codedHeight` | *?int* | :heavy_minus_sign: | Coded video height. | 1608 |
| `codedWidth` | *?int* | :heavy_minus_sign: | Coded video width. | 3840 |
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | true |
| `colorPrimaries` | *?string* | :heavy_minus_sign: | Color primaries used. | bt2020 |
| `colorRange` | *?string* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
| `colorSpace` | *?string* | :heavy_minus_sign: | Color space. | bt2020nc |
@@ -41,6 +42,7 @@
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | N/A | false |
| `profile` | *?string* | :heavy_minus_sign: | Video profile. | main 10 |
| `scanType` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames. | 1 |
| `width` | *?int* | :heavy_minus_sign: | Width of the video stream. | 3840 |
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |

View File

@@ -5,4 +5,4 @@
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `tag` | *string* | :heavy_check_mark: | The role of Writer | Danny Boyle |
| `tag` | *string* | :heavy_check_mark: | The role of Writer | Jamie P. Hanson |

View File

@@ -1,11 +0,0 @@
# GetLibraryItemsEnableCreditsMarkerGeneration
Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
## Values
| Name | Value |
| ---------------- | ---------------- |
| `LibraryDefault` | -1 |
| `Disabled` | 0 |

View File

@@ -1,12 +0,0 @@
# GetLibraryItemsEpisodeSort
Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
## Values
| Name | Value |
| ---------------- | ---------------- |
| `LibraryDefault` | -1 |
| `OldestFirst` | 0 |
| `NewestFirst` | 1 |

View File

@@ -1,12 +0,0 @@
# GetLibraryItemsFlattenSeasons
Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
## Values
| Name | Value |
| ---------------- | ---------------- |
| `LibraryDefault` | -1 |
| `Hide` | 0 |
| `Show` | 1 |

View File

@@ -1,8 +0,0 @@
# GetLibraryItemsMediaGuid
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| `id` | *string* | :heavy_check_mark: | Can be one of the following formats:<br/>imdb://tt13015952, tmdb://2434012, tvdb://7945991<br/> | imdb://tt13015952 |

View File

@@ -1,10 +0,0 @@
# GetLibraryItemsMetaDataRating
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| `image` | *string* | :heavy_check_mark: | A URI or path to the rating image. | themoviedb://image.rating |
| `value` | *float* | :heavy_check_mark: | The value of the rating. | 3 |
| `type` | *string* | :heavy_check_mark: | The type of rating (e.g., audience, critic). | audience |

View File

@@ -24,10 +24,10 @@
| `year` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `seasonCount` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `tagline` | *?string* | :heavy_minus_sign: | N/A | Return to Pandora. |
| `flattenSeasons` | [?Operations\GetLibraryItemsFlattenSeasons](../../Models/Operations/GetLibraryItemsFlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\GetLibraryItemsEpisodeSort](../../Models/Operations/GetLibraryItemsEpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\GetLibraryItemsEnableCreditsMarkerGeneration](../../Models/Operations/GetLibraryItemsEnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\GetLibraryItemsShowOrdering](../../Models/Operations/GetLibraryItemsShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show.<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>aired = TheTVDB (Aired),<br/>dvd = TheTVDB (DVD),<br/>absolute = TheTVDB (Absolute)).<br/> | absolute |
| `flattenSeasons` | [?Operations\FlattenSeasons](../../Models/Operations/FlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\EpisodeSort](../../Models/Operations/EpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\EnableCreditsMarkerGeneration](../../Models/Operations/EnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\ShowOrdering](../../Models/Operations/ShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show.<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>aired = TheTVDB (Aired),<br/>dvd = TheTVDB (DVD),<br/>absolute = TheTVDB (Absolute)).<br/> | absolute |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 |
| `banner` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/banner/1703239236 |
@@ -55,9 +55,9 @@
| `collection` | array<[Operations\GetLibraryItemsCollection](../../Models/Operations/GetLibraryItemsCollection.md)> | :heavy_minus_sign: | N/A | |
| `role` | array<[Operations\GetLibraryItemsRole](../../Models/Operations/GetLibraryItemsRole.md)> | :heavy_minus_sign: | N/A | |
| `location` | array<[Operations\GetLibraryItemsLocation](../../Models/Operations/GetLibraryItemsLocation.md)> | :heavy_minus_sign: | N/A | |
| `mediaGuid` | array<[Operations\GetLibraryItemsMediaGuid](../../Models/Operations/GetLibraryItemsMediaGuid.md)> | :heavy_minus_sign: | The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.<br/> | |
| `mediaGuid` | array<[Operations\MediaGuid](../../Models/Operations/MediaGuid.md)> | :heavy_minus_sign: | The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.<br/> | |
| `ultraBlurColors` | [?Operations\GetLibraryItemsUltraBlurColors](../../Models/Operations/GetLibraryItemsUltraBlurColors.md) | :heavy_minus_sign: | N/A | |
| `metaDataRating` | array<[Operations\GetLibraryItemsMetaDataRating](../../Models/Operations/GetLibraryItemsMetaDataRating.md)> | :heavy_minus_sign: | N/A | |
| `metaDataRating` | array<[Operations\MetaDataRating](../../Models/Operations/MetaDataRating.md)> | :heavy_minus_sign: | N/A | |
| `image` | array<[Operations\GetLibraryItemsImage](../../Models/Operations/GetLibraryItemsImage.md)> | :heavy_minus_sign: | N/A | |
| `titleSort` | *?string* | :heavy_minus_sign: | N/A | Whale |
| `viewCount` | *?int* | :heavy_minus_sign: | N/A | 1 |

View File

@@ -1,20 +0,0 @@
# GetLibraryItemsShowOrdering
Setting that indicates the episode ordering for the show.
None = Library default,
tmdbAiring = The Movie Database (Aired),
aired = TheTVDB (Aired),
dvd = TheTVDB (DVD),
absolute = TheTVDB (Absolute)).
## Values
| Name | Value |
| -------------- | -------------- |
| `None` | None |
| `TmdbAiring` | tmdbAiring |
| `TvdbAired` | aired |
| `TvdbDvd` | dvd |
| `TvdbAbsolute` | absolute |

View File

@@ -5,13 +5,13 @@ Has this media been optimized for streaming. NOTE: This can be 0, 1, false or tr
## Supported Types
### `Operations\GetMediaMetaDataOptimizedForStreaming1`
### `Operations\GetMediaMetaDataOptimizedForStreamingLibrary1`
```php
/**
* @var Operations\GetMediaMetaDataOptimizedForStreaming1
* @var Operations\GetMediaMetaDataOptimizedForStreamingLibrary1
*/
Operations\GetMediaMetaDataOptimizedForStreaming1 $value = /* values here */
Operations\GetMediaMetaDataOptimizedForStreamingLibrary1 $value = /* values here */
```
### `bool`

View File

@@ -4,10 +4,8 @@
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique media identifier. | 387322 |
| `hasVoiceActivity` | *bool* | :heavy_check_mark: | Indicates whether voice activity is detected. | false |
| `part` | array<[Operations\GetMediaMetaDataPart](../../Models/Operations/GetMediaMetaDataPart.md)> | :heavy_check_mark: | An array of parts for this media item. | |
| `duration` | *?int* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
| `width` | *?int* | :heavy_minus_sign: | Video width in pixels. | 3840 |
@@ -21,6 +19,8 @@
| `container` | *?string* | :heavy_minus_sign: | File container type. | mkv |
| `videoFrameRate` | *?string* | :heavy_minus_sign: | Frame rate of the video. Values found include NTSC, PAL, 24p<br/> | 24p |
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `optimizedForStreaming` | [Operations\OptimizedForStreaming1\|bool\|null](../../Models/Operations/GetMediaMetaDataOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `optimizedForStreaming` | [Operations\GetMediaMetaDataOptimizedForStreaming1\|bool\|null](../../Models/Operations/GetMediaMetaDataOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `part` | array<[Operations\GetMediaMetaDataPart](../../Models/Operations/GetMediaMetaDataPart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |

View File

@@ -63,6 +63,6 @@
| `role` | array<[Operations\GetMediaMetaDataRole](../../Models/Operations/GetMediaMetaDataRole.md)> | :heavy_minus_sign: | An array of Actor roles. | |
| `director` | array<[Operations\GetMediaMetaDataDirector](../../Models/Operations/GetMediaMetaDataDirector.md)> | :heavy_minus_sign: | An array of Director roles. | |
| `writer` | array<[Operations\GetMediaMetaDataWriter](../../Models/Operations/GetMediaMetaDataWriter.md)> | :heavy_minus_sign: | An array of Writer roles. | |
| `producer` | array<[Operations\Producer](../../Models/Operations/Producer.md)> | :heavy_minus_sign: | An array of Writer roles. | |
| `similar` | array<[Operations\Similar](../../Models/Operations/Similar.md)> | :heavy_minus_sign: | An array of similar content objects. | |
| `producer` | array<[Operations\GetMediaMetaDataProducer](../../Models/Operations/GetMediaMetaDataProducer.md)> | :heavy_minus_sign: | An array of Writer roles. | |
| `similar` | array<[Operations\GetMediaMetaDataSimilar](../../Models/Operations/GetMediaMetaDataSimilar.md)> | :heavy_minus_sign: | An array of similar content objects. | |
| `location` | array<[Operations\GetMediaMetaDataLocation](../../Models/Operations/GetMediaMetaDataLocation.md)> | :heavy_minus_sign: | An array of location objects. | |

View File

@@ -5,13 +5,13 @@ Has this media been optimized for streaming. NOTE: This can be 0, 1, false or tr
## Supported Types
### `Operations\OptimizedForStreaming1`
### `Operations\GetMediaMetaDataOptimizedForStreaming1`
```php
/**
* @var Operations\OptimizedForStreaming1
* @var Operations\GetMediaMetaDataOptimizedForStreaming1
*/
Operations\OptimizedForStreaming1 $value = /* values here */
Operations\GetMediaMetaDataOptimizedForStreaming1 $value = /* values here */
```
### `bool`

View File

@@ -0,0 +1,9 @@
# GetMediaMetaDataOptimizedForStreamingLibrary1
## Values
| Name | Value |
| ------ | ------ |
| `Zero` | 0 |
| `One` | 1 |

View File

@@ -4,7 +4,7 @@
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique part identifier. | 418385 |
| `key` | *string* | :heavy_check_mark: | Key to access this part. | /library/parts/418385/1735864239/file.mkv |
| `file` | *string* | :heavy_check_mark: | File path for the part. | /mnt/Movies_1/W/Wicked (2024).mkv |
@@ -18,6 +18,6 @@
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile for the part. | main 10 |
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `optimizedForStreaming` | [Operations\GetMediaMetaDataOptimizedForStreaming1\|bool\|null](../../Models/Operations/GetMediaMetaDataLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `optimizedForStreaming` | [Operations\GetMediaMetaDataOptimizedForStreamingLibrary1\|bool\|null](../../Models/Operations/GetMediaMetaDataLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `hasThumbnail` | [?Operations\GetMediaMetaDataHasThumbnail](../../Models/Operations/GetMediaMetaDataHasThumbnail.md) | :heavy_minus_sign: | N/A | 1 |
| `stream` | array<[Operations\GetMediaMetaDataStream](../../Models/Operations/GetMediaMetaDataStream.md)> | :heavy_minus_sign: | An array of streams for this part. | |

View File

@@ -0,0 +1,13 @@
# GetMediaMetaDataProducer
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | The unique role identifier. | 109501 |
| `filter` | *string* | :heavy_check_mark: | The filter string for the role. | actor=109501 |
| `tag` | *string* | :heavy_check_mark: | The actor's name. | Bob Odenkirk |
| `tagKey` | *string* | :heavy_check_mark: | A key associated with the actor tag. | 5d77683254f42c001f8c3f69 |
| `role` | *?string* | :heavy_minus_sign: | The character name or role. | Jimmy McGill |
| `thumb` | *?string* | :heavy_minus_sign: | URL for the role thumbnail image. | https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg |

View File

@@ -0,0 +1,10 @@
# GetMediaMetaDataSimilar
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `id` | *int* | :heavy_check_mark: | The unique similar item identifier. | 26 |
| `filter` | *string* | :heavy_check_mark: | The filter string for similar items. | similar=26 |
| `tag` | *string* | :heavy_check_mark: | The tag or title of the similar content. | Breaking Bad |

View File

@@ -9,13 +9,13 @@
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
| `language` | *string* | :heavy_check_mark: | Language of the stream. | English |
| `languageTag` | *string* | :heavy_check_mark: | Language tag (e.g., en). | en |
| `languageCode` | *string* | :heavy_check_mark: | ISO language code. | eng |
| `displayTitle` | *string* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `extendedDisplayTitle` | *string* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
| `language` | *?string* | :heavy_minus_sign: | Language of the stream. | English |
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag (e.g., en). | en |
| `languageCode` | *?string* | :heavy_minus_sign: | ISO language code. | eng |
| `headerCompression` | *?bool* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
| `doviblCompatID` | *?int* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
| `doviblPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
@@ -30,6 +30,7 @@
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
| `codedHeight` | *?int* | :heavy_minus_sign: | Coded video height. | 1608 |
| `codedWidth` | *?int* | :heavy_minus_sign: | Coded video width. | 3840 |
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | true |
| `colorPrimaries` | *?string* | :heavy_minus_sign: | Color primaries used. | bt2020 |
| `colorRange` | *?string* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
| `colorSpace` | *?string* | :heavy_minus_sign: | Color space. | bt2020nc |
@@ -41,6 +42,7 @@
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | N/A | false |
| `profile` | *?string* | :heavy_minus_sign: | Video profile. | main 10 |
| `scanType` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames. | 1 |
| `width` | *?int* | :heavy_minus_sign: | Width of the video stream. | 3840 |
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |

View File

@@ -1,8 +0,0 @@
# GetOnDeckGuids
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `id` | *?string* | :heavy_minus_sign: | N/A | imdb://tt13303712 |

View File

@@ -1,22 +0,0 @@
# GetOnDeckMedia
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| `id` | *?float* | :heavy_minus_sign: | N/A | 80994 |
| `duration` | *?float* | :heavy_minus_sign: | N/A | 420080 |
| `bitrate` | *?float* | :heavy_minus_sign: | N/A | 1046 |
| `width` | *?float* | :heavy_minus_sign: | N/A | 1920 |
| `height` | *?float* | :heavy_minus_sign: | N/A | 1080 |
| `aspectRatio` | *?float* | :heavy_minus_sign: | N/A | 1.78 |
| `audioChannels` | *?float* | :heavy_minus_sign: | N/A | 2 |
| `audioCodec` | *?string* | :heavy_minus_sign: | N/A | aac |
| `videoCodec` | *?string* | :heavy_minus_sign: | N/A | hevc |
| `videoResolution` | *?string* | :heavy_minus_sign: | N/A | 1080 |
| `container` | *?string* | :heavy_minus_sign: | N/A | mkv |
| `videoFrameRate` | *?string* | :heavy_minus_sign: | N/A | PAL |
| `audioProfile` | *?string* | :heavy_minus_sign: | N/A | lc |
| `videoProfile` | *?string* | :heavy_minus_sign: | N/A | main |
| `part` | array<[Operations\GetOnDeckPart](../../Models/Operations/GetOnDeckPart.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,14 +0,0 @@
# GetOnDeckMediaContainer
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| `size` | *?float* | :heavy_minus_sign: | N/A | 16 |
| `allowSync` | *?bool* | :heavy_minus_sign: | N/A | |
| `identifier` | *?string* | :heavy_minus_sign: | N/A | com.plexapp.plugins.library |
| `mediaTagPrefix` | *?string* | :heavy_minus_sign: | N/A | /system/bundle/media/flags/ |
| `mediaTagVersion` | *?float* | :heavy_minus_sign: | N/A | 1680021154 |
| `mixedParents` | *?bool* | :heavy_minus_sign: | N/A | |
| `metadata` | array<[Operations\GetOnDeckMetadata](../../Models/Operations/GetOnDeckMetadata.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,43 +0,0 @@
# GetOnDeckMetadata
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowSync` | *?bool* | :heavy_minus_sign: | N/A | |
| `librarySectionID` | *?float* | :heavy_minus_sign: | N/A | 2 |
| `librarySectionTitle` | *?string* | :heavy_minus_sign: | N/A | TV Shows |
| `librarySectionUUID` | *?string* | :heavy_minus_sign: | N/A | 4bb2521c-8ba9-459b-aaee-8ab8bc35eabd |
| `ratingKey` | *?float* | :heavy_minus_sign: | N/A | 49564 |
| `key` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49564 |
| `parentRatingKey` | *?float* | :heavy_minus_sign: | N/A | 49557 |
| `grandparentRatingKey` | *?float* | :heavy_minus_sign: | N/A | 49556 |
| `guid` | *?string* | :heavy_minus_sign: | N/A | plex://episode/5ea7d7402e7ab10042e74d4f |
| `parentGuid` | *?string* | :heavy_minus_sign: | N/A | plex://season/602e754d67f4c8002ce54b3d |
| `grandparentGuid` | *?string* | :heavy_minus_sign: | N/A | plex://show/5d9c090e705e7a001e6e94d8 |
| `type` | *?string* | :heavy_minus_sign: | N/A | episode |
| `title` | *?string* | :heavy_minus_sign: | N/A | Circus |
| `grandparentKey` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49556 |
| `parentKey` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49557 |
| `librarySectionKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2 |
| `grandparentTitle` | *?string* | :heavy_minus_sign: | N/A | Bluey (2018) |
| `parentTitle` | *?string* | :heavy_minus_sign: | N/A | Season 2 |
| `contentRating` | *?string* | :heavy_minus_sign: | N/A | TV-Y |
| `summary` | *?string* | :heavy_minus_sign: | N/A | Bluey is the ringmaster in a game of circus with her friends but Hercules wants to play his motorcycle game instead. Luckily Bluey has a solution to keep everyone happy. |
| `index` | *?float* | :heavy_minus_sign: | N/A | 33 |
| `parentIndex` | *?float* | :heavy_minus_sign: | N/A | 2 |
| `lastViewedAt` | *?float* | :heavy_minus_sign: | N/A | 1681908352 |
| `year` | *?float* | :heavy_minus_sign: | N/A | 2018 |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49564/thumb/1654258204 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49556/art/1680939546 |
| `parentThumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49557/thumb/1654258204 |
| `grandparentThumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49556/thumb/1680939546 |
| `grandparentArt` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49556/art/1680939546 |
| `grandparentTheme` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/49556/theme/1680939546 |
| `duration` | *?float* | :heavy_minus_sign: | N/A | 420080 |
| `originallyAvailableAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | 2020-10-31 00:00:00 +0000 UTC |
| `addedAt` | *?float* | :heavy_minus_sign: | N/A | 1654258196 |
| `updatedAt` | *?float* | :heavy_minus_sign: | N/A | 1654258204 |
| `media` | array<[Operations\GetOnDeckMedia](../../Models/Operations/GetOnDeckMedia.md)> | :heavy_minus_sign: | N/A | |
| `guids` | array<[Operations\GetOnDeckGuids](../../Models/Operations/GetOnDeckGuids.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,16 +0,0 @@
# GetOnDeckPart
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `id` | *?float* | :heavy_minus_sign: | N/A | 80994 |
| `key` | *?string* | :heavy_minus_sign: | N/A | /library/parts/80994/1655007810/file.mkv |
| `duration` | *?float* | :heavy_minus_sign: | N/A | 420080 |
| `file` | *?string* | :heavy_minus_sign: | N/A | /tvshows/Bluey (2018)/Bluey (2018) - S02E33 - Circus.mkv |
| `size` | *?float* | :heavy_minus_sign: | N/A | 55148931 |
| `audioProfile` | *?string* | :heavy_minus_sign: | N/A | lc |
| `container` | *?string* | :heavy_minus_sign: | N/A | mkv |
| `videoProfile` | *?string* | :heavy_minus_sign: | N/A | main |
| `stream` | array<[Operations\GetOnDeckStream](../../Models/Operations/GetOnDeckStream.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,11 +0,0 @@
# GetOnDeckResponse
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `object` | [?Operations\GetOnDeckResponseBody](../../Models/Operations/GetOnDeckResponseBody.md) | :heavy_minus_sign: | The on Deck content |

View File

@@ -1,10 +0,0 @@
# GetOnDeckResponseBody
The on Deck content
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `mediaContainer` | [?Operations\GetOnDeckMediaContainer](../../Models/Operations/GetOnDeckMediaContainer.md) | :heavy_minus_sign: | N/A |

View File

@@ -1,30 +0,0 @@
# GetOnDeckStream
## Fields
| Field | Type | Required | Description | Example |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `id` | *?float* | :heavy_minus_sign: | N/A | 211234 |
| `streamType` | *?float* | :heavy_minus_sign: | N/A | 1 |
| `default` | *?bool* | :heavy_minus_sign: | N/A | |
| `codec` | *?string* | :heavy_minus_sign: | N/A | hevc |
| `index` | *?float* | :heavy_minus_sign: | N/A | 0 |
| `bitrate` | *?float* | :heavy_minus_sign: | N/A | 918 |
| `language` | *?string* | :heavy_minus_sign: | N/A | English |
| `languageTag` | *?string* | :heavy_minus_sign: | N/A | en |
| `languageCode` | *?string* | :heavy_minus_sign: | N/A | eng |
| `bitDepth` | *?float* | :heavy_minus_sign: | N/A | 8 |
| `chromaLocation` | *?string* | :heavy_minus_sign: | N/A | left |
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | N/A | 4:2:0 |
| `codedHeight` | *?float* | :heavy_minus_sign: | N/A | 1080 |
| `codedWidth` | *?float* | :heavy_minus_sign: | N/A | 1920 |
| `colorRange` | *?string* | :heavy_minus_sign: | N/A | tv |
| `frameRate` | *?float* | :heavy_minus_sign: | N/A | 25 |
| `height` | *?float* | :heavy_minus_sign: | N/A | 1080 |
| `level` | *?float* | :heavy_minus_sign: | N/A | 120 |
| `profile` | *?string* | :heavy_minus_sign: | N/A | main |
| `refFrames` | *?float* | :heavy_minus_sign: | N/A | 1 |
| `width` | *?float* | :heavy_minus_sign: | N/A | 1920 |
| `displayTitle` | *?string* | :heavy_minus_sign: | N/A | 1080p (HEVC Main) |
| `extendedDisplayTitle` | *?string* | :heavy_minus_sign: | N/A | 1080p (HEVC Main) |

View File

@@ -5,10 +5,10 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| `size` | *int* | :heavy_check_mark: | N/A | 50 |
| `offset` | *?int* | :heavy_minus_sign: | N/A | |
| `totalSize` | *?int* | :heavy_minus_sign: | N/A | |
| `identifier` | *?string* | :heavy_minus_sign: | N/A | com.plexapp.plugins.library |
| `allowSync` | *?bool* | :heavy_minus_sign: | N/A | false |
| `size` | *int* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
| `totalSize` | *int* | :heavy_check_mark: | Total number of media items in the library. | 50 |
| `offset` | *int* | :heavy_check_mark: | Offset value for pagination. | 0 |
| `allowSync` | *bool* | :heavy_check_mark: | Indicates whether syncing is allowed. | false |
| `identifier` | *string* | :heavy_check_mark: | An plugin identifier for the media container. | com.plexapp.plugins.library |
| `meta` | [?Operations\Meta](../../Models/Operations/Meta.md) | :heavy_minus_sign: | The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.<br/> | |
| `metadata` | array<[Operations\GetRecentlyAddedMetadata](../../Models/Operations/GetRecentlyAddedMetadata.md)> | :heavy_minus_sign: | N/A | |
| `metadata` | array<[Operations\GetRecentlyAddedMetadata](../../Models/Operations/GetRecentlyAddedMetadata.md)> | :heavy_minus_sign: | An array of metadata items. | |

View File

@@ -1,83 +1,85 @@
# GetRecentlyAddedMetadata
Unknown
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ratingKey` | *string* | :heavy_check_mark: | The rating key (Media ID) of this media item.<br/>Note: This is always an integer, but is represented as a string in the API.<br/> | 58683 |
| `key` | *string* | :heavy_check_mark: | N/A | /library/metadata/58683 |
| `guid` | *string* | :heavy_check_mark: | N/A | plex://movie/5d7768ba96b655001fdc0408 |
| `type` | [Operations\GetRecentlyAddedHubsType](../../Models/Operations/GetRecentlyAddedHubsType.md) | :heavy_check_mark: | The type of media content<br/> | movie |
| `title` | *string* | :heavy_check_mark: | N/A | Avatar: The Way of Water |
| `summary` | *string* | :heavy_check_mark: | 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. |
| `addedAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `studio` | *?string* | :heavy_minus_sign: | N/A | 20th Century Studios |
| `skipChildren` | *?bool* | :heavy_minus_sign: | N/A | false |
| `librarySectionID` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `librarySectionTitle` | *?string* | :heavy_minus_sign: | N/A | Movies |
| `librarySectionKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/1 |
| `slug` | *?string* | :heavy_minus_sign: | N/A | 4-for-texas |
| `contentRating` | *?string* | :heavy_minus_sign: | N/A | PG-13 |
| `rating` | *?float* | :heavy_minus_sign: | N/A | 7.6 |
| `audienceRating` | *?float* | :heavy_minus_sign: | N/A | 9.2 |
| `year` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `seasonCount` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `tagline` | *?string* | :heavy_minus_sign: | N/A | Return to Pandora. |
| `flattenSeasons` | [?Operations\FlattenSeasons](../../Models/Operations/FlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\EpisodeSort](../../Models/Operations/EpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\EnableCreditsMarkerGeneration](../../Models/Operations/EnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\ShowOrdering](../../Models/Operations/ShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show.<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>aired = TheTVDB (Aired),<br/>dvd = TheTVDB (DVD),<br/>absolute = TheTVDB (Absolute)).<br/> | absolute |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 |
| `banner` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/banner/1703239236 |
| `duration` | *?int* | :heavy_minus_sign: | N/A | 11558112 |
| `originallyAvailableAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | N/A | 2022-12-14 00:00:00 +0000 UTC |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `addedAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `art` | *string* | :heavy_check_mark: | The art image URL for the media item. | /library/metadata/58683/art/1703239236 |
| `audienceRating` | *float* | :heavy_check_mark: | The audience rating for the media item. | 9.2 |
| `childCount` | *int* | :heavy_check_mark: | The number of child items associated with this media item. | 1 |
| `duration` | *int* | :heavy_check_mark: | The duration of the media item in milliseconds. | 11558112 |
| `guid` | *string* | :heavy_check_mark: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
| `index` | *int* | :heavy_check_mark: | The index position of the media item. | 1 |
| `key` | *string* | :heavy_check_mark: | The unique key for the media item. | /library/metadata/58683 |
| `librarySectionID` | *int* | :heavy_check_mark: | The identifier for the library section. | 1 |
| `librarySectionKey` | *string* | :heavy_check_mark: | The key corresponding to the library section. | /library/sections/1 |
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | Movies |
| `originallyAvailableAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | The original release date of the media item. | 2022-12-14 |
| `parentStudio` | *string* | :heavy_check_mark: | The studio of the parent media item. | UCP |
| `parentTheme` | *string* | :heavy_check_mark: | The theme URL for the parent media item. | /library/metadata/66/theme/1705716261 |
| `ratingKey` | *string* | :heavy_check_mark: | The rating key (Media ID) of this media item. Note: Although this is always an integer, it is represented as a string in the API. | 58683 |
| `rating` | *float* | :heavy_check_mark: | The critic rating for the media item. | 7.6 |
| `seasonCount` | *int* | :heavy_check_mark: | The total number of seasons (for TV shows). | 2022 |
| `slug` | *string* | :heavy_check_mark: | A URLfriendly version of the media title. | 4-for-texas |
| `summary` | *string* | :heavy_check_mark: | A synopsis of the media item. | Jake Sully lives with his newfound family formed on the extrasolar moon Pandora.<br/>Once a familiar threat returns to finish what was previously started, Jake must<br/>work with Neytiri and the army of the Na'vi race to protect their home.<br/> |
| `tagline` | *string* | :heavy_check_mark: | A brief tagline for the media item. | Return to Pandora. |
| `theme` | *string* | :heavy_check_mark: | The theme URL for the media item. | /library/metadata/1/theme/1705636920 |
| `thumb` | *string* | :heavy_check_mark: | The thumbnail image URL for the media item. | /library/metadata/58683/thumb/1703239236 |
| `titleSort` | *string* | :heavy_check_mark: | The sort title used for ordering media items. | Whale |
| `title` | *string* | :heavy_check_mark: | The title of the media item. | Avatar: The Way of Water |
| `type` | [Operations\GetRecentlyAddedHubsType](../../Models/Operations/GetRecentlyAddedHubsType.md) | :heavy_check_mark: | N/A | movie |
| `audienceRatingImage` | *?string* | :heavy_minus_sign: | The URL for the audience rating image. | rottentomatoes://image.rating.upright |
| `chapterSource` | *?string* | :heavy_minus_sign: | The source from which chapter data is derived. | media |
| `contentRating` | *?string* | :heavy_minus_sign: | The content rating for the media item. | PG-13 |
| `createdAtAccuracy` | *?string* | :heavy_minus_sign: | The accuracy of the creation timestamp. This value indicates the format(s) provided (for example, 'epoch,local' means both epoch and local time formats are available). | epoch,local |
| `createdAtTZOffset` | *?string* | :heavy_minus_sign: | The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC. | 0 |
| `grandparentArt` | *?string* | :heavy_minus_sign: | The art URL for the grandparent media item. | /library/metadata/66/art/1705716261 |
| `grandparentGuid` | *?string* | :heavy_minus_sign: | The GUID of the grandparent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `grandparentKey` | *?string* | :heavy_minus_sign: | The key of the grandparent media item. | /library/metadata/66 |
| `grandparentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the grandparent media item. | 66 |
| `grandparentSlug` | *?string* | :heavy_minus_sign: | The slug for the grandparent media item. | alice-in-borderland-2020 |
| `grandparentTheme` | *?string* | :heavy_minus_sign: | The theme URL for the grandparent media item. | /library/metadata/66/theme/1705716261 |
| `grandparentThumb` | *?string* | :heavy_minus_sign: | The thumbnail URL for the grandparent media item. | /library/metadata/66/thumb/1705716261 |
| `grandparentTitle` | *?string* | :heavy_minus_sign: | The title of the grandparent media item. | Caprica |
| `lastRatedAt` | *?int* | :heavy_minus_sign: | The Unix timestamp representing the last time the item was rated. | 1721813113 |
| `lastViewedAt` | *?int* | :heavy_minus_sign: | Unix timestamp for when the media item was last viewed. | 1682752242 |
| `leafCount` | *?int* | :heavy_minus_sign: | The number of leaf items (end nodes) under this media item. | 14 |
| `originalTitle` | *?string* | :heavy_minus_sign: | The original title of the media item (if different). | 映画 ブラッククローバー 魔法帝の剣 |
| `parentGuid` | *?string* | :heavy_minus_sign: | The GUID of the parent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `parentIndex` | *?int* | :heavy_minus_sign: | The index position of the parent media item. | 1 |
| `parentKey` | *?string* | :heavy_minus_sign: | The key of the parent media item. | /library/metadata/66 |
| `parentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the parent media item. | 66 |
| `parentSlug` | *?string* | :heavy_minus_sign: | The slug for the parent media item. | alice-in-borderland-2020 |
| `parentThumb` | *?string* | :heavy_minus_sign: | The thumbnail URL for the parent media item. | /library/metadata/66/thumb/1705716261 |
| `parentTitle` | *?string* | :heavy_minus_sign: | The title of the parent media item. | Caprica |
| `parentYear` | *?int* | :heavy_minus_sign: | The release year of the parent media item. | 2010 |
| `primaryExtraKey` | *?string* | :heavy_minus_sign: | The primary extra key associated with this media item. | /library/metadata/58684 |
| `ratingImage` | *?string* | :heavy_minus_sign: | The URL for the rating image. | rottentomatoes://image.rating.ripe |
| `skipCount` | *?int* | :heavy_minus_sign: | The number of times this media item has been skipped. | 1 |
| `studio` | *?string* | :heavy_minus_sign: | The studio that produced the media item. | 20th Century Studios |
| `subtype` | *?string* | :heavy_minus_sign: | A classification that further describes the type of media item. For example, 'clip' indicates that the item is a short video clip. | clip |
| `updatedAt` | *?int* | :heavy_minus_sign: | Unix epoch datetime in seconds | 1556281940 |
| `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/58684 |
| `ratingImage` | *?string* | :heavy_minus_sign: | N/A | rottentomatoes://image.rating.ripe |
| `grandparentRatingKey` | *?string* | :heavy_minus_sign: | N/A | 66 |
| `grandparentGuid` | *?string* | :heavy_minus_sign: | N/A | plex://show/5d9c081b170e24001f2a7be4 |
| `grandparentKey` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66 |
| `grandparentTitle` | *?string* | :heavy_minus_sign: | N/A | Caprica |
| `grandparentThumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66/thumb/1705716261 |
| `parentSlug` | *?string* | :heavy_minus_sign: | N/A | alice-in-borderland-2020 |
| `grandparentSlug` | *?string* | :heavy_minus_sign: | N/A | alice-in-borderland-2020 |
| `grandparentArt` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66/art/1705716261 |
| `grandparentTheme` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66/theme/1705716261 |
| `media` | array<[Operations\Media](../../Models/Operations/Media.md)> | :heavy_minus_sign: | The Media object is only included when type query is `4` or higher.<br/> | |
| `userRating` | *?float* | :heavy_minus_sign: | The rating provided by a user for the item. This value is expressed as a decimal number. | 10 |
| `viewCount` | *?int* | :heavy_minus_sign: | The number of times this media item has been viewed. | 1 |
| `viewOffset` | *?int* | :heavy_minus_sign: | The current playback offset (in milliseconds). | 5222500 |
| `viewedLeafCount` | *?int* | :heavy_minus_sign: | The number of leaf items that have been viewed. | 0 |
| `year` | *?int* | :heavy_minus_sign: | The release year of the media item. | 2022 |
| `image` | array<[Operations\GetRecentlyAddedImage](../../Models/Operations/GetRecentlyAddedImage.md)> | :heavy_minus_sign: | N/A | |
| `ultraBlurColors` | [?Operations\UltraBlurColors](../../Models/Operations/UltraBlurColors.md) | :heavy_minus_sign: | N/A | |
| `media` | array<[Operations\Media](../../Models/Operations/Media.md)> | :heavy_minus_sign: | N/A | |
| `genre` | array<[Operations\Genre](../../Models/Operations/Genre.md)> | :heavy_minus_sign: | N/A | |
| `country` | array<[Operations\Country](../../Models/Operations/Country.md)> | :heavy_minus_sign: | N/A | |
| `director` | array<[Operations\Director](../../Models/Operations/Director.md)> | :heavy_minus_sign: | N/A | |
| `writer` | array<[Operations\Writer](../../Models/Operations/Writer.md)> | :heavy_minus_sign: | N/A | |
| `collection` | array<[Operations\Collection](../../Models/Operations/Collection.md)> | :heavy_minus_sign: | N/A | |
| `role` | array<[Operations\Role](../../Models/Operations/Role.md)> | :heavy_minus_sign: | N/A | |
| `producer` | array<[Operations\Producer](../../Models/Operations/Producer.md)> | :heavy_minus_sign: | N/A | |
| `rating1` | array<[Operations\Rating](../../Models/Operations/Rating.md)> | :heavy_minus_sign: | N/A | |
| `similar` | array<[Operations\Similar](../../Models/Operations/Similar.md)> | :heavy_minus_sign: | N/A | |
| `location` | array<[Operations\Location](../../Models/Operations/Location.md)> | :heavy_minus_sign: | N/A | |
| `mediaGuid` | array<[Operations\MediaGuid](../../Models/Operations/MediaGuid.md)> | :heavy_minus_sign: | The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.<br/> | |
| `ultraBlurColors` | [?Operations\UltraBlurColors](../../Models/Operations/UltraBlurColors.md) | :heavy_minus_sign: | N/A | |
| `metaDataRating` | array<[Operations\MetaDataRating](../../Models/Operations/MetaDataRating.md)> | :heavy_minus_sign: | N/A | |
| `image` | array<[Operations\GetRecentlyAddedImage](../../Models/Operations/GetRecentlyAddedImage.md)> | :heavy_minus_sign: | N/A | |
| `titleSort` | *?string* | :heavy_minus_sign: | N/A | Whale |
| `viewCount` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `lastViewedAt` | *?int* | :heavy_minus_sign: | N/A | 1682752242 |
| `originalTitle` | *?string* | :heavy_minus_sign: | N/A | 映画 ブラッククローバー 魔法帝の剣 |
| `viewOffset` | *?int* | :heavy_minus_sign: | N/A | 5222500 |
| `skipCount` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `index` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `theme` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/1/theme/1705636920 |
| `leafCount` | *?int* | :heavy_minus_sign: | N/A | 14 |
| `viewedLeafCount` | *?int* | :heavy_minus_sign: | N/A | 0 |
| `childCount` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `hasPremiumExtras` | *?string* | :heavy_minus_sign: | N/A | 1 |
| `hasPremiumPrimaryExtra` | *?string* | :heavy_minus_sign: | N/A | 1 |
| `parentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the parent item.<br/> | 66 |
| `parentGuid` | *?string* | :heavy_minus_sign: | N/A | plex://show/5d9c081b170e24001f2a7be4 |
| `parentStudio` | *?string* | :heavy_minus_sign: | N/A | UCP |
| `parentKey` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66 |
| `parentTitle` | *?string* | :heavy_minus_sign: | N/A | Caprica |
| `parentIndex` | *?int* | :heavy_minus_sign: | N/A | 1 |
| `parentYear` | *?int* | :heavy_minus_sign: | N/A | 2010 |
| `parentThumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66/thumb/1705716261 |
| `parentTheme` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/66/theme/1705716261 |
| `guids` | array<[Operations\Guids](../../Models/Operations/Guids.md)> | :heavy_minus_sign: | N/A | |
| `collection` | array<[Operations\Collection](../../Models/Operations/Collection.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -0,0 +1,25 @@
# GetRecentlyAddedOptimizedForStreaming
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
## Supported Types
### `Operations\GetRecentlyAddedOptimizedForStreaming1`
```php
/**
* @var Operations\GetRecentlyAddedOptimizedForStreaming1
*/
Operations\GetRecentlyAddedOptimizedForStreaming1 $value = /* values here */
```
### `bool`
```php
/**
* @var bool
*/
bool $value = /* values here */
```

View File

@@ -0,0 +1,9 @@
# GetRecentlyAddedOptimizedForStreaming1
## Values
| Name | Value |
| ------ | ------ |
| `Zero` | 0 |
| `One` | 1 |

View File

@@ -1,5 +1,7 @@
# HasThumbnail
Indicates if the part has a thumbnail.
## Values

View File

@@ -1,8 +1,10 @@
# Location
The folder path for the media item.
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `path` | *?string* | :heavy_minus_sign: | N/A | /TV Shows/House |
| ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- |
| `path` | *string* | :heavy_check_mark: | N/A | /TV Shows/Clarkson's Farm |

View File

@@ -4,22 +4,23 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 119534 |
| `container` | *string* | :heavy_check_mark: | N/A | mkv |
| `part` | array<[Operations\Part](../../Models/Operations/Part.md)> | :heavy_check_mark: | N/A | |
| `duration` | *?int* | :heavy_minus_sign: | N/A | 11558112 |
| `bitrate` | *?int* | :heavy_minus_sign: | N/A | 25025 |
| `width` | *?int* | :heavy_minus_sign: | N/A | 3840 |
| `height` | *?int* | :heavy_minus_sign: | N/A | 2072 |
| `aspectRatio` | *?float* | :heavy_minus_sign: | N/A | 1.85 |
| `audioProfile` | *?string* | :heavy_minus_sign: | N/A | dts |
| `audioChannels` | *?int* | :heavy_minus_sign: | N/A | 6 |
| `audioCodec` | *?string* | :heavy_minus_sign: | N/A | eac3 |
| `videoCodec` | *?string* | :heavy_minus_sign: | N/A | hevc |
| `videoResolution` | *?string* | :heavy_minus_sign: | N/A | 4k |
| `videoFrameRate` | *?string* | :heavy_minus_sign: | N/A | 24p |
| `videoProfile` | *?string* | :heavy_minus_sign: | N/A | main 10 |
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | N/A | false |
| `optimizedForStreaming` | [?Operations\OptimizedForStreaming](../../Models/Operations/OptimizedForStreaming.md) | :heavy_minus_sign: | N/A | 1 |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique media identifier. | 387322 |
| `duration` | *?int* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
| `width` | *?int* | :heavy_minus_sign: | Video width in pixels. | 3840 |
| `height` | *?int* | :heavy_minus_sign: | Video height in pixels. | 1602 |
| `aspectRatio` | *?float* | :heavy_minus_sign: | Aspect ratio of the video. | 2.35 |
| `audioChannels` | *?int* | :heavy_minus_sign: | Number of audio channels. | 6 |
| `displayOffset` | *?int* | :heavy_minus_sign: | N/A | 50 |
| `audioCodec` | *?string* | :heavy_minus_sign: | Audio codec used. | eac3 |
| `videoCodec` | *?string* | :heavy_minus_sign: | Video codec used. | hevc |
| `videoResolution` | *?string* | :heavy_minus_sign: | Video resolution (e.g., 4k). | 4k |
| `container` | *?string* | :heavy_minus_sign: | File container type. | mkv |
| `videoFrameRate` | *?string* | :heavy_minus_sign: | Frame rate of the video. Values found include NTSC, PAL, 24p<br/> | 24p |
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `optimizedForStreaming` | [Operations\One\|bool\|null](../../Models/Operations/OptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `part` | array<[Operations\Part](../../Models/Operations/Part.md)> | :heavy_minus_sign: | An array of parts for this media item. | |

View File

@@ -1,9 +1,25 @@
# OptimizedForStreaming
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |
## Supported Types
### `Operations\One`
```php
/**
* @var Operations\One
*/
Operations\One $value = /* values here */
```
### `bool`
```php
/**
* @var bool
*/
bool $value = /* values here */
```

View File

@@ -4,17 +4,20 @@
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 119542 |
| `key` | *string* | :heavy_check_mark: | N/A | /library/parts/119542/1680457526/file.mkv |
| `file` | *string* | :heavy_check_mark: | N/A | /movies/Avatar The Way of Water (2022)/Avatar.The.Way.of.Water.2022.2160p.WEB-DL.DDP5.1.Atmos.DV.HDR10.HEVC-CMRG.mkv |
| `size` | *int* | :heavy_check_mark: | N/A | 36158371307 |
| `container` | *string* | :heavy_check_mark: | The container format of the media file.<br/> | mkv |
| `duration` | *?int* | :heavy_minus_sign: | N/A | 11558112 |
| `audioProfile` | *?string* | :heavy_minus_sign: | N/A | dts |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `optimizedForStreaming` | *?bool* | :heavy_minus_sign: | N/A | false |
| `videoProfile` | *?string* | :heavy_minus_sign: | N/A | main 10 |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique part identifier. | 418385 |
| `key` | *string* | :heavy_check_mark: | Key to access this part. | /library/parts/418385/1735864239/file.mkv |
| `file` | *string* | :heavy_check_mark: | File path for the part. | /mnt/Movies_1/W/Wicked (2024).mkv |
| `size` | *int* | :heavy_check_mark: | File size in bytes. | 30649952104 |
| `accessible` | *?bool* | :heavy_minus_sign: | Indicates if the part is accessible. | true |
| `exists` | *?bool* | :heavy_minus_sign: | Indicates if the part exists. | true |
| `indexes` | *?string* | :heavy_minus_sign: | N/A | sd |
| `duration` | *?int* | :heavy_minus_sign: | Duration of the part in milliseconds. | 9610350 |
| `packetLength` | *?int* | :heavy_minus_sign: | N/A | 188 |
| `container` | *?string* | :heavy_minus_sign: | Container format of the part. | mkv |
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile for the part. | main 10 |
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
| `optimizedForStreaming` | [Operations\GetRecentlyAddedOptimizedForStreaming1\|bool\|null](../../Models/Operations/GetRecentlyAddedOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `hasThumbnail` | [?Operations\HasThumbnail](../../Models/Operations/HasThumbnail.md) | :heavy_minus_sign: | N/A | 1 |
| `stream` | array<[Operations\Stream](../../Models/Operations/Stream.md)> | :heavy_minus_sign: | N/A | |
| `stream` | array<[Operations\Stream](../../Models/Operations/Stream.md)> | :heavy_minus_sign: | An array of streams for this part. | |

View File

@@ -4,10 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | The unique role identifier. | 109501 |
| `filter` | *string* | :heavy_check_mark: | The filter string for the role. | actor=109501 |
| `tag` | *string* | :heavy_check_mark: | The actor's name. | Bob Odenkirk |
| `tagKey` | *string* | :heavy_check_mark: | A key associated with the actor tag. | 5d77683254f42c001f8c3f69 |
| `role` | *?string* | :heavy_minus_sign: | The character name or role. | Jimmy McGill |
| `thumb` | *?string* | :heavy_minus_sign: | URL for the role thumbnail image. | https://metadata-static.plex.tv/f/people/f2ca7b474cc984efbdd5c503a096285a.jpg |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique identifier for the producer. | 126522 |
| `filter` | *string* | :heavy_check_mark: | The filter string used to query this producer. | producer=126522 |
| `tag` | *string* | :heavy_check_mark: | The name of the producer | Amelia Knapp |
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the producer's tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |

View File

@@ -0,0 +1,12 @@
# Rating
The type of rating, for example 'audience' or 'critic'.
## Fields
| Field | Type | Required | Description | Example |
| ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
| `image` | *string* | :heavy_check_mark: | N/A | imdb://image.rating |
| `value` | *float* | :heavy_check_mark: | N/A | 5.1 |
| `type` | *string* | :heavy_check_mark: | N/A | audience |

View File

@@ -4,10 +4,10 @@
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `id` | *?int* | :heavy_minus_sign: | The ID of the tag or actor. | 294129 |
| `filter` | *?string* | :heavy_minus_sign: | The filter used to find the actor or tag. | actor=294129 |
| `thumb` | *?string* | :heavy_minus_sign: | The thumbnail of the actor | https://metadata-static.plex.tv/2/people/27b85844536c39f3f9ac943aaad46608.jpg |
| `tag` | *?string* | :heavy_minus_sign: | The name of the tag or actor. | Mike Smith |
| `tagKey` | *?string* | :heavy_minus_sign: | Unique identifier for the tag. | 668e7e7b22bcad9064350c91 |
| `role` | *?string* | :heavy_minus_sign: | The role of the actor or tag in the media. | Self |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique identifier for the actor or role. | 126522 |
| `filter` | *string* | :heavy_check_mark: | The filter string used to query this actor. For example, it may indicate that this is an actor with a given key. | actor=126522 |
| `tag` | *string* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the actor's tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `role` | *?string* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |

View File

@@ -1,10 +1,12 @@
# Similar
The display tag for the similar item, typically the title.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `id` | *int* | :heavy_check_mark: | The unique similar item identifier. | 26 |
| `filter` | *string* | :heavy_check_mark: | The filter string for similar items. | similar=26 |
| `tag` | *string* | :heavy_check_mark: | The tag or title of the similar content. | Breaking Bad |
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
| `filter` | *string* | :heavy_check_mark: | N/A | similar=259 |
| `tag` | *string* | :heavy_check_mark: | N/A | Criss Angel Mindfreak |

View File

@@ -4,42 +4,53 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | N/A | 272796 |
| `streamType` | *int* | :heavy_check_mark: | Type of stream (1 = video, 2 = audio, 3 = subtitle) | 1 |
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream | h264 |
| `index` | *int* | :heavy_check_mark: | The index of the stream | 0 |
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this is the default stream | true |
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if the stream is selected | true |
| `bitrate` | *?int* | :heavy_minus_sign: | The bitrate of the stream in kbps | 6273 |
| `colorPrimaries` | *?string* | :heavy_minus_sign: | The color primaries of the video stream | bt709 |
| `colorRange` | *?string* | :heavy_minus_sign: | The color range of the video stream | tv |
| `colorSpace` | *?string* | :heavy_minus_sign: | The color space of the video stream | bt709 |
| `colorTrc` | *?string* | :heavy_minus_sign: | The transfer characteristics (TRC) of the video stream | bt709 |
| `bitDepth` | *?int* | :heavy_minus_sign: | The bit depth of the video stream | 8 |
| `chromaLocation` | *?string* | :heavy_minus_sign: | The chroma location of the video stream | left |
| `streamIdentifier` | *?string* | :heavy_minus_sign: | The identifier of the video stream | 2 |
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | The chroma subsampling format | 4:2:0 |
| `codedHeight` | *?int* | :heavy_minus_sign: | The coded height of the video stream | 1088 |
| `codedWidth` | *?int* | :heavy_minus_sign: | The coded width of the video stream | 1920 |
| `frameRate` | *?float* | :heavy_minus_sign: | The frame rate of the video stream | 29.97 |
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | Indicates if the stream has a scaling matrix | false |
| `hearingImpaired` | *?bool* | :heavy_minus_sign: | N/A | false |
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | false |
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | 1 |
| `height` | *?int* | :heavy_minus_sign: | The height of the video stream | 1080 |
| `level` | *?int* | :heavy_minus_sign: | The level of the video codec | 40 |
| `profile` | *?string* | :heavy_minus_sign: | The profile of the video codec | main |
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames | 4 |
| `scanType` | *?string* | :heavy_minus_sign: | The scan type (progressive or interlaced) | progressive |
| `width` | *?int* | :heavy_minus_sign: | The width of the video stream | 1920 |
| `displayTitle` | *?string* | :heavy_minus_sign: | Display title of the stream | 1080p (H.264) |
| `extendedDisplayTitle` | *?string* | :heavy_minus_sign: | Extended display title of the stream | 1080p (H.264) |
| `channels` | *?int* | :heavy_minus_sign: | Number of audio channels (for audio streams) | 2 |
| `language` | *?string* | :heavy_minus_sign: | The language of the stream (for audio/subtitle streams) | English |
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag of the stream | en |
| `languageCode` | *?string* | :heavy_minus_sign: | Language code of the stream | eng |
| `audioChannelLayout` | *?string* | :heavy_minus_sign: | The audio channel layout | stereo |
| `samplingRate` | *?int* | :heavy_minus_sign: | Sampling rate of the audio stream in Hz | 48000 |
| `title` | *?string* | :heavy_minus_sign: | Title of the subtitle track (for subtitle streams) | English |
| `canAutoSync` | *?bool* | :heavy_minus_sign: | Indicates if the subtitle stream can auto-sync | false |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
| `displayTitle` | *string* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `extendedDisplayTitle` | *string* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
| `language` | *?string* | :heavy_minus_sign: | Language of the stream. | English |
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag (e.g., en). | en |
| `languageCode` | *?string* | :heavy_minus_sign: | ISO language code. | eng |
| `headerCompression` | *?bool* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
| `doviblCompatID` | *?int* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
| `doviblPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
| `dovielPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision EL is present. | false |
| `doviLevel` | *?int* | :heavy_minus_sign: | Dolby Vision level. | 6 |
| `doviPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision is present. | true |
| `doviProfile` | *?int* | :heavy_minus_sign: | Dolby Vision profile. | 8 |
| `dovirpuPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision RPU is present. | true |
| `doviVersion` | *?string* | :heavy_minus_sign: | Dolby Vision version. | 1.0 |
| `bitDepth` | *?int* | :heavy_minus_sign: | Bit depth of the video stream. | 10 |
| `chromaLocation` | *?string* | :heavy_minus_sign: | Chroma sample location. | topleft |
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
| `codedHeight` | *?int* | :heavy_minus_sign: | Coded video height. | 1608 |
| `codedWidth` | *?int* | :heavy_minus_sign: | Coded video width. | 3840 |
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | true |
| `colorPrimaries` | *?string* | :heavy_minus_sign: | Color primaries used. | bt2020 |
| `colorRange` | *?string* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
| `colorSpace` | *?string* | :heavy_minus_sign: | Color space. | bt2020nc |
| `colorTrc` | *?string* | :heavy_minus_sign: | Color transfer characteristics. | smpte2084 |
| `frameRate` | *?float* | :heavy_minus_sign: | Frame rate of the stream. | 23.976 |
| `height` | *?int* | :heavy_minus_sign: | Height of the video stream. | 1602 |
| `level` | *?int* | :heavy_minus_sign: | Video level. | 150 |
| `original` | *?bool* | :heavy_minus_sign: | Indicates if this is the original stream. | true |
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | N/A | false |
| `profile` | *?string* | :heavy_minus_sign: | Video profile. | main 10 |
| `scanType` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | progressive |
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames. | 1 |
| `width` | *?int* | :heavy_minus_sign: | Width of the video stream. | 3840 |
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |
| `forced` | *?bool* | :heavy_minus_sign: | N/A | true |
| `channels` | *?int* | :heavy_minus_sign: | Number of audio channels (for audio streams). | 6 |
| `audioChannelLayout` | *?string* | :heavy_minus_sign: | Audio channel layout. | 5.1(side) |
| `samplingRate` | *?int* | :heavy_minus_sign: | Sampling rate for the audio stream. | 48000 |
| `canAutoSync` | *?bool* | :heavy_minus_sign: | Indicates if the stream can auto-sync. | false |
| `hearingImpaired` | *?bool* | :heavy_minus_sign: | Indicates if the stream is for the hearing impaired. | true |
| `dub` | *?bool* | :heavy_minus_sign: | Indicates if the stream is a dub. | true |
| `title` | *?string* | :heavy_minus_sign: | Optional title for the stream (e.g., language variant). | SDH |

View File

@@ -4,5 +4,8 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `tag` | *?string* | :heavy_minus_sign: | N/A | James Cameron |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `id` | *int* | :heavy_check_mark: | Unique identifier for the writer. | 126522 |
| `filter` | *string* | :heavy_check_mark: | The filter string used to query this writer. | writer=126522 |
| `tag` | *string* | :heavy_check_mark: | The role of Writer | Jamie P. Hanson |
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |

View File

@@ -23,7 +23,6 @@ API Calls interacting with Plex Media Server Libraries
* [getSearchLibrary](#getsearchlibrary) - Search Library
* [getFileHash](#getfilehash) - Get Hash Value
* [getMetadataChildren](#getmetadatachildren) - Get Items Children
* [getOnDeck](#getondeck) - Get On Deck
* [getTopWatchedContent](#gettopwatchedcontent) - Get Top Watched Content
## deleteLibrary
@@ -914,49 +913,6 @@ if ($response->object !== null) {
| Errors\GetMetadataChildrenUnauthorized | 401 | application/json |
| Errors\SDKException | 4XX, 5XX | \*/\* |
## getOnDeck
This endpoint will return the on deck content.
### Example Usage
```php
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$sdk = Plex_API\PlexAPI::builder()
->setSecurity(
'<YOUR_API_KEY_HERE>'
)
->build();
$response = $sdk->library->getOnDeck(
);
if ($response->object !== null) {
// handle response
}
```
### Response
**[?Operations\GetOnDeckResponse](../../Models/Operations/GetOnDeckResponse.md)**
### Errors
| Error Type | Status Code | Content Type |
| ---------------------------- | ---------------------------- | ---------------------------- |
| Errors\GetOnDeckBadRequest | 400 | application/json |
| Errors\GetOnDeckUnauthorized | 401 | application/json |
| Errors\SDKException | 4XX, 5XX | \*/\* |
## getTopWatchedContent
This endpoint will return the top watched content from libraries of a certain type

View File

@@ -1470,91 +1470,6 @@ class Library
}
}
/**
* Get On Deck
*
* This endpoint will return the on deck content.
*
*
* @return Operations\GetOnDeckResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/
public function getOnDeck(?Options $options = null): Operations\GetOnDeckResponse
{
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/onDeck');
$urlOverride = null;
$httpOptions = ['http_errors' => false];
$httpOptions['headers']['Accept'] = 'application/json';
$httpOptions['headers']['user-agent'] = $this->sdkConfiguration->userAgent;
$httpRequest = new \GuzzleHttp\Psr7\Request('GET', $url);
$hookContext = new HookContext('getOnDeck', null, $this->sdkConfiguration->securitySource);
$httpRequest = $this->sdkConfiguration->hooks->beforeRequest(new Hooks\BeforeRequestContext($hookContext), $httpRequest);
$httpOptions = Utils\Utils::convertHeadersToOptions($httpRequest, $httpOptions);
$httpRequest = Utils\Utils::removeHeaders($httpRequest);
try {
$httpResponse = $this->sdkConfiguration->client->send($httpRequest, $httpOptions);
} catch (\GuzzleHttp\Exception\GuzzleException $error) {
$res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), null, $error);
$httpResponse = $res;
}
$contentType = $httpResponse->getHeader('Content-Type')[0] ?? '';
$statusCode = $httpResponse->getStatusCode();
if (Utils\Utils::matchStatusCodes($statusCode, ['400', '401', '4XX', '5XX'])) {
$res = $this->sdkConfiguration->hooks->afterError(new Hooks\AfterErrorContext($hookContext), $httpResponse, null);
$httpResponse = $res;
}
if (Utils\Utils::matchStatusCodes($statusCode, ['200'])) {
if (Utils\Utils::matchContentType($contentType, 'application/json')) {
$httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse);
$serializer = Utils\JSON::createSerializer();
$responseData = (string) $httpResponse->getBody();
$obj = $serializer->deserialize($responseData, '\LukeHagar\Plex_API\Models\Operations\GetOnDeckResponseBody', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true));
$response = new Operations\GetOnDeckResponse(
statusCode: $statusCode,
contentType: $contentType,
rawResponse: $httpResponse,
object: $obj);
return $response;
} else {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
}
} elseif (Utils\Utils::matchStatusCodes($statusCode, ['400'])) {
if (Utils\Utils::matchContentType($contentType, 'application/json')) {
$httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse);
$serializer = Utils\JSON::createSerializer();
$responseData = (string) $httpResponse->getBody();
$obj = $serializer->deserialize($responseData, '\LukeHagar\Plex_API\Models\Errors\GetOnDeckBadRequest', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true));
$obj->rawResponse = $httpResponse;
throw $obj->toException();
} else {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
}
} elseif (Utils\Utils::matchStatusCodes($statusCode, ['401'])) {
if (Utils\Utils::matchContentType($contentType, 'application/json')) {
$httpResponse = $this->sdkConfiguration->hooks->afterSuccess(new Hooks\AfterSuccessContext($hookContext), $httpResponse);
$serializer = Utils\JSON::createSerializer();
$responseData = (string) $httpResponse->getBody();
$obj = $serializer->deserialize($responseData, '\LukeHagar\Plex_API\Models\Errors\GetOnDeckUnauthorized', 'json', DeserializationContext::create()->setRequireAllRequiredProperties(true));
$obj->rawResponse = $httpResponse;
throw $obj->toException();
} else {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('Unknown content type received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
}
} elseif (Utils\Utils::matchStatusCodes($statusCode, ['4XX'])) {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
} elseif (Utils\Utils::matchStatusCodes($statusCode, ['5XX'])) {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('API error occurred', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
} else {
throw new \LukeHagar\Plex_API\Models\Errors\SDKException('Unknown status code received', $statusCode, $httpResponse->getBody()->getContents(), $httpResponse);
}
}
/**
* Get Top Watched Content
*

View File

@@ -1,53 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
use LukeHagar\Plex_API\Utils;
/** GetOnDeckBadRequest - Bad Request - A parameter was not specified, or was specified incorrectly. */
class GetOnDeckBadRequest
{
/**
* $errors
*
* @var ?array<GetOnDeckErrors> $errors
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetOnDeckErrors>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null;
/**
* Raw HTTP response; suitable for custom response parsing
*
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/
#[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
/**
* @param ?array<GetOnDeckErrors> $errors
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @phpstan-pure
*/
public function __construct(?array $errors = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null)
{
$this->errors = $errors;
$this->rawResponse = $rawResponse;
}
public function toException(): GetOnDeckBadRequestThrowable
{
$serializer = Utils\JSON::createSerializer();
$message = $serializer->serialize($this, 'json');
$code = -1;
return new GetOnDeckBadRequestThrowable($message, (int) $code, $this);
}
}

View File

@@ -1,20 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
class GetOnDeckBadRequestThrowable extends \RuntimeException
{
public GetOnDeckBadRequest $container;
public function __construct(string $message, int $statusCode, GetOnDeckBadRequest $container)
{
parent::__construct($message, $statusCode);
$this->container = $container;
}
}

View File

@@ -1,50 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
class GetOnDeckErrors
{
/**
*
* @var ?int $code
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null;
/**
*
* @var ?string $message
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null;
/**
*
* @var ?int $status
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null;
/**
* @param ?int $code
* @param ?string $message
* @param ?int $status
* @phpstan-pure
*/
public function __construct(?int $code = null, ?string $message = null, ?int $status = null)
{
$this->code = $code;
$this->message = $message;
$this->status = $status;
}
}

View File

@@ -1,50 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
class GetOnDeckLibraryErrors
{
/**
*
* @var ?int $code
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null;
/**
*
* @var ?string $message
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null;
/**
*
* @var ?int $status
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null;
/**
* @param ?int $code
* @param ?string $message
* @param ?int $status
* @phpstan-pure
*/
public function __construct(?int $code = null, ?string $message = null, ?int $status = null)
{
$this->code = $code;
$this->message = $message;
$this->status = $status;
}
}

View File

@@ -1,53 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
use LukeHagar\Plex_API\Utils;
/** GetOnDeckUnauthorized - Unauthorized - Returned if the X-Plex-Token is missing from the header or query. */
class GetOnDeckUnauthorized
{
/**
* $errors
*
* @var ?array<GetOnDeckLibraryErrors> $errors
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetOnDeckLibraryErrors>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null;
/**
* Raw HTTP response; suitable for custom response parsing
*
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/
#[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
/**
* @param ?array<GetOnDeckLibraryErrors> $errors
* @param ?\Psr\Http\Message\ResponseInterface $rawResponse
* @phpstan-pure
*/
public function __construct(?array $errors = null, ?\Psr\Http\Message\ResponseInterface $rawResponse = null)
{
$this->errors = $errors;
$this->rawResponse = $rawResponse;
}
public function toException(): GetOnDeckUnauthorizedThrowable
{
$serializer = Utils\JSON::createSerializer();
$message = $serializer->serialize($this, 'json');
$code = -1;
return new GetOnDeckUnauthorizedThrowable($message, (int) $code, $this);
}
}

View File

@@ -1,20 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Errors;
class GetOnDeckUnauthorizedThrowable extends \RuntimeException
{
public GetOnDeckUnauthorized $container;
public function __construct(string $message, int $statusCode, GetOnDeckUnauthorized $container)
{
parent::__construct($message, $statusCode);
$this->container = $container;
}
}

View File

@@ -12,18 +12,18 @@ namespace LukeHagar\Plex_API\Models\Operations;
class Collection
{
/**
* The user-made collection this media item belongs to
*
* @var ?string $tag
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tag = null;
public string $tag;
/**
* @param ?string $tag
* @param string $tag
* @phpstan-pure
*/
public function __construct(?string $tag = null)
public function __construct(string $tag)
{
$this->tag = $tag;
}

View File

@@ -9,22 +9,42 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Country - The filter query string for country media items. */
class Country
{
/**
*
* @var ?string $tag
* @var int $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tag = null;
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* @param ?string $tag
* The country of origin of this media item
*
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
public string $tag;
/**
*
* @var ?string $filter
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $filter = null;
/**
* @param int $id
* @param string $tag
* @param ?string $filter
* @phpstan-pure
*/
public function __construct(?string $tag = null)
public function __construct(int $id, string $tag, ?string $filter = null)
{
$this->id = $id;
$this->tag = $tag;
$this->filter = $filter;
}
}

View File

@@ -12,18 +12,18 @@ namespace LukeHagar\Plex_API\Models\Operations;
class Director
{
/**
* The role of Director
*
* @var ?string $tag
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tag = null;
public string $tag;
/**
* @param ?string $tag
* @param string $tag
* @phpstan-pure
*/
public function __construct(?string $tag = null)
public function __construct(string $tag)
{
$this->tag = $tag;
}

View File

@@ -9,22 +9,43 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Genre - The filter query string for similar items. */
class Genre
{
/**
*
* @var ?string $tag
* @var int $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tag = null;
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* @param ?string $tag
*
* @var string $filter
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
public string $filter;
/**
* The genre name of this media-item
*
*
*
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
public string $tag;
/**
* @param int $id
* @param string $filter
* @param string $tag
* @phpstan-pure
*/
public function __construct(?string $tag = null)
public function __construct(int $id, string $filter, string $tag)
{
$this->id = $id;
$this->filter = $filter;
$this->tag = $tag;
}
}

View File

@@ -12,7 +12,9 @@ namespace LukeHagar\Plex_API\Models\Operations;
class GetAllMediaLibraryGenre
{
/**
* The country of origin of this media item
* The genre name of this media-item
*
*
*
* @var string $tag
*/

View File

@@ -9,9 +9,12 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckGuids
class GetAllMediaLibraryGuids
{
/**
* The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337
*
*
*
* @var ?string $id
*/

View File

@@ -19,23 +19,6 @@ class GetAllMediaLibraryMedia
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* Indicates whether voice activity is detected.
*
* @var bool $hasVoiceActivity
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('hasVoiceActivity')]
public bool $hasVoiceActivity;
/**
* An array of parts for this media item.
*
* @var array<GetAllMediaLibraryPart> $part
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Part')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetAllMediaLibraryPart>')]
public array $part;
/**
* Duration of the media in milliseconds.
*
@@ -154,6 +137,15 @@ class GetAllMediaLibraryMedia
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoProfile = null;
/**
* Indicates whether voice activity is detected.
*
* @var ?bool $hasVoiceActivity
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('hasVoiceActivity')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $hasVoiceActivity = null;
/**
* The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
*
@@ -166,12 +158,12 @@ class GetAllMediaLibraryMedia
/**
* Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
*
* @var One|bool|null $optimizedForStreaming
* @var OptimizedForStreaming1|bool|null $optimizedForStreaming
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('optimizedForStreaming')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\One|bool|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\OptimizedForStreaming1|bool|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public One|bool|null $optimizedForStreaming = null;
public OptimizedForStreaming1|bool|null $optimizedForStreaming = null;
/**
*
@@ -181,10 +173,18 @@ class GetAllMediaLibraryMedia
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $has64bitOffsets = null;
/**
* An array of parts for this media item.
*
* @var ?array<GetAllMediaLibraryPart> $part
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Part')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetAllMediaLibraryPart>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $part = null;
/**
* @param int $id
* @param bool $hasVoiceActivity
* @param array<GetAllMediaLibraryPart> $part
* @param ?int $duration
* @param ?int $bitrate
* @param ?int $width
@@ -198,16 +198,16 @@ class GetAllMediaLibraryMedia
* @param ?string $container
* @param ?string $videoFrameRate
* @param ?string $videoProfile
* @param ?bool $hasVoiceActivity
* @param ?string $audioProfile
* @param One|bool|null $optimizedForStreaming
* @param OptimizedForStreaming1|bool|null $optimizedForStreaming
* @param ?bool $has64bitOffsets
* @param ?array<GetAllMediaLibraryPart> $part
* @phpstan-pure
*/
public function __construct(int $id, bool $hasVoiceActivity, array $part, ?int $duration = null, ?int $bitrate = null, ?int $width = null, ?int $height = null, ?float $aspectRatio = null, ?int $audioChannels = null, ?int $displayOffset = null, ?string $audioCodec = null, ?string $videoCodec = null, ?string $videoResolution = null, ?string $container = null, ?string $videoFrameRate = null, ?string $videoProfile = null, ?string $audioProfile = null, One|bool|null $optimizedForStreaming = null, ?bool $has64bitOffsets = null)
public function __construct(int $id, ?int $duration = null, ?int $bitrate = null, ?int $width = null, ?int $height = null, ?float $aspectRatio = null, ?int $audioChannels = null, ?int $displayOffset = null, ?string $audioCodec = null, ?string $videoCodec = null, ?string $videoResolution = null, ?string $container = null, ?string $videoFrameRate = null, ?string $videoProfile = null, ?bool $hasVoiceActivity = null, ?string $audioProfile = null, OptimizedForStreaming1|bool|null $optimizedForStreaming = null, ?bool $has64bitOffsets = null, ?array $part = null)
{
$this->id = $id;
$this->hasVoiceActivity = $hasVoiceActivity;
$this->part = $part;
$this->duration = $duration;
$this->bitrate = $bitrate;
$this->width = $width;
@@ -221,8 +221,10 @@ class GetAllMediaLibraryMedia
$this->container = $container;
$this->videoFrameRate = $videoFrameRate;
$this->videoProfile = $videoProfile;
$this->hasVoiceActivity = $hasVoiceActivity;
$this->audioProfile = $audioProfile;
$this->optimizedForStreaming = $optimizedForStreaming;
$this->has64bitOffsets = $has64bitOffsets;
$this->part = $part;
}
}

View File

@@ -96,14 +96,6 @@ class GetAllMediaLibraryMetadata
#[\Speakeasy\Serializer\Annotation\SerializedName('audienceRating')]
public float $audienceRating;
/**
* The release year of the media item.
*
* @var int $year
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('year')]
public int $year;
/**
* A brief tagline for the media item.
*
@@ -201,6 +193,15 @@ class GetAllMediaLibraryMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $contentRating = null;
/**
* The release year of the media item.
*
* @var ?int $year
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('year')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $year = null;
/**
* The number of leaf items (end nodes) under this media item.
*
@@ -562,10 +563,10 @@ class GetAllMediaLibraryMetadata
/**
* $guids
*
* @var ?array<Guids> $guids
* @var ?array<GetAllMediaLibraryGuids> $guids
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Guid')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\Guids>|null')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetAllMediaLibraryGuids>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $guids = null;
@@ -590,7 +591,6 @@ class GetAllMediaLibraryMetadata
* @param string $summary
* @param float $rating
* @param float $audienceRating
* @param int $year
* @param string $tagline
* @param string $thumb
* @param string $art
@@ -603,6 +603,7 @@ class GetAllMediaLibraryMetadata
* @param int $addedAt
* @param ?string $studio
* @param ?string $contentRating
* @param ?int $year
* @param ?int $leafCount
* @param ?int $viewedLeafCount
* @param ?int $updatedAt
@@ -642,11 +643,11 @@ class GetAllMediaLibraryMetadata
* @param ?array<GetAllMediaLibraryDirector> $director
* @param ?array<GetAllMediaLibraryWriter> $writer
* @param ?array<GetAllMediaLibraryRole> $role
* @param ?array<Guids> $guids
* @param ?array<GetAllMediaLibraryGuids> $guids
* @param ?array<GetAllMediaLibraryCollection> $collection
* @phpstan-pure
*/
public function __construct(string $ratingKey, string $key, string $guid, string $slug, GetAllMediaLibraryLibraryType $type, string $title, string $titleSort, string $summary, float $rating, float $audienceRating, int $year, string $tagline, string $thumb, string $art, string $theme, int $index, int $childCount, int $seasonCount, int $duration, LocalDate $originallyAvailableAt, int $addedAt, ?string $studio = null, ?string $contentRating = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $originalTitle = null, ?string $parentRatingKey = null, ?string $grandparentRatingKey = null, ?string $parentGuid = null, ?string $grandparentGuid = null, ?string $grandparentSlug = null, ?string $grandparentKey = null, ?string $parentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $grandparentTheme = null, ?string $grandparentArt = null, ?string $parentTitle = null, ?int $parentIndex = null, ?string $parentThumb = null, ?string $ratingImage = null, ?int $viewCount = null, ?int $viewOffset = null, ?int $skipCount = null, ?string $subtype = null, ?int $lastRatedAt = null, ?string $createdAtAccuracy = null, ?string $createdAtTZOffset = null, ?int $lastViewedAt = null, ?float $userRating = null, ?array $image = null, ?GetAllMediaLibraryUltraBlurColors $ultraBlurColors = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $role = null, ?array $guids = null, ?array $collection = null)
public function __construct(string $ratingKey, string $key, string $guid, string $slug, GetAllMediaLibraryLibraryType $type, string $title, string $titleSort, string $summary, float $rating, float $audienceRating, string $tagline, string $thumb, string $art, string $theme, int $index, int $childCount, int $seasonCount, int $duration, LocalDate $originallyAvailableAt, int $addedAt, ?string $studio = null, ?string $contentRating = null, ?int $year = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $originalTitle = null, ?string $parentRatingKey = null, ?string $grandparentRatingKey = null, ?string $parentGuid = null, ?string $grandparentGuid = null, ?string $grandparentSlug = null, ?string $grandparentKey = null, ?string $parentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $grandparentTheme = null, ?string $grandparentArt = null, ?string $parentTitle = null, ?int $parentIndex = null, ?string $parentThumb = null, ?string $ratingImage = null, ?int $viewCount = null, ?int $viewOffset = null, ?int $skipCount = null, ?string $subtype = null, ?int $lastRatedAt = null, ?string $createdAtAccuracy = null, ?string $createdAtTZOffset = null, ?int $lastViewedAt = null, ?float $userRating = null, ?array $image = null, ?GetAllMediaLibraryUltraBlurColors $ultraBlurColors = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $role = null, ?array $guids = null, ?array $collection = null)
{
$this->ratingKey = $ratingKey;
$this->key = $key;
@@ -658,7 +659,6 @@ class GetAllMediaLibraryMetadata
$this->summary = $summary;
$this->rating = $rating;
$this->audienceRating = $audienceRating;
$this->year = $year;
$this->tagline = $tagline;
$this->thumb = $thumb;
$this->art = $art;
@@ -671,6 +671,7 @@ class GetAllMediaLibraryMetadata
$this->addedAt = $addedAt;
$this->studio = $studio;
$this->contentRating = $contentRating;
$this->year = $year;
$this->leafCount = $leafCount;
$this->viewedLeafCount = $viewedLeafCount;
$this->updatedAt = $updatedAt;

View File

@@ -12,7 +12,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
class GetAllMediaLibraryRole
{
/**
* The name of the actor for this role
* The display tag for the actor (typically the actor's name).
*
* @var string $tag
*/

View File

@@ -43,30 +43,6 @@ class GetAllMediaLibraryStream
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
public int $index;
/**
* Language of the stream.
*
* @var string $language
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('language')]
public string $language;
/**
* Language tag (e.g., en).
*
* @var string $languageTag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageTag')]
public string $languageTag;
/**
* ISO language code.
*
* @var string $languageCode
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageCode')]
public string $languageCode;
/**
* Display title for the stream.
*
@@ -101,6 +77,33 @@ class GetAllMediaLibraryStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $bitrate = null;
/**
* Language of the stream.
*
* @var ?string $language
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('language')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $language = null;
/**
* Language tag (e.g., en).
*
* @var ?string $languageTag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageTag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageTag = null;
/**
* ISO language code.
*
* @var ?string $languageCode
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageCode')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageCode = null;
/**
* Indicates whether header compression is enabled.
*
@@ -227,6 +230,14 @@ class GetAllMediaLibraryStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $codedWidth = null;
/**
*
* @var ?bool $closedCaptions
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('closedCaptions')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $closedCaptions = null;
/**
* Color primaries used.
*
@@ -324,6 +335,14 @@ class GetAllMediaLibraryStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $scanType = null;
/**
*
* @var ?string $embeddedInVideo
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('embeddedInVideo')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $embeddedInVideo = null;
/**
* Number of reference frames.
*
@@ -427,13 +446,13 @@ class GetAllMediaLibraryStream
* @param int $streamType
* @param string $codec
* @param int $index
* @param string $language
* @param string $languageTag
* @param string $languageCode
* @param string $displayTitle
* @param string $extendedDisplayTitle
* @param ?bool $default
* @param ?int $bitrate
* @param ?string $language
* @param ?string $languageTag
* @param ?string $languageCode
* @param ?bool $headerCompression
* @param ?int $doviblCompatID
* @param ?bool $doviblPresent
@@ -448,6 +467,7 @@ class GetAllMediaLibraryStream
* @param ?string $chromaSubsampling
* @param ?int $codedHeight
* @param ?int $codedWidth
* @param ?bool $closedCaptions
* @param ?string $colorPrimaries
* @param ?string $colorRange
* @param ?string $colorSpace
@@ -459,6 +479,7 @@ class GetAllMediaLibraryStream
* @param ?bool $hasScalingMatrix
* @param ?string $profile
* @param ?string $scanType
* @param ?string $embeddedInVideo
* @param ?int $refFrames
* @param ?int $width
* @param ?bool $selected
@@ -472,19 +493,19 @@ class GetAllMediaLibraryStream
* @param ?string $title
* @phpstan-pure
*/
public function __construct(int $id, int $streamType, string $codec, int $index, string $language, string $languageTag, string $languageCode, string $displayTitle, string $extendedDisplayTitle, ?bool $default = null, ?int $bitrate = null, ?bool $headerCompression = null, ?int $doviblCompatID = null, ?bool $doviblPresent = null, ?bool $dovielPresent = null, ?int $doviLevel = null, ?bool $doviPresent = null, ?int $doviProfile = null, ?bool $dovirpuPresent = null, ?string $doviVersion = null, ?int $bitDepth = null, ?string $chromaLocation = null, ?string $chromaSubsampling = null, ?int $codedHeight = null, ?int $codedWidth = null, ?string $colorPrimaries = null, ?string $colorRange = null, ?string $colorSpace = null, ?string $colorTrc = null, ?float $frameRate = null, ?int $height = null, ?int $level = null, ?bool $original = null, ?bool $hasScalingMatrix = null, ?string $profile = null, ?string $scanType = null, ?int $refFrames = null, ?int $width = null, ?bool $selected = null, ?bool $forced = null, ?int $channels = null, ?string $audioChannelLayout = null, ?int $samplingRate = null, ?bool $canAutoSync = null, ?bool $hearingImpaired = null, ?bool $dub = null, ?string $title = null)
public function __construct(int $id, int $streamType, string $codec, int $index, string $displayTitle, string $extendedDisplayTitle, ?bool $default = null, ?int $bitrate = null, ?string $language = null, ?string $languageTag = null, ?string $languageCode = null, ?bool $headerCompression = null, ?int $doviblCompatID = null, ?bool $doviblPresent = null, ?bool $dovielPresent = null, ?int $doviLevel = null, ?bool $doviPresent = null, ?int $doviProfile = null, ?bool $dovirpuPresent = null, ?string $doviVersion = null, ?int $bitDepth = null, ?string $chromaLocation = null, ?string $chromaSubsampling = null, ?int $codedHeight = null, ?int $codedWidth = null, ?bool $closedCaptions = null, ?string $colorPrimaries = null, ?string $colorRange = null, ?string $colorSpace = null, ?string $colorTrc = null, ?float $frameRate = null, ?int $height = null, ?int $level = null, ?bool $original = null, ?bool $hasScalingMatrix = null, ?string $profile = null, ?string $scanType = null, ?string $embeddedInVideo = null, ?int $refFrames = null, ?int $width = null, ?bool $selected = null, ?bool $forced = null, ?int $channels = null, ?string $audioChannelLayout = null, ?int $samplingRate = null, ?bool $canAutoSync = null, ?bool $hearingImpaired = null, ?bool $dub = null, ?string $title = null)
{
$this->id = $id;
$this->streamType = $streamType;
$this->codec = $codec;
$this->index = $index;
$this->language = $language;
$this->languageTag = $languageTag;
$this->languageCode = $languageCode;
$this->displayTitle = $displayTitle;
$this->extendedDisplayTitle = $extendedDisplayTitle;
$this->default = $default;
$this->bitrate = $bitrate;
$this->language = $language;
$this->languageTag = $languageTag;
$this->languageCode = $languageCode;
$this->headerCompression = $headerCompression;
$this->doviblCompatID = $doviblCompatID;
$this->doviblPresent = $doviblPresent;
@@ -499,6 +520,7 @@ class GetAllMediaLibraryStream
$this->chromaSubsampling = $chromaSubsampling;
$this->codedHeight = $codedHeight;
$this->codedWidth = $codedWidth;
$this->closedCaptions = $closedCaptions;
$this->colorPrimaries = $colorPrimaries;
$this->colorRange = $colorRange;
$this->colorSpace = $colorSpace;
@@ -510,6 +532,7 @@ class GetAllMediaLibraryStream
$this->hasScalingMatrix = $hasScalingMatrix;
$this->profile = $profile;
$this->scanType = $scanType;
$this->embeddedInVideo = $embeddedInVideo;
$this->refFrames = $refFrames;
$this->width = $width;
$this->selected = $selected;

View File

@@ -1,17 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). */
enum GetLibraryItemsEnableCreditsMarkerGeneration: string
{
case LibraryDefault = '-1';
case Disabled = '0';
}

View File

@@ -1,18 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). */
enum GetLibraryItemsEpisodeSort: string
{
case LibraryDefault = '-1';
case OldestFirst = '0';
case NewestFirst = '1';
}

View File

@@ -1,18 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). */
enum GetLibraryItemsFlattenSeasons: string
{
case LibraryDefault = '-1';
case Hide = '0';
case Show = '1';
}

View File

@@ -1,33 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetLibraryItemsMediaGuid
{
/**
* Can be one of the following formats:
*
* imdb://tt13015952, tmdb://2434012, tvdb://7945991
*
*
* @var string $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public string $id;
/**
* @param string $id
* @phpstan-pure
*/
public function __construct(string $id)
{
$this->id = $id;
}
}

View File

@@ -168,32 +168,32 @@ class GetLibraryItemsMetadata
/**
* Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
*
* @var ?GetLibraryItemsFlattenSeasons $flattenSeasons
* @var ?FlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsFlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\FlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsFlattenSeasons $flattenSeasons = null;
public ?FlattenSeasons $flattenSeasons = null;
/**
* Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
*
* @var ?GetLibraryItemsEpisodeSort $episodeSort
* @var ?EpisodeSort $episodeSort
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('episodeSort')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsEpisodeSort|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\EpisodeSort|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsEpisodeSort $episodeSort = null;
public ?EpisodeSort $episodeSort = null;
/**
* Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
*
* @var ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @var ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('enableCreditsMarkerGeneration')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsEnableCreditsMarkerGeneration|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\EnableCreditsMarkerGeneration|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null;
public ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null;
/**
* Setting that indicates the episode ordering for the show.
@@ -205,12 +205,12 @@ class GetLibraryItemsMetadata
* absolute = TheTVDB (Absolute)).
*
*
* @var ?GetLibraryItemsShowOrdering $showOrdering
* @var ?ShowOrdering $showOrdering
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('showOrdering')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsShowOrdering|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\ShowOrdering|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsShowOrdering $showOrdering = null;
public ?ShowOrdering $showOrdering = null;
/**
*
@@ -452,10 +452,10 @@ class GetLibraryItemsMetadata
*
*
*
* @var ?array<GetLibraryItemsMediaGuid> $mediaGuid
* @var ?array<MediaGuid> $mediaGuid
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Guid')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsMediaGuid>|null')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\MediaGuid>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $mediaGuid = null;
@@ -471,10 +471,10 @@ class GetLibraryItemsMetadata
/**
* $metaDataRating
*
* @var ?array<GetLibraryItemsMetaDataRating> $metaDataRating
* @var ?array<MetaDataRating> $metaDataRating
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Rating')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsMetaDataRating>|null')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\MetaDataRating>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $metaDataRating = null;
@@ -687,10 +687,10 @@ class GetLibraryItemsMetadata
* @param ?int $year
* @param ?int $seasonCount
* @param ?string $tagline
* @param ?GetLibraryItemsFlattenSeasons $flattenSeasons
* @param ?GetLibraryItemsEpisodeSort $episodeSort
* @param ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @param ?GetLibraryItemsShowOrdering $showOrdering
* @param ?FlattenSeasons $flattenSeasons
* @param ?EpisodeSort $episodeSort
* @param ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @param ?ShowOrdering $showOrdering
* @param ?string $thumb
* @param ?string $art
* @param ?string $banner
@@ -718,9 +718,9 @@ class GetLibraryItemsMetadata
* @param ?array<GetLibraryItemsCollection> $collection
* @param ?array<GetLibraryItemsRole> $role
* @param ?array<GetLibraryItemsLocation> $location
* @param ?array<GetLibraryItemsMediaGuid> $mediaGuid
* @param ?array<MediaGuid> $mediaGuid
* @param ?GetLibraryItemsUltraBlurColors $ultraBlurColors
* @param ?array<GetLibraryItemsMetaDataRating> $metaDataRating
* @param ?array<MetaDataRating> $metaDataRating
* @param ?array<GetLibraryItemsImage> $image
* @param ?string $titleSort
* @param ?int $viewCount
@@ -746,7 +746,7 @@ class GetLibraryItemsMetadata
* @param ?string $parentTheme
* @phpstan-pure
*/
public function __construct(string $ratingKey, string $key, string $guid, GetLibraryItemsLibraryType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?GetLibraryItemsFlattenSeasons $flattenSeasons = null, ?GetLibraryItemsEpisodeSort $episodeSort = null, ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null, ?GetLibraryItemsShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetLibraryItemsUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null)
public function __construct(string $ratingKey, string $key, string $guid, GetLibraryItemsLibraryType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?FlattenSeasons $flattenSeasons = null, ?EpisodeSort $episodeSort = null, ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null, ?ShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetLibraryItemsUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null)
{
$this->ratingKey = $ratingKey;
$this->key = $key;

View File

@@ -1,29 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/**
* Setting that indicates the episode ordering for the show.
*
* None = Library default,
* tmdbAiring = The Movie Database (Aired),
* aired = TheTVDB (Aired),
* dvd = TheTVDB (DVD),
* absolute = TheTVDB (Absolute)).
*
*/
enum GetLibraryItemsShowOrdering: string
{
case None = 'None';
case TmdbAiring = 'tmdbAiring';
case TvdbAired = 'aired';
case TvdbDvd = 'dvd';
case TvdbAbsolute = 'absolute';
}

View File

@@ -19,23 +19,6 @@ class GetMediaMetaDataMedia
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* Indicates whether voice activity is detected.
*
* @var bool $hasVoiceActivity
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('hasVoiceActivity')]
public bool $hasVoiceActivity;
/**
* An array of parts for this media item.
*
* @var array<GetMediaMetaDataPart> $part
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Part')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataPart>')]
public array $part;
/**
* Duration of the media in milliseconds.
*
@@ -154,6 +137,15 @@ class GetMediaMetaDataMedia
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoProfile = null;
/**
* Indicates whether voice activity is detected.
*
* @var ?bool $hasVoiceActivity
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('hasVoiceActivity')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $hasVoiceActivity = null;
/**
* The audio profile used for the media (e.g., DTS, Dolby Digital, etc.).
*
@@ -166,12 +158,12 @@ class GetMediaMetaDataMedia
/**
* Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
*
* @var OptimizedForStreaming1|bool|null $optimizedForStreaming
* @var GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('optimizedForStreaming')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\OptimizedForStreaming1|bool|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataOptimizedForStreaming1|bool|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public OptimizedForStreaming1|bool|null $optimizedForStreaming = null;
public GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming = null;
/**
*
@@ -181,10 +173,18 @@ class GetMediaMetaDataMedia
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $has64bitOffsets = null;
/**
* An array of parts for this media item.
*
* @var ?array<GetMediaMetaDataPart> $part
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Part')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataPart>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $part = null;
/**
* @param int $id
* @param bool $hasVoiceActivity
* @param array<GetMediaMetaDataPart> $part
* @param ?int $duration
* @param ?int $bitrate
* @param ?int $width
@@ -198,16 +198,16 @@ class GetMediaMetaDataMedia
* @param ?string $container
* @param ?string $videoFrameRate
* @param ?string $videoProfile
* @param ?bool $hasVoiceActivity
* @param ?string $audioProfile
* @param OptimizedForStreaming1|bool|null $optimizedForStreaming
* @param GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming
* @param ?bool $has64bitOffsets
* @param ?array<GetMediaMetaDataPart> $part
* @phpstan-pure
*/
public function __construct(int $id, bool $hasVoiceActivity, array $part, ?int $duration = null, ?int $bitrate = null, ?int $width = null, ?int $height = null, ?float $aspectRatio = null, ?int $audioChannels = null, ?int $displayOffset = null, ?string $audioCodec = null, ?string $videoCodec = null, ?string $videoResolution = null, ?string $container = null, ?string $videoFrameRate = null, ?string $videoProfile = null, ?string $audioProfile = null, OptimizedForStreaming1|bool|null $optimizedForStreaming = null, ?bool $has64bitOffsets = null)
public function __construct(int $id, ?int $duration = null, ?int $bitrate = null, ?int $width = null, ?int $height = null, ?float $aspectRatio = null, ?int $audioChannels = null, ?int $displayOffset = null, ?string $audioCodec = null, ?string $videoCodec = null, ?string $videoResolution = null, ?string $container = null, ?string $videoFrameRate = null, ?string $videoProfile = null, ?bool $hasVoiceActivity = null, ?string $audioProfile = null, GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming = null, ?bool $has64bitOffsets = null, ?array $part = null)
{
$this->id = $id;
$this->hasVoiceActivity = $hasVoiceActivity;
$this->part = $part;
$this->duration = $duration;
$this->bitrate = $bitrate;
$this->width = $width;
@@ -221,8 +221,10 @@ class GetMediaMetaDataMedia
$this->container = $container;
$this->videoFrameRate = $videoFrameRate;
$this->videoProfile = $videoProfile;
$this->hasVoiceActivity = $hasVoiceActivity;
$this->audioProfile = $audioProfile;
$this->optimizedForStreaming = $optimizedForStreaming;
$this->has64bitOffsets = $has64bitOffsets;
$this->part = $part;
}
}

View File

@@ -524,20 +524,20 @@ class GetMediaMetaDataMetadata
/**
* An array of Writer roles.
*
* @var ?array<Producer> $producer
* @var ?array<GetMediaMetaDataProducer> $producer
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Producer')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\Producer>|null')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataProducer>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $producer = null;
/**
* An array of similar content objects.
*
* @var ?array<Similar> $similar
* @var ?array<GetMediaMetaDataSimilar> $similar
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Similar')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\Similar>|null')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataSimilar>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $similar = null;
@@ -610,8 +610,8 @@ class GetMediaMetaDataMetadata
* @param ?array<GetMediaMetaDataRole> $role
* @param ?array<GetMediaMetaDataDirector> $director
* @param ?array<GetMediaMetaDataWriter> $writer
* @param ?array<Producer> $producer
* @param ?array<Similar> $similar
* @param ?array<GetMediaMetaDataProducer> $producer
* @param ?array<GetMediaMetaDataSimilar> $similar
* @param ?array<GetMediaMetaDataLocation> $location
* @phpstan-pure
*/

View File

@@ -0,0 +1,16 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
enum GetMediaMetaDataOptimizedForStreamingLibrary1: int
{
case Zero = 0;
case One = 1;
}

View File

@@ -124,12 +124,12 @@ class GetMediaMetaDataPart
/**
* Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
*
* @var GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming
* @var GetMediaMetaDataOptimizedForStreamingLibrary1|bool|null $optimizedForStreaming
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('optimizedForStreaming')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataOptimizedForStreaming1|bool|null')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataOptimizedForStreamingLibrary1|bool|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming = null;
public GetMediaMetaDataOptimizedForStreamingLibrary1|bool|null $optimizedForStreaming = null;
/**
* An array of streams for this part.
@@ -164,12 +164,12 @@ class GetMediaMetaDataPart
* @param ?string $videoProfile
* @param ?string $audioProfile
* @param ?bool $has64bitOffsets
* @param GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming
* @param GetMediaMetaDataOptimizedForStreamingLibrary1|bool|null $optimizedForStreaming
* @param ?GetMediaMetaDataHasThumbnail $hasThumbnail
* @param ?array<GetMediaMetaDataStream> $stream
* @phpstan-pure
*/
public function __construct(int $id, string $key, string $file, int $size, ?bool $accessible = null, ?bool $exists = null, ?string $indexes = null, ?int $duration = null, ?int $packetLength = null, ?string $container = null, ?string $videoProfile = null, ?string $audioProfile = null, ?bool $has64bitOffsets = null, GetMediaMetaDataOptimizedForStreaming1|bool|null $optimizedForStreaming = null, ?array $stream = null, ?GetMediaMetaDataHasThumbnail $hasThumbnail = GetMediaMetaDataHasThumbnail::False)
public function __construct(int $id, string $key, string $file, int $size, ?bool $accessible = null, ?bool $exists = null, ?string $indexes = null, ?int $duration = null, ?int $packetLength = null, ?string $container = null, ?string $videoProfile = null, ?string $audioProfile = null, ?bool $has64bitOffsets = null, GetMediaMetaDataOptimizedForStreamingLibrary1|bool|null $optimizedForStreaming = null, ?array $stream = null, ?GetMediaMetaDataHasThumbnail $hasThumbnail = GetMediaMetaDataHasThumbnail::False)
{
$this->id = $id;
$this->key = $key;

View File

@@ -0,0 +1,82 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetMediaMetaDataProducer
{
/**
* The unique role identifier.
*
* @var int $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* The filter string for the role.
*
* @var string $filter
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
public string $filter;
/**
* The actor's name.
*
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
public string $tag;
/**
* A key associated with the actor tag.
*
* @var string $tagKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tagKey')]
public string $tagKey;
/**
* The character name or role.
*
* @var ?string $role
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('role')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $role = null;
/**
* URL for the role thumbnail image.
*
* @var ?string $thumb
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('thumb')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $thumb = null;
/**
* @param int $id
* @param string $filter
* @param string $tag
* @param string $tagKey
* @param ?string $role
* @param ?string $thumb
* @phpstan-pure
*/
public function __construct(int $id, string $filter, string $tag, string $tagKey, ?string $role = null, ?string $thumb = null)
{
$this->id = $id;
$this->filter = $filter;
$this->tag = $tag;
$this->tagKey = $tagKey;
$this->role = $role;
$this->thumb = $thumb;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetMediaMetaDataSimilar
{
/**
* The unique similar item identifier.
*
* @var int $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
public int $id;
/**
* The filter string for similar items.
*
* @var string $filter
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
public string $filter;
/**
* The tag or title of the similar content.
*
* @var string $tag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
public string $tag;
/**
* @param int $id
* @param string $filter
* @param string $tag
* @phpstan-pure
*/
public function __construct(int $id, string $filter, string $tag)
{
$this->id = $id;
$this->filter = $filter;
$this->tag = $tag;
}
}

View File

@@ -43,30 +43,6 @@ class GetMediaMetaDataStream
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
public int $index;
/**
* Language of the stream.
*
* @var string $language
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('language')]
public string $language;
/**
* Language tag (e.g., en).
*
* @var string $languageTag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageTag')]
public string $languageTag;
/**
* ISO language code.
*
* @var string $languageCode
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageCode')]
public string $languageCode;
/**
* Display title for the stream.
*
@@ -101,6 +77,33 @@ class GetMediaMetaDataStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $bitrate = null;
/**
* Language of the stream.
*
* @var ?string $language
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('language')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $language = null;
/**
* Language tag (e.g., en).
*
* @var ?string $languageTag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageTag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageTag = null;
/**
* ISO language code.
*
* @var ?string $languageCode
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageCode')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageCode = null;
/**
* Indicates whether header compression is enabled.
*
@@ -227,6 +230,14 @@ class GetMediaMetaDataStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $codedWidth = null;
/**
*
* @var ?bool $closedCaptions
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('closedCaptions')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $closedCaptions = null;
/**
* Color primaries used.
*
@@ -324,6 +335,14 @@ class GetMediaMetaDataStream
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $scanType = null;
/**
*
* @var ?string $embeddedInVideo
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('embeddedInVideo')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $embeddedInVideo = null;
/**
* Number of reference frames.
*
@@ -427,13 +446,13 @@ class GetMediaMetaDataStream
* @param int $streamType
* @param string $codec
* @param int $index
* @param string $language
* @param string $languageTag
* @param string $languageCode
* @param string $displayTitle
* @param string $extendedDisplayTitle
* @param ?bool $default
* @param ?int $bitrate
* @param ?string $language
* @param ?string $languageTag
* @param ?string $languageCode
* @param ?bool $headerCompression
* @param ?int $doviblCompatID
* @param ?bool $doviblPresent
@@ -448,6 +467,7 @@ class GetMediaMetaDataStream
* @param ?string $chromaSubsampling
* @param ?int $codedHeight
* @param ?int $codedWidth
* @param ?bool $closedCaptions
* @param ?string $colorPrimaries
* @param ?string $colorRange
* @param ?string $colorSpace
@@ -459,6 +479,7 @@ class GetMediaMetaDataStream
* @param ?bool $hasScalingMatrix
* @param ?string $profile
* @param ?string $scanType
* @param ?string $embeddedInVideo
* @param ?int $refFrames
* @param ?int $width
* @param ?bool $selected
@@ -472,19 +493,19 @@ class GetMediaMetaDataStream
* @param ?string $title
* @phpstan-pure
*/
public function __construct(int $id, int $streamType, string $codec, int $index, string $language, string $languageTag, string $languageCode, string $displayTitle, string $extendedDisplayTitle, ?bool $default = null, ?int $bitrate = null, ?bool $headerCompression = null, ?int $doviblCompatID = null, ?bool $doviblPresent = null, ?bool $dovielPresent = null, ?int $doviLevel = null, ?bool $doviPresent = null, ?int $doviProfile = null, ?bool $dovirpuPresent = null, ?string $doviVersion = null, ?int $bitDepth = null, ?string $chromaLocation = null, ?string $chromaSubsampling = null, ?int $codedHeight = null, ?int $codedWidth = null, ?string $colorPrimaries = null, ?string $colorRange = null, ?string $colorSpace = null, ?string $colorTrc = null, ?float $frameRate = null, ?int $height = null, ?int $level = null, ?bool $original = null, ?bool $hasScalingMatrix = null, ?string $profile = null, ?string $scanType = null, ?int $refFrames = null, ?int $width = null, ?bool $selected = null, ?bool $forced = null, ?int $channels = null, ?string $audioChannelLayout = null, ?int $samplingRate = null, ?bool $canAutoSync = null, ?bool $hearingImpaired = null, ?bool $dub = null, ?string $title = null)
public function __construct(int $id, int $streamType, string $codec, int $index, string $displayTitle, string $extendedDisplayTitle, ?bool $default = null, ?int $bitrate = null, ?string $language = null, ?string $languageTag = null, ?string $languageCode = null, ?bool $headerCompression = null, ?int $doviblCompatID = null, ?bool $doviblPresent = null, ?bool $dovielPresent = null, ?int $doviLevel = null, ?bool $doviPresent = null, ?int $doviProfile = null, ?bool $dovirpuPresent = null, ?string $doviVersion = null, ?int $bitDepth = null, ?string $chromaLocation = null, ?string $chromaSubsampling = null, ?int $codedHeight = null, ?int $codedWidth = null, ?bool $closedCaptions = null, ?string $colorPrimaries = null, ?string $colorRange = null, ?string $colorSpace = null, ?string $colorTrc = null, ?float $frameRate = null, ?int $height = null, ?int $level = null, ?bool $original = null, ?bool $hasScalingMatrix = null, ?string $profile = null, ?string $scanType = null, ?string $embeddedInVideo = null, ?int $refFrames = null, ?int $width = null, ?bool $selected = null, ?bool $forced = null, ?int $channels = null, ?string $audioChannelLayout = null, ?int $samplingRate = null, ?bool $canAutoSync = null, ?bool $hearingImpaired = null, ?bool $dub = null, ?string $title = null)
{
$this->id = $id;
$this->streamType = $streamType;
$this->codec = $codec;
$this->index = $index;
$this->language = $language;
$this->languageTag = $languageTag;
$this->languageCode = $languageCode;
$this->displayTitle = $displayTitle;
$this->extendedDisplayTitle = $extendedDisplayTitle;
$this->default = $default;
$this->bitrate = $bitrate;
$this->language = $language;
$this->languageTag = $languageTag;
$this->languageCode = $languageCode;
$this->headerCompression = $headerCompression;
$this->doviblCompatID = $doviblCompatID;
$this->doviblPresent = $doviblPresent;
@@ -499,6 +520,7 @@ class GetMediaMetaDataStream
$this->chromaSubsampling = $chromaSubsampling;
$this->codedHeight = $codedHeight;
$this->codedWidth = $codedWidth;
$this->closedCaptions = $closedCaptions;
$this->colorPrimaries = $colorPrimaries;
$this->colorRange = $colorRange;
$this->colorSpace = $colorSpace;
@@ -510,6 +532,7 @@ class GetMediaMetaDataStream
$this->hasScalingMatrix = $hasScalingMatrix;
$this->profile = $profile;
$this->scanType = $scanType;
$this->embeddedInVideo = $embeddedInVideo;
$this->refFrames = $refFrames;
$this->width = $width;
$this->selected = $selected;

View File

@@ -1,172 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckMedia
{
/**
*
* @var ?float $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $id = null;
/**
*
* @var ?float $duration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('duration')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $duration = null;
/**
*
* @var ?float $bitrate
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('bitrate')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $bitrate = null;
/**
*
* @var ?float $width
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('width')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $width = null;
/**
*
* @var ?float $height
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('height')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $height = null;
/**
*
* @var ?float $aspectRatio
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('aspectRatio')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $aspectRatio = null;
/**
*
* @var ?float $audioChannels
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('audioChannels')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $audioChannels = null;
/**
*
* @var ?string $audioCodec
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('audioCodec')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $audioCodec = null;
/**
*
* @var ?string $videoCodec
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('videoCodec')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoCodec = null;
/**
*
* @var ?string $videoResolution
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('videoResolution')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoResolution = null;
/**
*
* @var ?string $container
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('container')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $container = null;
/**
*
* @var ?string $videoFrameRate
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('videoFrameRate')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoFrameRate = null;
/**
*
* @var ?string $audioProfile
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('audioProfile')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $audioProfile = null;
/**
*
* @var ?string $videoProfile
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('videoProfile')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoProfile = null;
/**
* $part
*
* @var ?array<GetOnDeckPart> $part
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Part')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetOnDeckPart>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $part = null;
/**
* @param ?float $id
* @param ?float $duration
* @param ?float $bitrate
* @param ?float $width
* @param ?float $height
* @param ?float $aspectRatio
* @param ?float $audioChannels
* @param ?string $audioCodec
* @param ?string $videoCodec
* @param ?string $videoResolution
* @param ?string $container
* @param ?string $videoFrameRate
* @param ?string $audioProfile
* @param ?string $videoProfile
* @param ?array<GetOnDeckPart> $part
* @phpstan-pure
*/
public function __construct(?float $id = null, ?float $duration = null, ?float $bitrate = null, ?float $width = null, ?float $height = null, ?float $aspectRatio = null, ?float $audioChannels = null, ?string $audioCodec = null, ?string $videoCodec = null, ?string $videoResolution = null, ?string $container = null, ?string $videoFrameRate = null, ?string $audioProfile = null, ?string $videoProfile = null, ?array $part = null)
{
$this->id = $id;
$this->duration = $duration;
$this->bitrate = $bitrate;
$this->width = $width;
$this->height = $height;
$this->aspectRatio = $aspectRatio;
$this->audioChannels = $audioChannels;
$this->audioCodec = $audioCodec;
$this->videoCodec = $videoCodec;
$this->videoResolution = $videoResolution;
$this->container = $container;
$this->videoFrameRate = $videoFrameRate;
$this->audioProfile = $audioProfile;
$this->videoProfile = $videoProfile;
$this->part = $part;
}
}

View File

@@ -1,92 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckMediaContainer
{
/**
*
* @var ?float $size
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('size')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $size = null;
/**
*
* @var ?bool $allowSync
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('allowSync')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $allowSync = null;
/**
*
* @var ?string $identifier
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('identifier')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $identifier = null;
/**
*
* @var ?string $mediaTagPrefix
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('mediaTagPrefix')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $mediaTagPrefix = null;
/**
*
* @var ?float $mediaTagVersion
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('mediaTagVersion')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $mediaTagVersion = null;
/**
*
* @var ?bool $mixedParents
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('mixedParents')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $mixedParents = null;
/**
* $metadata
*
* @var ?array<GetOnDeckMetadata> $metadata
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Metadata')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetOnDeckMetadata>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $metadata = null;
/**
* @param ?float $size
* @param ?bool $allowSync
* @param ?string $identifier
* @param ?string $mediaTagPrefix
* @param ?float $mediaTagVersion
* @param ?bool $mixedParents
* @param ?array<GetOnDeckMetadata> $metadata
* @phpstan-pure
*/
public function __construct(?float $size = null, ?bool $allowSync = null, ?string $identifier = null, ?string $mediaTagPrefix = null, ?float $mediaTagVersion = null, ?bool $mixedParents = null, ?array $metadata = null)
{
$this->size = $size;
$this->allowSync = $allowSync;
$this->identifier = $identifier;
$this->mediaTagPrefix = $mediaTagPrefix;
$this->mediaTagVersion = $mediaTagVersion;
$this->mixedParents = $mixedParents;
$this->metadata = $metadata;
}
}

View File

@@ -1,384 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckMetadata
{
/**
*
* @var ?bool $allowSync
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('allowSync')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $allowSync = null;
/**
*
* @var ?float $librarySectionID
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('librarySectionID')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $librarySectionID = null;
/**
*
* @var ?string $librarySectionTitle
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('librarySectionTitle')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $librarySectionTitle = null;
/**
*
* @var ?string $librarySectionUUID
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('librarySectionUUID')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $librarySectionUUID = null;
/**
*
* @var ?float $ratingKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('ratingKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $ratingKey = null;
/**
*
* @var ?string $key
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('key')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $key = null;
/**
*
* @var ?float $parentRatingKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentRatingKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $parentRatingKey = null;
/**
*
* @var ?float $grandparentRatingKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentRatingKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $grandparentRatingKey = null;
/**
*
* @var ?string $guid
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('guid')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $guid = null;
/**
*
* @var ?string $parentGuid
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentGuid')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentGuid = null;
/**
*
* @var ?string $grandparentGuid
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentGuid')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentGuid = null;
/**
*
* @var ?string $type
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('type')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $type = null;
/**
*
* @var ?string $title
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('title')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $title = null;
/**
*
* @var ?string $grandparentKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentKey = null;
/**
*
* @var ?string $parentKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentKey = null;
/**
*
* @var ?string $librarySectionKey
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('librarySectionKey')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $librarySectionKey = null;
/**
*
* @var ?string $grandparentTitle
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentTitle')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentTitle = null;
/**
*
* @var ?string $parentTitle
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentTitle')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentTitle = null;
/**
*
* @var ?string $contentRating
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('contentRating')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $contentRating = null;
/**
*
* @var ?string $summary
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('summary')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $summary = null;
/**
*
* @var ?float $index
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $index = null;
/**
*
* @var ?float $parentIndex
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentIndex')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $parentIndex = null;
/**
*
* @var ?float $lastViewedAt
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('lastViewedAt')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $lastViewedAt = null;
/**
*
* @var ?float $year
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('year')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $year = null;
/**
*
* @var ?string $thumb
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('thumb')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $thumb = null;
/**
*
* @var ?string $art
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('art')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $art = null;
/**
*
* @var ?string $parentThumb
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('parentThumb')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentThumb = null;
/**
*
* @var ?string $grandparentThumb
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentThumb')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentThumb = null;
/**
*
* @var ?string $grandparentArt
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentArt')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentArt = null;
/**
*
* @var ?string $grandparentTheme
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('grandparentTheme')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $grandparentTheme = null;
/**
*
* @var ?float $duration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('duration')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $duration = null;
/**
*
* @var ?\DateTime $originallyAvailableAt
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('originallyAvailableAt')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?\DateTime $originallyAvailableAt = null;
/**
*
* @var ?float $addedAt
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('addedAt')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $addedAt = null;
/**
*
* @var ?float $updatedAt
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('updatedAt')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $updatedAt = null;
/**
* $media
*
* @var ?array<GetOnDeckMedia> $media
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Media')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetOnDeckMedia>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $media = null;
/**
* $guids
*
* @var ?array<GetOnDeckGuids> $guids
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Guid')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetOnDeckGuids>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $guids = null;
/**
* @param ?bool $allowSync
* @param ?float $librarySectionID
* @param ?string $librarySectionTitle
* @param ?string $librarySectionUUID
* @param ?float $ratingKey
* @param ?string $key
* @param ?float $parentRatingKey
* @param ?float $grandparentRatingKey
* @param ?string $guid
* @param ?string $parentGuid
* @param ?string $grandparentGuid
* @param ?string $type
* @param ?string $title
* @param ?string $grandparentKey
* @param ?string $parentKey
* @param ?string $librarySectionKey
* @param ?string $grandparentTitle
* @param ?string $parentTitle
* @param ?string $contentRating
* @param ?string $summary
* @param ?float $index
* @param ?float $parentIndex
* @param ?float $lastViewedAt
* @param ?float $year
* @param ?string $thumb
* @param ?string $art
* @param ?string $parentThumb
* @param ?string $grandparentThumb
* @param ?string $grandparentArt
* @param ?string $grandparentTheme
* @param ?float $duration
* @param ?\DateTime $originallyAvailableAt
* @param ?float $addedAt
* @param ?float $updatedAt
* @param ?array<GetOnDeckMedia> $media
* @param ?array<GetOnDeckGuids> $guids
* @phpstan-pure
*/
public function __construct(?bool $allowSync = null, ?float $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionUUID = null, ?float $ratingKey = null, ?string $key = null, ?float $parentRatingKey = null, ?float $grandparentRatingKey = null, ?string $guid = null, ?string $parentGuid = null, ?string $grandparentGuid = null, ?string $type = null, ?string $title = null, ?string $grandparentKey = null, ?string $parentKey = null, ?string $librarySectionKey = null, ?string $grandparentTitle = null, ?string $parentTitle = null, ?string $contentRating = null, ?string $summary = null, ?float $index = null, ?float $parentIndex = null, ?float $lastViewedAt = null, ?float $year = null, ?string $thumb = null, ?string $art = null, ?string $parentThumb = null, ?string $grandparentThumb = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?float $duration = null, ?\DateTime $originallyAvailableAt = null, ?float $addedAt = null, ?float $updatedAt = null, ?array $media = null, ?array $guids = null)
{
$this->allowSync = $allowSync;
$this->librarySectionID = $librarySectionID;
$this->librarySectionTitle = $librarySectionTitle;
$this->librarySectionUUID = $librarySectionUUID;
$this->ratingKey = $ratingKey;
$this->key = $key;
$this->parentRatingKey = $parentRatingKey;
$this->grandparentRatingKey = $grandparentRatingKey;
$this->guid = $guid;
$this->parentGuid = $parentGuid;
$this->grandparentGuid = $grandparentGuid;
$this->type = $type;
$this->title = $title;
$this->grandparentKey = $grandparentKey;
$this->parentKey = $parentKey;
$this->librarySectionKey = $librarySectionKey;
$this->grandparentTitle = $grandparentTitle;
$this->parentTitle = $parentTitle;
$this->contentRating = $contentRating;
$this->summary = $summary;
$this->index = $index;
$this->parentIndex = $parentIndex;
$this->lastViewedAt = $lastViewedAt;
$this->year = $year;
$this->thumb = $thumb;
$this->art = $art;
$this->parentThumb = $parentThumb;
$this->grandparentThumb = $grandparentThumb;
$this->grandparentArt = $grandparentArt;
$this->grandparentTheme = $grandparentTheme;
$this->duration = $duration;
$this->originallyAvailableAt = $originallyAvailableAt;
$this->addedAt = $addedAt;
$this->updatedAt = $updatedAt;
$this->media = $media;
$this->guids = $guids;
}
}

View File

@@ -1,112 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckPart
{
/**
*
* @var ?float $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $id = null;
/**
*
* @var ?string $key
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('key')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $key = null;
/**
*
* @var ?float $duration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('duration')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $duration = null;
/**
*
* @var ?string $file
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('file')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $file = null;
/**
*
* @var ?float $size
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('size')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $size = null;
/**
*
* @var ?string $audioProfile
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('audioProfile')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $audioProfile = null;
/**
*
* @var ?string $container
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('container')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $container = null;
/**
*
* @var ?string $videoProfile
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('videoProfile')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $videoProfile = null;
/**
* $stream
*
* @var ?array<GetOnDeckStream> $stream
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('Stream')]
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Operations\GetOnDeckStream>|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $stream = null;
/**
* @param ?float $id
* @param ?string $key
* @param ?float $duration
* @param ?string $file
* @param ?float $size
* @param ?string $audioProfile
* @param ?string $container
* @param ?string $videoProfile
* @param ?array<GetOnDeckStream> $stream
* @phpstan-pure
*/
public function __construct(?float $id = null, ?string $key = null, ?float $duration = null, ?string $file = null, ?float $size = null, ?string $audioProfile = null, ?string $container = null, ?string $videoProfile = null, ?array $stream = null)
{
$this->id = $id;
$this->key = $key;
$this->duration = $duration;
$this->file = $file;
$this->size = $size;
$this->audioProfile = $audioProfile;
$this->container = $container;
$this->videoProfile = $videoProfile;
$this->stream = $stream;
}
}

View File

@@ -1,56 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckResponse
{
/**
* HTTP response content type for this operation
*
* @var string $contentType
*/
public string $contentType;
/**
* HTTP response status code for this operation
*
* @var int $statusCode
*/
public int $statusCode;
/**
* Raw HTTP response; suitable for custom response parsing
*
* @var \Psr\Http\Message\ResponseInterface $rawResponse
*/
public \Psr\Http\Message\ResponseInterface $rawResponse;
/**
* The on Deck content
*
* @var ?GetOnDeckResponseBody $object
*/
public ?GetOnDeckResponseBody $object = null;
/**
* @param string $contentType
* @param int $statusCode
* @param \Psr\Http\Message\ResponseInterface $rawResponse
* @param ?GetOnDeckResponseBody $object
* @phpstan-pure
*/
public function __construct(string $contentType, int $statusCode, \Psr\Http\Message\ResponseInterface $rawResponse, ?GetOnDeckResponseBody $object = null)
{
$this->contentType = $contentType;
$this->statusCode = $statusCode;
$this->rawResponse = $rawResponse;
$this->object = $object;
}
}

View File

@@ -1,32 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** GetOnDeckResponseBody - The on Deck content */
class GetOnDeckResponseBody
{
/**
*
* @var ?GetOnDeckMediaContainer $mediaContainer
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('MediaContainer')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetOnDeckMediaContainer|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetOnDeckMediaContainer $mediaContainer = null;
/**
* @param ?GetOnDeckMediaContainer $mediaContainer
* @phpstan-pure
*/
public function __construct(?GetOnDeckMediaContainer $mediaContainer = null)
{
$this->mediaContainer = $mediaContainer;
}
}

View File

@@ -1,250 +0,0 @@
<?php
/**
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
class GetOnDeckStream
{
/**
*
* @var ?float $id
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $id = null;
/**
*
* @var ?float $streamType
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('streamType')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $streamType = null;
/**
*
* @var ?bool $default
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('default')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $default = null;
/**
*
* @var ?string $codec
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('codec')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $codec = null;
/**
*
* @var ?float $index
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $index = null;
/**
*
* @var ?float $bitrate
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('bitrate')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $bitrate = null;
/**
*
* @var ?string $language
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('language')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $language = null;
/**
*
* @var ?string $languageTag
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageTag')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageTag = null;
/**
*
* @var ?string $languageCode
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('languageCode')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $languageCode = null;
/**
*
* @var ?float $bitDepth
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('bitDepth')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $bitDepth = null;
/**
*
* @var ?string $chromaLocation
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('chromaLocation')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $chromaLocation = null;
/**
*
* @var ?string $chromaSubsampling
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('chromaSubsampling')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $chromaSubsampling = null;
/**
*
* @var ?float $codedHeight
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('codedHeight')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $codedHeight = null;
/**
*
* @var ?float $codedWidth
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('codedWidth')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $codedWidth = null;
/**
*
* @var ?string $colorRange
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('colorRange')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $colorRange = null;
/**
*
* @var ?float $frameRate
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('frameRate')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $frameRate = null;
/**
*
* @var ?float $height
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('height')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $height = null;
/**
*
* @var ?float $level
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('level')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $level = null;
/**
*
* @var ?string $profile
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('profile')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $profile = null;
/**
*
* @var ?float $refFrames
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('refFrames')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $refFrames = null;
/**
*
* @var ?float $width
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('width')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?float $width = null;
/**
*
* @var ?string $displayTitle
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('displayTitle')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $displayTitle = null;
/**
*
* @var ?string $extendedDisplayTitle
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('extendedDisplayTitle')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $extendedDisplayTitle = null;
/**
* @param ?float $id
* @param ?float $streamType
* @param ?bool $default
* @param ?string $codec
* @param ?float $index
* @param ?float $bitrate
* @param ?string $language
* @param ?string $languageTag
* @param ?string $languageCode
* @param ?float $bitDepth
* @param ?string $chromaLocation
* @param ?string $chromaSubsampling
* @param ?float $codedHeight
* @param ?float $codedWidth
* @param ?string $colorRange
* @param ?float $frameRate
* @param ?float $height
* @param ?float $level
* @param ?string $profile
* @param ?float $refFrames
* @param ?float $width
* @param ?string $displayTitle
* @param ?string $extendedDisplayTitle
* @phpstan-pure
*/
public function __construct(?float $id = null, ?float $streamType = null, ?bool $default = null, ?string $codec = null, ?float $index = null, ?float $bitrate = null, ?string $language = null, ?string $languageTag = null, ?string $languageCode = null, ?float $bitDepth = null, ?string $chromaLocation = null, ?string $chromaSubsampling = null, ?float $codedHeight = null, ?float $codedWidth = null, ?string $colorRange = null, ?float $frameRate = null, ?float $height = null, ?float $level = null, ?string $profile = null, ?float $refFrames = null, ?float $width = null, ?string $displayTitle = null, ?string $extendedDisplayTitle = null)
{
$this->id = $id;
$this->streamType = $streamType;
$this->default = $default;
$this->codec = $codec;
$this->index = $index;
$this->bitrate = $bitrate;
$this->language = $language;
$this->languageTag = $languageTag;
$this->languageCode = $languageCode;
$this->bitDepth = $bitDepth;
$this->chromaLocation = $chromaLocation;
$this->chromaSubsampling = $chromaSubsampling;
$this->codedHeight = $codedHeight;
$this->codedWidth = $codedWidth;
$this->colorRange = $colorRange;
$this->frameRate = $frameRate;
$this->height = $height;
$this->level = $level;
$this->profile = $profile;
$this->refFrames = $refFrames;
$this->width = $width;
$this->displayTitle = $displayTitle;
$this->extendedDisplayTitle = $extendedDisplayTitle;
}
}

View File

@@ -12,6 +12,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
class GetRecentlyAddedMediaContainer
{
/**
* Number of media items returned in this response.
*
* @var int $size
*/
@@ -19,36 +20,36 @@ class GetRecentlyAddedMediaContainer
public int $size;
/**
* Total number of media items in the library.
*
* @var ?int $offset
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('offset')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $offset = null;
/**
*
* @var ?int $totalSize
* @var int $totalSize
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('totalSize')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $totalSize = null;
public int $totalSize;
/**
* Offset value for pagination.
*
* @var ?string $identifier
* @var int $offset
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('identifier')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $identifier = null;
#[\Speakeasy\Serializer\Annotation\SerializedName('offset')]
public int $offset;
/**
* Indicates whether syncing is allowed.
*
* @var ?bool $allowSync
* @var bool $allowSync
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('allowSync')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?bool $allowSync = null;
public bool $allowSync;
/**
* An plugin identifier for the media container.
*
* @var string $identifier
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('identifier')]
public string $identifier;
/**
* The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
@@ -63,7 +64,7 @@ class GetRecentlyAddedMediaContainer
public ?Meta $meta = null;
/**
* $metadata
* An array of metadata items.
*
* @var ?array<GetRecentlyAddedMetadata> $metadata
*/
@@ -74,21 +75,21 @@ class GetRecentlyAddedMediaContainer
/**
* @param int $size
* @param ?int $offset
* @param ?int $totalSize
* @param ?string $identifier
* @param ?bool $allowSync
* @param int $totalSize
* @param int $offset
* @param bool $allowSync
* @param string $identifier
* @param ?Meta $meta
* @param ?array<GetRecentlyAddedMetadata> $metadata
* @phpstan-pure
*/
public function __construct(int $size, ?int $offset = null, ?int $totalSize = null, ?string $identifier = null, ?bool $allowSync = null, ?Meta $meta = null, ?array $metadata = null)
public function __construct(int $size, int $totalSize, int $offset, bool $allowSync, string $identifier, ?Meta $meta = null, ?array $metadata = null)
{
$this->size = $size;
$this->offset = $offset;
$this->totalSize = $totalSize;
$this->identifier = $identifier;
$this->offset = $offset;
$this->allowSync = $allowSync;
$this->identifier = $identifier;
$this->meta = $meta;
$this->metadata = $metadata;
}

Some files were not shown because too many files have changed in this diff Show More