mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 04:20:51 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.0
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
||||
**/.speakeasy/temp/
|
||||
**/.speakeasy/logs/
|
||||
composer.lock
|
||||
vendor
|
||||
.DS_Store
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -11,11 +11,12 @@ generation:
|
||||
parameterOrderingFeb2024: true
|
||||
requestResponseComponentNamesFeb2024: true
|
||||
securityFeb2025: false
|
||||
sharedErrorComponentsApr2025: false
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
oAuth2PasswordEnabled: false
|
||||
php:
|
||||
version: 0.14.6
|
||||
version: 0.14.7
|
||||
additionalDependencies:
|
||||
autoload: {}
|
||||
autoload-dev: {}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
speakeasyVersion: 1.535.1
|
||||
speakeasyVersion: 1.542.0
|
||||
sources:
|
||||
my-source:
|
||||
sourceNamespace: my-source
|
||||
@@ -9,19 +9,19 @@ sources:
|
||||
- main
|
||||
plexapi:
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:b2f9599237ceb13cf8f9c1693e38b290177b65fb389cebf0c3c60b8ef4778615
|
||||
sourceBlobDigest: sha256:f8df9ef88ada992cd981d601e6c0b45cc82db76aba3d915c2f9d08f90c81ced9
|
||||
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed
|
||||
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0
|
||||
tags:
|
||||
- latest
|
||||
- speakeasy-sdk-regen-1745107898
|
||||
- speakeasy-sdk-regen-1746144664
|
||||
targets:
|
||||
plexphp:
|
||||
source: plexapi
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:b2f9599237ceb13cf8f9c1693e38b290177b65fb389cebf0c3c60b8ef4778615
|
||||
sourceBlobDigest: sha256:f8df9ef88ada992cd981d601e6c0b45cc82db76aba3d915c2f9d08f90c81ced9
|
||||
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed
|
||||
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0
|
||||
codeSamplesNamespace: code-samples-php-plexphp
|
||||
codeSamplesRevisionDigest: sha256:f120c4a14e2e6e6c2acda8f8f8f87f2aeb50d987cbdedd0ea3b44d5c64b0295b
|
||||
codeSamplesRevisionDigest: sha256:90168ceaa14c73e5fd26bb98d37a26459253c51cc4f866eb76274be1dd8a6a33
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -862,4 +862,14 @@ Based on:
|
||||
### Generated
|
||||
- [php v0.14.6] .
|
||||
### Releases
|
||||
- [Composer v0.14.6] https://packagist.org/packages/lukehagar/plex-api#v0.14.6 - .
|
||||
- [Composer v0.14.6] https://packagist.org/packages/lukehagar/plex-api#v0.14.6 - .
|
||||
|
||||
## 2025-05-02 00:10:48
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.542.0 (2.596.2) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [php v0.14.7] .
|
||||
### Releases
|
||||
- [Composer v0.14.7] https://packagist.org/packages/lukehagar/plex-api#v0.14.7 - .
|
||||
11
docs/Models/Operations/Attributes.md
Normal file
11
docs/Models/Operations/Attributes.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Attributes
|
||||
|
||||
Attributes associated with the marker.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | The identifier for the attributes. | 306970 |
|
||||
| `version` | *?int* | :heavy_minus_sign: | The version number of the marker attributes. | 4 |
|
||||
15
docs/Models/Operations/Chapter.md
Normal file
15
docs/Models/Operations/Chapter.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Chapter
|
||||
|
||||
The thumbnail for the chapter
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 4 |
|
||||
| `filter` | *string* | :heavy_check_mark: | N/A | thumb=4 |
|
||||
| `index` | *int* | :heavy_check_mark: | N/A | 1 |
|
||||
| `startTimeOffset` | *int* | :heavy_check_mark: | N/A | 0 |
|
||||
| `endTimeOffset` | *int* | :heavy_check_mark: | N/A | 100100 |
|
||||
| `thumb` | *string* | :heavy_check_mark: | N/A | /library/media/46883/chapterImages/1 |
|
||||
8
docs/Models/Operations/Extras.md
Normal file
8
docs/Models/Operations/Extras.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Extras
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------- | ----------------------- | ----------------------- | ----------------------- | ----------------------- |
|
||||
| `size` | *?int* | :heavy_minus_sign: | The size of the extras. | 1 |
|
||||
@@ -3,54 +3,56 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
|
||||
| `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 |
|
||||
| `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) |
|
||||
| `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 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | [Operations\GetAllMediaLibraryStreamType](../../Models/Operations/GetAllMediaLibraryStreamType.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
|
||||
| `format` | *?string* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *?int* | :heavy_minus_sign: | Index of the stream. | 0 |
|
||||
| `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 |
|
||||
| `key` | *?string* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
|
||||
| `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 |
|
||||
| `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) |
|
||||
| `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 |
|
||||
16
docs/Models/Operations/GetAllMediaLibraryStreamType.md
Normal file
16
docs/Models/Operations/GetAllMediaLibraryStreamType.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# GetAllMediaLibraryStreamType
|
||||
|
||||
Stream type:
|
||||
- 1 = video
|
||||
- 2 = audio
|
||||
- 3 = subtitle
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| ---------- | ---------- |
|
||||
| `Video` | 1 |
|
||||
| `Audio` | 2 |
|
||||
| `Subtitle` | 3 |
|
||||
@@ -1,10 +1,12 @@
|
||||
# GetMediaMetaDataCountry
|
||||
|
||||
The filter query string for country media items.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | The unique country identifier. | 58591 |
|
||||
| `filter` | *string* | :heavy_check_mark: | The filter string for the country. | country=58591 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The country name. | United States of America |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| `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 |
|
||||
@@ -3,11 +3,10 @@
|
||||
|
||||
## 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 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique identifier for the director. | 126522 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The role of Director | Danny Boyle |
|
||||
| `filter` | *string* | :heavy_check_mark: | The filter string used to query this director. | director=235876 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
@@ -1,10 +1,12 @@
|
||||
# GetMediaMetaDataGenre
|
||||
|
||||
The filter query string for similar items.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | The unique genre identifier. | 1057 |
|
||||
| `filter` | *string* | :heavy_check_mark: | The filter string for the genre. | genre=1057 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The genre name. | Crime |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |
|
||||
| `filter` | *string* | :heavy_check_mark: | N/A | genre=19 |
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
|
||||
| `alt` | *string* | :heavy_check_mark: | Alternate text for the image. | Better Call Saul |
|
||||
| `type` | *string* | :heavy_check_mark: | The type of image (e.g., coverPoster, background, clearLogo). | coverPoster |
|
||||
| `url` | *string* | :heavy_check_mark: | The URL of the image. | /library/metadata/44288/thumb/1736487993 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
|
||||
| `alt` | *string* | :heavy_check_mark: | N/A | Episode 1 |
|
||||
| `type` | [Operations\GetMediaMetaDataLibraryType](../../Models/Operations/GetMediaMetaDataLibraryType.md) | :heavy_check_mark: | N/A | background |
|
||||
| `url` | *string* | :heavy_check_mark: | N/A | /library/metadata/45521/thumb/1644710589 |
|
||||
11
docs/Models/Operations/GetMediaMetaDataLibraryType.md
Normal file
11
docs/Models/Operations/GetMediaMetaDataLibraryType.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# GetMediaMetaDataLibraryType
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| ------------- | ------------- |
|
||||
| `CoverPoster` | coverPoster |
|
||||
| `Background` | background |
|
||||
| `Snapshot` | snapshot |
|
||||
| `ClearLogo` | clearLogo |
|
||||
@@ -1,68 +1,83 @@
|
||||
# GetMediaMetaDataMetadata
|
||||
|
||||
Unknown
|
||||
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `ratingKey` | *string* | :heavy_check_mark: | The rating key of the metadata item. | 44288 |
|
||||
| `parentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the parent of this metadata item. | 48047 |
|
||||
| `grandparentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the grandparent of this metadata item. | 45520 |
|
||||
| `parentGuid` | *?string* | :heavy_minus_sign: | A GUID identifying the parent entity (e.g., season) for the item. | plex://season/618b89208dde18df707ad15c |
|
||||
| `grandparentGuid` | *?string* | :heavy_minus_sign: | A GUID identifying the grandparent entity (e.g., show). | plex://show/5e16253691c20300412003a8 |
|
||||
| `grandparentSlug` | *?string* | :heavy_minus_sign: | A URL-friendly identifier (slug) for the grandparent entity. | alice-in-borderland-2020 |
|
||||
| `grandparentKey` | *?string* | :heavy_minus_sign: | A key identifying the grandparent metadata in the library. | /library/metadata/45520 |
|
||||
| `parentKey` | *?string* | :heavy_minus_sign: | A key identifying the parent metadata in the library. | /library/metadata/48047 |
|
||||
| `key` | *string* | :heavy_check_mark: | The API key to access metadata details. | /library/metadata/44288/children |
|
||||
| `guid` | *string* | :heavy_check_mark: | The globally unique identifier for the item. | plex://show/5d9c08254eefaa001f5d6dcb |
|
||||
| `slug` | *?string* | :heavy_minus_sign: | A URL-friendly identifier for the item. | better-call-saul |
|
||||
| `studio` | *?string* | :heavy_minus_sign: | The studio that produced the content. | Sony Pictures Television |
|
||||
| `type` | *string* | :heavy_check_mark: | The type of content (e.g., show, movie). | show |
|
||||
| `title` | *string* | :heavy_check_mark: | The title of the content. | Better Call Saul |
|
||||
| `originalTitle` | *?string* | :heavy_minus_sign: | The original title of the content. | Wicked: Part I |
|
||||
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | TV Series |
|
||||
| `librarySectionID` | *int* | :heavy_check_mark: | The ID of the library section. | 2 |
|
||||
| `librarySectionKey` | *string* | :heavy_check_mark: | The key of the library section. | /library/sections/2 |
|
||||
| `contentRating` | *?string* | :heavy_minus_sign: | The content rating (e.g., TV-MA). | TV-MA |
|
||||
| `summary` | *string* | :heavy_check_mark: | A summary of the content. | Before Saul Goodman, he was Jimmy McGill. And if you're calling Jimmy, you're in real trouble. The prequel to "Breaking Bad" follows small-time attorney, Jimmy McGill, as he transforms into Walter White's morally challenged lawyer, Saul Goodman. |
|
||||
| `index` | *?int* | :heavy_minus_sign: | The index or order of the item. | 1 |
|
||||
| `grandparentTitle` | *?string* | :heavy_minus_sign: | The title of the grandparent entity (typically the show's title). | Alice in Borderland |
|
||||
| `parentTitle` | *?string* | :heavy_minus_sign: | The title of the parent entity (typically the season's title). | Season 2 |
|
||||
| `audienceRating` | *?float* | :heavy_minus_sign: | The audience rating for the content. | 8.7 |
|
||||
| `viewCount` | *?int* | :heavy_minus_sign: | The number of times the item has been viewed. | 4 |
|
||||
| `skipCount` | *?int* | :heavy_minus_sign: | The number of times the item has been skipped. | 1 |
|
||||
| `lastViewedAt` | *?int* | :heavy_minus_sign: | Unix timestamp of when the item was last viewed. | 1625764795 |
|
||||
| `year` | *int* | :heavy_check_mark: | The release year. | 2015 |
|
||||
| `rating` | *?float* | :heavy_minus_sign: | The general rating | 6 |
|
||||
| `ratingImage` | *?string* | :heavy_minus_sign: | The URL or identifier for the rating image (e.g., Rotten Tomatoes rating image). | rottentomatoes://image.rating.ripe |
|
||||
| `tagline` | *?string* | :heavy_minus_sign: | The tagline of the content. | Make the call |
|
||||
| `chapterSource` | *?string* | :heavy_minus_sign: | N/A | media |
|
||||
| `primaryExtraKey` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/134704 |
|
||||
| `thumb` | *string* | :heavy_check_mark: | URL of the thumbnail image. | /library/metadata/44288/thumb/1736487993 |
|
||||
| `art` | *string* | :heavy_check_mark: | URL of the art image. | /library/metadata/44288/art/1736487993 |
|
||||
| `theme` | *?string* | :heavy_minus_sign: | URL of the theme image. | /library/metadata/44288/theme/1736487993 |
|
||||
| `duration` | *int* | :heavy_check_mark: | Duration of the content in milliseconds. | 2700000 |
|
||||
| `originallyAvailableAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | The original release date. | 2015-02-08 |
|
||||
| `leafCount` | *?int* | :heavy_minus_sign: | The total number of episodes (or leaves). | 63 |
|
||||
| `viewedLeafCount` | *?int* | :heavy_minus_sign: | The number of episodes that have been viewed. | 4 |
|
||||
| `childCount` | *?int* | :heavy_minus_sign: | The number of child items. | 6 |
|
||||
| `addedAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `updatedAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `audienceRatingImage` | *?string* | :heavy_minus_sign: | The URL for the audience rating image. | themoviedb://image.rating |
|
||||
| `parentIndex` | *?int* | :heavy_minus_sign: | The index number of the parent entity, which could indicate its order or position. | 2 |
|
||||
| `parentThumb` | *?string* | :heavy_minus_sign: | The URL of the parent's thumbnail image. | /library/metadata/48047/thumb/1671800243 |
|
||||
| `grandparentThumb` | *?string* | :heavy_minus_sign: | The URL of the grandparent's thumbnail image. | /library/metadata/45520/thumb/1736488003 |
|
||||
| `grandparentArt` | *?string* | :heavy_minus_sign: | The URL of the grandparent's art image. | /library/metadata/45520/art/1736488003 |
|
||||
| `media` | array<[Operations\GetMediaMetaDataMedia](../../Models/Operations/GetMediaMetaDataMedia.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `image` | array<[Operations\GetMediaMetaDataImage](../../Models/Operations/GetMediaMetaDataImage.md)> | :heavy_check_mark: | An array of image objects. | |
|
||||
| `ultraBlurColors` | [Operations\GetMediaMetaDataUltraBlurColors](../../Models/Operations/GetMediaMetaDataUltraBlurColors.md) | :heavy_check_mark: | N/A | |
|
||||
| `genre` | array<[Operations\GetMediaMetaDataGenre](../../Models/Operations/GetMediaMetaDataGenre.md)> | :heavy_minus_sign: | An array of genre tags. | |
|
||||
| `country` | array<[Operations\GetMediaMetaDataCountry](../../Models/Operations/GetMediaMetaDataCountry.md)> | :heavy_minus_sign: | An array of country tags. | |
|
||||
| `guids` | array<[Operations\GetMediaMetaDataGuids](../../Models/Operations/GetMediaMetaDataGuids.md)> | :heavy_minus_sign: | An array of GUID objects. | |
|
||||
| `ratings` | array<[Operations\Ratings](../../Models/Operations/Ratings.md)> | :heavy_minus_sign: | An array of rating objects. | |
|
||||
| `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\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. | |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `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 |
|
||||
| `key` | *string* | :heavy_check_mark: | The unique key for the media item. | /library/metadata/58683 |
|
||||
| `guid` | *string* | :heavy_check_mark: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
|
||||
| `slug` | *string* | :heavy_check_mark: | A URL‐friendly version of the media title. | 4-for-texas |
|
||||
| `studio` | *?string* | :heavy_minus_sign: | The studio that produced the media item. | 20th Century Studios |
|
||||
| `type` | [Operations\GetMediaMetaDataType](../../Models/Operations/GetMediaMetaDataType.md) | :heavy_check_mark: | N/A | movie |
|
||||
| `title` | *string* | :heavy_check_mark: | The title of the media item. | Avatar: The Way of Water |
|
||||
| `titleSort` | *string* | :heavy_check_mark: | The sort title used for ordering media items. | Whale |
|
||||
| `contentRating` | *?string* | :heavy_minus_sign: | The content rating for the media item. | PG-13 |
|
||||
| `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_minus_sign: | 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 |
|
||||
| `theme` | *string* | :heavy_check_mark: | The theme URL for the media item. | /library/metadata/1/theme/1705636920 |
|
||||
| `index` | *int* | :heavy_check_mark: | The index position of the media item. | 1 |
|
||||
| `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 |
|
||||
| `childCount` | *int* | :heavy_check_mark: | The number of child items associated with this media item. | 1 |
|
||||
| `seasonCount` | *int* | :heavy_check_mark: | The total number of seasons (for TV shows). | 2022 |
|
||||
| `duration` | *int* | :heavy_check_mark: | The duration of the media item in milliseconds. | 11558112 |
|
||||
| `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 |
|
||||
| `addedAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
|
||||
| `updatedAt` | *?int* | :heavy_minus_sign: | Unix epoch datetime in seconds | 1556281940 |
|
||||
| `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 |
|
||||
| `primaryExtraKey` | *?string* | :heavy_minus_sign: | The primary extra key associated with this media item. | /library/metadata/58684 |
|
||||
| `originalTitle` | *?string* | :heavy_minus_sign: | The original title of the media item (if different). | 映画 ブラッククローバー 魔法帝の剣 |
|
||||
| `parentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the parent media item. | 66 |
|
||||
| `grandparentRatingKey` | *?string* | :heavy_minus_sign: | The rating key of the grandparent media item. | 66 |
|
||||
| `parentGuid` | *?string* | :heavy_minus_sign: | The GUID of the parent media item. | plex://show/5d9c081b170e24001f2a7be4 |
|
||||
| `grandparentGuid` | *?string* | :heavy_minus_sign: | The GUID of the grandparent media item. | plex://show/5d9c081b170e24001f2a7be4 |
|
||||
| `grandparentSlug` | *?string* | :heavy_minus_sign: | The slug for the grandparent media item. | alice-in-borderland-2020 |
|
||||
| `grandparentKey` | *?string* | :heavy_minus_sign: | The key of the grandparent media item. | /library/metadata/66 |
|
||||
| `parentKey` | *?string* | :heavy_minus_sign: | The key of the parent media item. | /library/metadata/66 |
|
||||
| `grandparentTitle` | *?string* | :heavy_minus_sign: | The title of the grandparent media item. | Caprica |
|
||||
| `grandparentThumb` | *?string* | :heavy_minus_sign: | The thumbnail URL for the grandparent media item. | /library/metadata/66/thumb/1705716261 |
|
||||
| `grandparentTheme` | *?string* | :heavy_minus_sign: | The theme URL for the grandparent media item. | /library/metadata/66/theme/1705716261 |
|
||||
| `grandparentArt` | *?string* | :heavy_minus_sign: | The art URL for the grandparent media item. | /library/metadata/66/art/1705716261 |
|
||||
| `parentTitle` | *?string* | :heavy_minus_sign: | The title of the parent media item. | Caprica |
|
||||
| `parentIndex` | *?int* | :heavy_minus_sign: | The index position of the parent media item. | 1 |
|
||||
| `parentThumb` | *?string* | :heavy_minus_sign: | The thumbnail URL for the parent media item. | /library/metadata/66/thumb/1705716261 |
|
||||
| `ratingImage` | *?string* | :heavy_minus_sign: | The URL for the rating image. | rottentomatoes://image.rating.ripe |
|
||||
| `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 |
|
||||
| `skipCount` | *?int* | :heavy_minus_sign: | The number of times this media item has been skipped. | 1 |
|
||||
| `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 |
|
||||
| `lastRatedAt` | *?int* | :heavy_minus_sign: | The Unix timestamp representing the last time the item was rated. | 1721813113 |
|
||||
| `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 |
|
||||
| `lastViewedAt` | *?int* | :heavy_minus_sign: | Unix timestamp for when the media item was last viewed. | 1682752242 |
|
||||
| `userRating` | *?float* | :heavy_minus_sign: | The rating provided by a user for the item. This value is expressed as a decimal number. | 10 |
|
||||
| `image` | array<[Operations\GetMediaMetaDataImage](../../Models/Operations/GetMediaMetaDataImage.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ultraBlurColors` | [?Operations\GetMediaMetaDataUltraBlurColors](../../Models/Operations/GetMediaMetaDataUltraBlurColors.md) | :heavy_minus_sign: | N/A | |
|
||||
| `librarySectionID` | *int* | :heavy_check_mark: | The identifier for the library section. | 1 |
|
||||
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | Movies |
|
||||
| `librarySectionKey` | *string* | :heavy_check_mark: | The key corresponding to the library section. | /library/sections/1 |
|
||||
| `media` | array<[Operations\GetMediaMetaDataMedia](../../Models/Operations/GetMediaMetaDataMedia.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `genre` | array<[Operations\GetMediaMetaDataGenre](../../Models/Operations/GetMediaMetaDataGenre.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `country` | array<[Operations\GetMediaMetaDataCountry](../../Models/Operations/GetMediaMetaDataCountry.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `director` | array<[Operations\GetMediaMetaDataDirector](../../Models/Operations/GetMediaMetaDataDirector.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `writer` | array<[Operations\GetMediaMetaDataWriter](../../Models/Operations/GetMediaMetaDataWriter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `producer` | array<[Operations\GetMediaMetaDataProducer](../../Models/Operations/GetMediaMetaDataProducer.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `role` | array<[Operations\GetMediaMetaDataRole](../../Models/Operations/GetMediaMetaDataRole.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\GetMediaMetaDataGuids](../../Models/Operations/GetMediaMetaDataGuids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ratings` | array<[Operations\Ratings](../../Models/Operations/Ratings.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `similar` | array<[Operations\GetMediaMetaDataSimilar](../../Models/Operations/GetMediaMetaDataSimilar.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `location` | array<[Operations\GetMediaMetaDataLocation](../../Models/Operations/GetMediaMetaDataLocation.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `chapter` | array<[Operations\Chapter](../../Models/Operations/Chapter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `marker` | array<[Operations\Marker](../../Models/Operations/Marker.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `extras` | [?Operations\Extras](../../Models/Operations/Extras.md) | :heavy_minus_sign: | N/A | |
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
## 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 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique identifier for the actor or role. | 126522 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |
|
||||
| `role` | *?string* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
|
||||
| `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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the actor'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 |
|
||||
@@ -3,54 +3,56 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
|
||||
| `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 |
|
||||
| `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) |
|
||||
| `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 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | [Operations\GetMediaMetaDataStreamType](../../Models/Operations/GetMediaMetaDataStreamType.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
|
||||
| `format` | *?string* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *?int* | :heavy_minus_sign: | Index of the stream. | 0 |
|
||||
| `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 |
|
||||
| `key` | *?string* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
|
||||
| `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 |
|
||||
| `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) |
|
||||
| `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 |
|
||||
16
docs/Models/Operations/GetMediaMetaDataStreamType.md
Normal file
16
docs/Models/Operations/GetMediaMetaDataStreamType.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# GetMediaMetaDataStreamType
|
||||
|
||||
Stream type:
|
||||
- 1 = video
|
||||
- 2 = audio
|
||||
- 3 = subtitle
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| ---------- | ---------- |
|
||||
| `Video` | 1 |
|
||||
| `Audio` | 2 |
|
||||
| `Subtitle` | 3 |
|
||||
16
docs/Models/Operations/GetMediaMetaDataType.md
Normal file
16
docs/Models/Operations/GetMediaMetaDataType.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# GetMediaMetaDataType
|
||||
|
||||
The type of media content
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- |
|
||||
| `topLeft` | *string* | :heavy_check_mark: | The top-left color value. | 11333a |
|
||||
| `topRight` | *string* | :heavy_check_mark: | The top-right color value. | 1d2721 |
|
||||
| `bottomRight` | *string* | :heavy_check_mark: | The bottom-right color value. | 5c451d |
|
||||
| `bottomLeft` | *string* | :heavy_check_mark: | The bottom-left color value. | 372c10 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
|
||||
| `topLeft` | *string* | :heavy_check_mark: | N/A | 11333b |
|
||||
| `topRight` | *string* | :heavy_check_mark: | N/A | 0a232d |
|
||||
| `bottomRight` | *string* | :heavy_check_mark: | N/A | 73958 |
|
||||
| `bottomLeft` | *string* | :heavy_check_mark: | N/A | 1f5066 |
|
||||
@@ -3,11 +3,10 @@
|
||||
|
||||
## 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 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique identifier for the writer. | 126522 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The role of Writer | Jamie P. Hanson |
|
||||
| `filter` | *string* | :heavy_check_mark: | The filter string used to query this writer. | writer=126522 |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
15
docs/Models/Operations/Marker.md
Normal file
15
docs/Models/Operations/Marker.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Marker
|
||||
|
||||
The final status of the marker
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 306970 |
|
||||
| `type` | *string* | :heavy_check_mark: | N/A | credits |
|
||||
| `startTimeOffset` | *int* | :heavy_check_mark: | N/A | 4176050 |
|
||||
| `endTimeOffset` | *int* | :heavy_check_mark: | N/A | 4393389 |
|
||||
| `final` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `attributes` | [?Operations\Attributes](../../Models/Operations/Attributes.md) | :heavy_minus_sign: | Attributes associated with the marker. | |
|
||||
@@ -6,10 +6,11 @@
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | *int* | :heavy_check_mark: | Stream type (1=video, 2=audio, 3=subtitle). | 1 |
|
||||
| `streamType` | [Operations\StreamType](../../Models/Operations/StreamType.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
|
||||
| `format` | *?string* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *int* | :heavy_check_mark: | Index of the stream. | 0 |
|
||||
| `index` | *?int* | :heavy_minus_sign: | Index of the stream. | 0 |
|
||||
| `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 |
|
||||
@@ -34,6 +35,7 @@
|
||||
| `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 |
|
||||
| `key` | *?string* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
|
||||
| `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 |
|
||||
|
||||
16
docs/Models/Operations/StreamType.md
Normal file
16
docs/Models/Operations/StreamType.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# StreamType
|
||||
|
||||
Stream type:
|
||||
- 1 = video
|
||||
- 2 = audio
|
||||
- 3 = subtitle
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| ---------- | ---------- |
|
||||
| `Video` | 1 |
|
||||
| `Audio` | 2 |
|
||||
| `Subtitle` | 3 |
|
||||
42
src/Models/Operations/Attributes.php
Normal file
42
src/Models/Operations/Attributes.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/** Attributes - Attributes associated with the marker. */
|
||||
class Attributes
|
||||
{
|
||||
/**
|
||||
* The identifier for the attributes.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The version number of the marker attributes.
|
||||
*
|
||||
* @var ?int $version
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('version')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $version = null;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param ?int $version
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, ?int $version = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->version = $version;
|
||||
}
|
||||
}
|
||||
75
src/Models/Operations/Chapter.php
Normal file
75
src/Models/Operations/Chapter.php
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/** Chapter - The thumbnail for the chapter */
|
||||
class Chapter
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
public int $index;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int $startTimeOffset
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('startTimeOffset')]
|
||||
public int $startTimeOffset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int $endTimeOffset
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('endTimeOffset')]
|
||||
public int $endTimeOffset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string $thumb
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('thumb')]
|
||||
public string $thumb;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $filter
|
||||
* @param int $index
|
||||
* @param int $startTimeOffset
|
||||
* @param int $endTimeOffset
|
||||
* @param string $thumb
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, int $index, int $startTimeOffset, int $endTimeOffset, string $thumb)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->index = $index;
|
||||
$this->startTimeOffset = $startTimeOffset;
|
||||
$this->endTimeOffset = $endTimeOffset;
|
||||
$this->thumb = $thumb;
|
||||
}
|
||||
}
|
||||
31
src/Models/Operations/Extras.php
Normal file
31
src/Models/Operations/Extras.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
class Extras
|
||||
{
|
||||
/**
|
||||
* The size of the extras.
|
||||
*
|
||||
* @var ?int $size
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('size')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $size = null;
|
||||
|
||||
/**
|
||||
* @param ?int $size
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(?int $size = null)
|
||||
{
|
||||
$this->size = $size;
|
||||
}
|
||||
}
|
||||
@@ -20,12 +20,18 @@ class GetAllMediaLibraryStream
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* Stream type (1=video, 2=audio, 3=subtitle).
|
||||
* Stream type:
|
||||
*
|
||||
* @var int $streamType
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*
|
||||
* @var GetAllMediaLibraryStreamType $streamType
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('streamType')]
|
||||
public int $streamType;
|
||||
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetAllMediaLibraryStreamType')]
|
||||
public GetAllMediaLibraryStreamType $streamType;
|
||||
|
||||
/**
|
||||
* Codec used by the stream.
|
||||
@@ -35,14 +41,6 @@ class GetAllMediaLibraryStream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('codec')]
|
||||
public string $codec;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
public int $index;
|
||||
|
||||
/**
|
||||
* Display title for the stream.
|
||||
*
|
||||
@@ -59,6 +57,15 @@ class GetAllMediaLibraryStream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('extendedDisplayTitle')]
|
||||
public string $extendedDisplayTitle;
|
||||
|
||||
/**
|
||||
* Format of the stream (e.g., srt).
|
||||
*
|
||||
* @var ?string $format
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('format')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $format = null;
|
||||
|
||||
/**
|
||||
* Indicates if this stream is default.
|
||||
*
|
||||
@@ -68,6 +75,15 @@ class GetAllMediaLibraryStream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?bool $default = null;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var ?int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $index = null;
|
||||
|
||||
/**
|
||||
* Bitrate of the stream.
|
||||
*
|
||||
@@ -283,6 +299,15 @@ class GetAllMediaLibraryStream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?float $frameRate = null;
|
||||
|
||||
/**
|
||||
* Key to access this stream part.
|
||||
*
|
||||
* @var ?string $key
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('key')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $key = null;
|
||||
|
||||
/**
|
||||
* Height of the video stream.
|
||||
*
|
||||
@@ -443,12 +468,13 @@ class GetAllMediaLibraryStream
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param int $streamType
|
||||
* @param GetAllMediaLibraryStreamType $streamType
|
||||
* @param string $codec
|
||||
* @param int $index
|
||||
* @param string $displayTitle
|
||||
* @param string $extendedDisplayTitle
|
||||
* @param ?string $format
|
||||
* @param ?bool $default
|
||||
* @param ?int $index
|
||||
* @param ?int $bitrate
|
||||
* @param ?string $language
|
||||
* @param ?string $languageTag
|
||||
@@ -473,6 +499,7 @@ class GetAllMediaLibraryStream
|
||||
* @param ?string $colorSpace
|
||||
* @param ?string $colorTrc
|
||||
* @param ?float $frameRate
|
||||
* @param ?string $key
|
||||
* @param ?int $height
|
||||
* @param ?int $level
|
||||
* @param ?bool $original
|
||||
@@ -493,15 +520,16 @@ class GetAllMediaLibraryStream
|
||||
* @param ?string $title
|
||||
* @phpstan-pure
|
||||
*/
|
||||
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)
|
||||
public function __construct(int $id, GetAllMediaLibraryStreamType $streamType, string $codec, string $displayTitle, string $extendedDisplayTitle, ?string $format = null, ?bool $default = null, ?int $index = 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, ?string $key = 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->displayTitle = $displayTitle;
|
||||
$this->extendedDisplayTitle = $extendedDisplayTitle;
|
||||
$this->format = $format;
|
||||
$this->default = $default;
|
||||
$this->index = $index;
|
||||
$this->bitrate = $bitrate;
|
||||
$this->language = $language;
|
||||
$this->languageTag = $languageTag;
|
||||
@@ -526,6 +554,7 @@ class GetAllMediaLibraryStream
|
||||
$this->colorSpace = $colorSpace;
|
||||
$this->colorTrc = $colorTrc;
|
||||
$this->frameRate = $frameRate;
|
||||
$this->key = $key;
|
||||
$this->height = $height;
|
||||
$this->level = $level;
|
||||
$this->original = $original;
|
||||
|
||||
25
src/Models/Operations/GetAllMediaLibraryStreamType.php
Normal file
25
src/Models/Operations/GetAllMediaLibraryStreamType.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*/
|
||||
enum GetAllMediaLibraryStreamType: int
|
||||
{
|
||||
case Video = 1;
|
||||
case Audio = 2;
|
||||
case Subtitle = 3;
|
||||
}
|
||||
@@ -9,10 +9,10 @@ declare(strict_types=1);
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/** GetMediaMetaDataCountry - The filter query string for country media items. */
|
||||
class GetMediaMetaDataCountry
|
||||
{
|
||||
/**
|
||||
* The unique country identifier.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
@@ -20,31 +20,31 @@ class GetMediaMetaDataCountry
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The filter string for the country.
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The country name.
|
||||
* 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 $filter
|
||||
* @param string $tag
|
||||
* @param ?string $filter
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, string $tag)
|
||||
public function __construct(int $id, string $tag, ?string $filter = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->tag = $tag;
|
||||
$this->filter = $filter;
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
||||
class GetMediaMetaDataDirector
|
||||
{
|
||||
/**
|
||||
* The unique role identifier.
|
||||
* Unique identifier for the director.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
@@ -20,15 +20,7 @@ class GetMediaMetaDataDirector
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The filter string for the role.
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The actor's name.
|
||||
* The role of Director
|
||||
*
|
||||
* @var string $tag
|
||||
*/
|
||||
@@ -36,24 +28,24 @@ class GetMediaMetaDataDirector
|
||||
public string $tag;
|
||||
|
||||
/**
|
||||
* A key associated with the actor tag.
|
||||
* The filter string used to query this director.
|
||||
*
|
||||
* @var string $tagKey
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* A unique key associated with the director's tag, used for internal identification.
|
||||
*
|
||||
* @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;
|
||||
public ?string $tagKey = null;
|
||||
|
||||
/**
|
||||
* URL for the role thumbnail image.
|
||||
* The URL of the thumbnail image for the director.
|
||||
*
|
||||
* @var ?string $thumb
|
||||
*/
|
||||
@@ -63,20 +55,18 @@ class GetMediaMetaDataDirector
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $filter
|
||||
* @param string $tag
|
||||
* @param string $tagKey
|
||||
* @param ?string $role
|
||||
* @param string $filter
|
||||
* @param ?string $tagKey
|
||||
* @param ?string $thumb
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, string $tag, string $tagKey, ?string $role = null, ?string $thumb = null)
|
||||
public function __construct(int $id, string $tag, string $filter, ?string $tagKey = null, ?string $thumb = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->tag = $tag;
|
||||
$this->filter = $filter;
|
||||
$this->tagKey = $tagKey;
|
||||
$this->role = $role;
|
||||
$this->thumb = $thumb;
|
||||
}
|
||||
}
|
||||
@@ -9,10 +9,10 @@ declare(strict_types=1);
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/** GetMediaMetaDataGenre - The filter query string for similar items. */
|
||||
class GetMediaMetaDataGenre
|
||||
{
|
||||
/**
|
||||
* The unique genre identifier.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
@@ -20,31 +20,32 @@ class GetMediaMetaDataGenre
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The filter string for the genre.
|
||||
* The genre name of this media-item
|
||||
*
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The genre name.
|
||||
*
|
||||
* @var string $tag
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('tag')]
|
||||
public string $tag;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $filter
|
||||
* @param string $tag
|
||||
* @param string $filter
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, string $tag)
|
||||
public function __construct(int $id, string $tag, string $filter)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->tag = $tag;
|
||||
$this->filter = $filter;
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,6 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
||||
class GetMediaMetaDataImage
|
||||
{
|
||||
/**
|
||||
* Alternate text for the image.
|
||||
*
|
||||
* @var string $alt
|
||||
*/
|
||||
@@ -20,15 +19,14 @@ class GetMediaMetaDataImage
|
||||
public string $alt;
|
||||
|
||||
/**
|
||||
* The type of image (e.g., coverPoster, background, clearLogo).
|
||||
*
|
||||
* @var string $type
|
||||
* @var GetMediaMetaDataLibraryType $type
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('type')]
|
||||
public string $type;
|
||||
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataLibraryType')]
|
||||
public GetMediaMetaDataLibraryType $type;
|
||||
|
||||
/**
|
||||
* The URL of the image.
|
||||
*
|
||||
* @var string $url
|
||||
*/
|
||||
@@ -37,11 +35,11 @@ class GetMediaMetaDataImage
|
||||
|
||||
/**
|
||||
* @param string $alt
|
||||
* @param string $type
|
||||
* @param GetMediaMetaDataLibraryType $type
|
||||
* @param string $url
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(string $alt, string $type, string $url)
|
||||
public function __construct(string $alt, GetMediaMetaDataLibraryType $type, string $url)
|
||||
{
|
||||
$this->alt = $alt;
|
||||
$this->type = $type;
|
||||
|
||||
18
src/Models/Operations/GetMediaMetaDataLibraryType.php
Normal file
18
src/Models/Operations/GetMediaMetaDataLibraryType.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
enum GetMediaMetaDataLibraryType: string
|
||||
{
|
||||
case CoverPoster = 'coverPoster';
|
||||
case Background = 'background';
|
||||
case Snapshot = 'snapshot';
|
||||
case ClearLogo = 'clearLogo';
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -12,7 +12,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
||||
class GetMediaMetaDataRole
|
||||
{
|
||||
/**
|
||||
* The unique role identifier.
|
||||
* Unique identifier for the actor or role.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
@@ -20,15 +20,7 @@ class GetMediaMetaDataRole
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The filter string for the role.
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The actor's name.
|
||||
* The display tag for the actor (typically the actor's name).
|
||||
*
|
||||
* @var string $tag
|
||||
*/
|
||||
@@ -36,15 +28,15 @@ class GetMediaMetaDataRole
|
||||
public string $tag;
|
||||
|
||||
/**
|
||||
* A key associated with the actor tag.
|
||||
* The filter string used to query this actor. For example, it may indicate that this is an actor with a given key.
|
||||
*
|
||||
* @var string $tagKey
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('tagKey')]
|
||||
public string $tagKey;
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The character name or role.
|
||||
* The role played by the actor in the media item.
|
||||
*
|
||||
* @var ?string $role
|
||||
*/
|
||||
@@ -53,7 +45,16 @@ class GetMediaMetaDataRole
|
||||
public ?string $role = null;
|
||||
|
||||
/**
|
||||
* URL for the role thumbnail image.
|
||||
* A unique key associated with the actor's tag, used for internal identification.
|
||||
*
|
||||
* @var ?string $tagKey
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('tagKey')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $tagKey = null;
|
||||
|
||||
/**
|
||||
* The URL of the thumbnail image for the actor.
|
||||
*
|
||||
* @var ?string $thumb
|
||||
*/
|
||||
@@ -63,20 +64,20 @@ class GetMediaMetaDataRole
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $filter
|
||||
* @param string $tag
|
||||
* @param string $tagKey
|
||||
* @param string $filter
|
||||
* @param ?string $role
|
||||
* @param ?string $tagKey
|
||||
* @param ?string $thumb
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, string $tag, string $tagKey, ?string $role = null, ?string $thumb = null)
|
||||
public function __construct(int $id, string $tag, string $filter, ?string $role = null, ?string $tagKey = null, ?string $thumb = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->tag = $tag;
|
||||
$this->tagKey = $tagKey;
|
||||
$this->filter = $filter;
|
||||
$this->role = $role;
|
||||
$this->tagKey = $tagKey;
|
||||
$this->thumb = $thumb;
|
||||
}
|
||||
}
|
||||
@@ -20,12 +20,18 @@ class GetMediaMetaDataStream
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* Stream type (1=video, 2=audio, 3=subtitle).
|
||||
* Stream type:
|
||||
*
|
||||
* @var int $streamType
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*
|
||||
* @var GetMediaMetaDataStreamType $streamType
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('streamType')]
|
||||
public int $streamType;
|
||||
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetMediaMetaDataStreamType')]
|
||||
public GetMediaMetaDataStreamType $streamType;
|
||||
|
||||
/**
|
||||
* Codec used by the stream.
|
||||
@@ -35,14 +41,6 @@ class GetMediaMetaDataStream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('codec')]
|
||||
public string $codec;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
public int $index;
|
||||
|
||||
/**
|
||||
* Display title for the stream.
|
||||
*
|
||||
@@ -59,6 +57,15 @@ class GetMediaMetaDataStream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('extendedDisplayTitle')]
|
||||
public string $extendedDisplayTitle;
|
||||
|
||||
/**
|
||||
* Format of the stream (e.g., srt).
|
||||
*
|
||||
* @var ?string $format
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('format')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $format = null;
|
||||
|
||||
/**
|
||||
* Indicates if this stream is default.
|
||||
*
|
||||
@@ -68,6 +75,15 @@ class GetMediaMetaDataStream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?bool $default = null;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var ?int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $index = null;
|
||||
|
||||
/**
|
||||
* Bitrate of the stream.
|
||||
*
|
||||
@@ -283,6 +299,15 @@ class GetMediaMetaDataStream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?float $frameRate = null;
|
||||
|
||||
/**
|
||||
* Key to access this stream part.
|
||||
*
|
||||
* @var ?string $key
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('key')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $key = null;
|
||||
|
||||
/**
|
||||
* Height of the video stream.
|
||||
*
|
||||
@@ -443,12 +468,13 @@ class GetMediaMetaDataStream
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param int $streamType
|
||||
* @param GetMediaMetaDataStreamType $streamType
|
||||
* @param string $codec
|
||||
* @param int $index
|
||||
* @param string $displayTitle
|
||||
* @param string $extendedDisplayTitle
|
||||
* @param ?string $format
|
||||
* @param ?bool $default
|
||||
* @param ?int $index
|
||||
* @param ?int $bitrate
|
||||
* @param ?string $language
|
||||
* @param ?string $languageTag
|
||||
@@ -473,6 +499,7 @@ class GetMediaMetaDataStream
|
||||
* @param ?string $colorSpace
|
||||
* @param ?string $colorTrc
|
||||
* @param ?float $frameRate
|
||||
* @param ?string $key
|
||||
* @param ?int $height
|
||||
* @param ?int $level
|
||||
* @param ?bool $original
|
||||
@@ -493,15 +520,16 @@ class GetMediaMetaDataStream
|
||||
* @param ?string $title
|
||||
* @phpstan-pure
|
||||
*/
|
||||
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)
|
||||
public function __construct(int $id, GetMediaMetaDataStreamType $streamType, string $codec, string $displayTitle, string $extendedDisplayTitle, ?string $format = null, ?bool $default = null, ?int $index = 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, ?string $key = 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->displayTitle = $displayTitle;
|
||||
$this->extendedDisplayTitle = $extendedDisplayTitle;
|
||||
$this->format = $format;
|
||||
$this->default = $default;
|
||||
$this->index = $index;
|
||||
$this->bitrate = $bitrate;
|
||||
$this->language = $language;
|
||||
$this->languageTag = $languageTag;
|
||||
@@ -526,6 +554,7 @@ class GetMediaMetaDataStream
|
||||
$this->colorSpace = $colorSpace;
|
||||
$this->colorTrc = $colorTrc;
|
||||
$this->frameRate = $frameRate;
|
||||
$this->key = $key;
|
||||
$this->height = $height;
|
||||
$this->level = $level;
|
||||
$this->original = $original;
|
||||
|
||||
25
src/Models/Operations/GetMediaMetaDataStreamType.php
Normal file
25
src/Models/Operations/GetMediaMetaDataStreamType.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*/
|
||||
enum GetMediaMetaDataStreamType: int
|
||||
{
|
||||
case Video = 1;
|
||||
case Audio = 2;
|
||||
case Subtitle = 3;
|
||||
}
|
||||
25
src/Models/Operations/GetMediaMetaDataType.php
Normal file
25
src/Models/Operations/GetMediaMetaDataType.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/**
|
||||
* The type of media content
|
||||
*
|
||||
*
|
||||
*/
|
||||
enum GetMediaMetaDataType: string
|
||||
{
|
||||
case Movie = 'movie';
|
||||
case TvShow = 'show';
|
||||
case Season = 'season';
|
||||
case Episode = 'episode';
|
||||
case Artist = 'artist';
|
||||
case Album = 'album';
|
||||
}
|
||||
@@ -12,7 +12,6 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
||||
class GetMediaMetaDataUltraBlurColors
|
||||
{
|
||||
/**
|
||||
* The top-left color value.
|
||||
*
|
||||
* @var string $topLeft
|
||||
*/
|
||||
@@ -20,7 +19,6 @@ class GetMediaMetaDataUltraBlurColors
|
||||
public string $topLeft;
|
||||
|
||||
/**
|
||||
* The top-right color value.
|
||||
*
|
||||
* @var string $topRight
|
||||
*/
|
||||
@@ -28,7 +26,6 @@ class GetMediaMetaDataUltraBlurColors
|
||||
public string $topRight;
|
||||
|
||||
/**
|
||||
* The bottom-right color value.
|
||||
*
|
||||
* @var string $bottomRight
|
||||
*/
|
||||
@@ -36,7 +33,6 @@ class GetMediaMetaDataUltraBlurColors
|
||||
public string $bottomRight;
|
||||
|
||||
/**
|
||||
* The bottom-left color value.
|
||||
*
|
||||
* @var string $bottomLeft
|
||||
*/
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
||||
class GetMediaMetaDataWriter
|
||||
{
|
||||
/**
|
||||
* The unique role identifier.
|
||||
* Unique identifier for the writer.
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
@@ -20,15 +20,7 @@ class GetMediaMetaDataWriter
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* The filter string for the role.
|
||||
*
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* The actor's name.
|
||||
* The role of Writer
|
||||
*
|
||||
* @var string $tag
|
||||
*/
|
||||
@@ -36,24 +28,15 @@ class GetMediaMetaDataWriter
|
||||
public string $tag;
|
||||
|
||||
/**
|
||||
* A key associated with the actor tag.
|
||||
* The filter string used to query this writer.
|
||||
*
|
||||
* @var string $tagKey
|
||||
* @var string $filter
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('tagKey')]
|
||||
public string $tagKey;
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('filter')]
|
||||
public string $filter;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* The URL of the thumbnail image for the writer.
|
||||
*
|
||||
* @var ?string $thumb
|
||||
*/
|
||||
@@ -61,22 +44,29 @@ class GetMediaMetaDataWriter
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $thumb = null;
|
||||
|
||||
/**
|
||||
* A unique key associated with the writers tag, used for internal identification.
|
||||
*
|
||||
* @var ?string $tagKey
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('tagKey')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $tagKey = null;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $filter
|
||||
* @param string $tag
|
||||
* @param string $tagKey
|
||||
* @param ?string $role
|
||||
* @param string $filter
|
||||
* @param ?string $thumb
|
||||
* @param ?string $tagKey
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $filter, string $tag, string $tagKey, ?string $role = null, ?string $thumb = null)
|
||||
public function __construct(int $id, string $tag, string $filter, ?string $thumb = null, ?string $tagKey = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->filter = $filter;
|
||||
$this->tag = $tag;
|
||||
$this->tagKey = $tagKey;
|
||||
$this->role = $role;
|
||||
$this->filter = $filter;
|
||||
$this->thumb = $thumb;
|
||||
$this->tagKey = $tagKey;
|
||||
}
|
||||
}
|
||||
79
src/Models/Operations/Marker.php
Normal file
79
src/Models/Operations/Marker.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/** Marker - The final status of the marker */
|
||||
class Marker
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var int $id
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('id')]
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string $type
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('type')]
|
||||
public string $type;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int $startTimeOffset
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('startTimeOffset')]
|
||||
public int $startTimeOffset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var int $endTimeOffset
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('endTimeOffset')]
|
||||
public int $endTimeOffset;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?bool $final
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('final')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?bool $final = null;
|
||||
|
||||
/**
|
||||
* Attributes associated with the marker.
|
||||
*
|
||||
* @var ?Attributes $attributes
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('Attributes')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\Attributes|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?Attributes $attributes = null;
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param string $type
|
||||
* @param int $startTimeOffset
|
||||
* @param int $endTimeOffset
|
||||
* @param ?bool $final
|
||||
* @param ?Attributes $attributes
|
||||
* @phpstan-pure
|
||||
*/
|
||||
public function __construct(int $id, string $type, int $startTimeOffset, int $endTimeOffset, ?bool $final = null, ?Attributes $attributes = null)
|
||||
{
|
||||
$this->id = $id;
|
||||
$this->type = $type;
|
||||
$this->startTimeOffset = $startTimeOffset;
|
||||
$this->endTimeOffset = $endTimeOffset;
|
||||
$this->final = $final;
|
||||
$this->attributes = $attributes;
|
||||
}
|
||||
}
|
||||
@@ -20,12 +20,18 @@ class Stream
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* Stream type (1=video, 2=audio, 3=subtitle).
|
||||
* Stream type:
|
||||
*
|
||||
* @var int $streamType
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*
|
||||
* @var StreamType $streamType
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('streamType')]
|
||||
public int $streamType;
|
||||
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\StreamType')]
|
||||
public StreamType $streamType;
|
||||
|
||||
/**
|
||||
* Codec used by the stream.
|
||||
@@ -35,14 +41,6 @@ class Stream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('codec')]
|
||||
public string $codec;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
public int $index;
|
||||
|
||||
/**
|
||||
* Display title for the stream.
|
||||
*
|
||||
@@ -59,6 +57,15 @@ class Stream
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('extendedDisplayTitle')]
|
||||
public string $extendedDisplayTitle;
|
||||
|
||||
/**
|
||||
* Format of the stream (e.g., srt).
|
||||
*
|
||||
* @var ?string $format
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('format')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $format = null;
|
||||
|
||||
/**
|
||||
* Indicates if this stream is default.
|
||||
*
|
||||
@@ -68,6 +75,15 @@ class Stream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?bool $default = null;
|
||||
|
||||
/**
|
||||
* Index of the stream.
|
||||
*
|
||||
* @var ?int $index
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('index')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $index = null;
|
||||
|
||||
/**
|
||||
* Bitrate of the stream.
|
||||
*
|
||||
@@ -283,6 +299,15 @@ class Stream
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?float $frameRate = null;
|
||||
|
||||
/**
|
||||
* Key to access this stream part.
|
||||
*
|
||||
* @var ?string $key
|
||||
*/
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('key')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $key = null;
|
||||
|
||||
/**
|
||||
* Height of the video stream.
|
||||
*
|
||||
@@ -443,12 +468,13 @@ class Stream
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
* @param int $streamType
|
||||
* @param StreamType $streamType
|
||||
* @param string $codec
|
||||
* @param int $index
|
||||
* @param string $displayTitle
|
||||
* @param string $extendedDisplayTitle
|
||||
* @param ?string $format
|
||||
* @param ?bool $default
|
||||
* @param ?int $index
|
||||
* @param ?int $bitrate
|
||||
* @param ?string $language
|
||||
* @param ?string $languageTag
|
||||
@@ -473,6 +499,7 @@ class Stream
|
||||
* @param ?string $colorSpace
|
||||
* @param ?string $colorTrc
|
||||
* @param ?float $frameRate
|
||||
* @param ?string $key
|
||||
* @param ?int $height
|
||||
* @param ?int $level
|
||||
* @param ?bool $original
|
||||
@@ -493,15 +520,16 @@ class Stream
|
||||
* @param ?string $title
|
||||
* @phpstan-pure
|
||||
*/
|
||||
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)
|
||||
public function __construct(int $id, StreamType $streamType, string $codec, string $displayTitle, string $extendedDisplayTitle, ?string $format = null, ?bool $default = null, ?int $index = 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, ?string $key = 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->displayTitle = $displayTitle;
|
||||
$this->extendedDisplayTitle = $extendedDisplayTitle;
|
||||
$this->format = $format;
|
||||
$this->default = $default;
|
||||
$this->index = $index;
|
||||
$this->bitrate = $bitrate;
|
||||
$this->language = $language;
|
||||
$this->languageTag = $languageTag;
|
||||
@@ -526,6 +554,7 @@ class Stream
|
||||
$this->colorSpace = $colorSpace;
|
||||
$this->colorTrc = $colorTrc;
|
||||
$this->frameRate = $frameRate;
|
||||
$this->key = $key;
|
||||
$this->height = $height;
|
||||
$this->level = $level;
|
||||
$this->original = $original;
|
||||
|
||||
25
src/Models/Operations/StreamType.php
Normal file
25
src/Models/Operations/StreamType.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*
|
||||
*/
|
||||
enum StreamType: int
|
||||
{
|
||||
case Video = 1;
|
||||
case Audio = 2;
|
||||
case Subtitle = 3;
|
||||
}
|
||||
@@ -43,7 +43,7 @@ class PlexAPI
|
||||
{
|
||||
public const SERVERS = [
|
||||
/** The full address of your Plex Server */
|
||||
'{protocol}://{ip}:{port}',
|
||||
'https://10.10.10.47:32400',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,11 +33,11 @@ class SDKConfiguration
|
||||
|
||||
public string $openapiDocVersion = '0.0.3';
|
||||
|
||||
public string $sdkVersion = '0.14.6';
|
||||
public string $sdkVersion = '0.14.7';
|
||||
|
||||
public string $genVersion = '2.585.2';
|
||||
public string $genVersion = '2.596.2';
|
||||
|
||||
public string $userAgent = 'speakeasy-sdk/php 0.14.6 2.585.2 0.0.3 lukehagar/plex-api';
|
||||
public string $userAgent = 'speakeasy-sdk/php 0.14.7 2.596.2 0.0.3 lukehagar/plex-api';
|
||||
|
||||
public ?RetryConfig $retryConfig = null;
|
||||
|
||||
|
||||
@@ -149,6 +149,7 @@ class Security
|
||||
case 'http':
|
||||
match ($metadata->subtype) {
|
||||
'bearer' => $clientOptions['headers'][$fieldMetadata->name] = preg_match('/^Bearer /i', $value) ? $value : 'Bearer '.$value,
|
||||
'custom' => null,
|
||||
default => throw new \RuntimeException('Unknown http security scheme subtype: '.$metadata->subtype)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user