ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1

This commit is contained in:
speakeasybot
2024-11-12 00:10:45 +00:00
parent 99d696244d
commit a4f0e500fb
652 changed files with 6825 additions and 6637 deletions

View File

@@ -1,27 +1,29 @@
lockVersion: 2.0.0 lockVersion: 2.0.0
id: 01a51eb2-5d90-4a24-b154-68e491d02c36 id: 01a51eb2-5d90-4a24-b154-68e491d02c36
management: management:
docChecksum: 23094f3a9fe02710a8628ad5456f5d42 docChecksum: af45c1ae70f7fc6589adb3f8075cb275
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.406.0 speakeasyVersion: 1.438.1
generationVersion: 2.429.0 generationVersion: 2.457.2
releaseVersion: 0.10.6 releaseVersion: 0.11.0
configChecksum: 1e62cfd875b275ab02f943cf62e4654a configChecksum: d1b38b109356712a347823b2aeb2d042
repoURL: https://github.com/LukeHagar/plexphp.git repoURL: https://github.com/LukeHagar/plexphp.git
repoSubDirectory: . repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexphp installationURL: https://github.com/LukeHagar/plexphp
published: true published: true
features: features:
php: php:
core: 3.4.9 constsAndDefaults: 0.2.0
core: 3.7.1
deprecations: 2.81.1 deprecations: 2.81.1
enums: 2.81.1 enums: 2.81.1
errors: 0.1.4 errors: 0.3.0
flattening: 2.81.1 flattening: 2.81.1
globalSecurity: 2.81.7 globalSecurity: 2.81.7
globalSecurityFlattening: 0.1.1 globalSecurityFlattening: 0.1.1
globalServerURLs: 2.82.1 globalServerURLs: 2.82.1
globals: 2.82.2 globals: 2.82.2
methodArguments: 0.1.0
methodServerURLs: 2.82.1 methodServerURLs: 2.82.1
nameOverrides: 2.81.2 nameOverrides: 2.81.2
nullables: 1.0.0 nullables: 1.0.0
@@ -1805,6 +1807,8 @@ generatedFiles:
- src/Sessions.php - src/Sessions.php
- src/Statistics.php - src/Statistics.php
- src/Updater.php - src/Updater.php
- src/Utils/BigDecimalHandler.php
- src/Utils/BigIntHandler.php
- src/Utils/DateHandler.php - src/Utils/DateHandler.php
- src/Utils/DateTimeHandler.php - src/Utils/DateTimeHandler.php
- src/Utils/DefaultRequest.php - src/Utils/DefaultRequest.php

View File

@@ -11,9 +11,11 @@ generation:
requestResponseComponentNamesFeb2024: true requestResponseComponentNamesFeb2024: true
auth: auth:
oAuth2ClientCredentialsEnabled: false oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
php: php:
version: 0.10.6 version: 0.11.0
clientServerStatusCodesAsErrors: true clientServerStatusCodesAsErrors: true
defaultErrorName: SDKException
flattenGlobalSecurity: true flattenGlobalSecurity: true
imports: imports:
option: openapi option: openapi
@@ -24,7 +26,11 @@ php:
shared: Models/Components shared: Models/Components
webhooks: Models/Webhooks webhooks: Models/Webhooks
inputModelSuffix: input inputModelSuffix: input
laravelServiceProvider:
enabled: false
svcName: openapi
maxMethodParams: 4 maxMethodParams: 4
methodArguments: infer-optional-args
namespace: LukeHagar\Plex_API namespace: LukeHagar\Plex_API
outputModelSuffix: output outputModelSuffix: output
packageName: lukehagar/plex-api packageName: lukehagar/plex-api

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.406.0 speakeasyVersion: 1.438.1
sources: sources:
my-source: my-source:
sourceNamespace: my-source sourceNamespace: my-source
@@ -9,8 +9,8 @@ sources:
- main - main
plexapi: plexapi:
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:8d2eb3adbd97ce5976291c4b123d1eadfef62d1f6bf86c6a18bcd89443f2f390 sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109 sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f
tags: tags:
- latest - latest
- main - main
@@ -18,10 +18,10 @@ targets:
plexphp: plexphp:
source: plexapi source: plexapi
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:8d2eb3adbd97ce5976291c4b123d1eadfef62d1f6bf86c6a18bcd89443f2f390 sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109 sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f
codeSamplesNamespace: code-samples-php-plexphp codeSamplesNamespace: code-samples-php-plexphp
codeSamplesRevisionDigest: sha256:69bdf5df2e57e2f9f947171f88d187a711b9f7de24008e2b701ac51a2e8a89ad codeSamplesRevisionDigest: sha256:8ff55f12261344346ca24ed390a654538414e7762f7ef621cbc3e5074b189f72
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest

View File

@@ -243,11 +243,11 @@ By default an API error will raise a `Errors\SDKException` exception, which has
When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getServerCapabilities` method throws the following exceptions: When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getServerCapabilities` method throws the following exceptions:
| Error Type | Status Code | Content Type | | Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | | ---------------------------------------- | ----------- | ---------------- |
| Errors\GetServerCapabilitiesBadRequest | 400 | application/json | | Errors\GetServerCapabilitiesBadRequest | 400 | application/json |
| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json | | Errors\GetServerCapabilitiesUnauthorized | 401 | application/json |
| Errors\SDKException | 4XX, 5XX | \*/\* | | Errors\SDKException | 4XX, 5XX | \*/\* |
### Example ### Example
@@ -292,29 +292,44 @@ try {
<!-- Start Server Selection [server] --> <!-- Start Server Selection [server] -->
## Server Selection ## Server Selection
## Server Selection ### Server Variables
### Select Server by Index The default server `{protocol}://{ip}:{port}` contains variables and is set to `https://10.10.10.47:32400` by default. To override default values, the following builder methods are available when initializing the SDK client instance:
* `setProtocol(Plex_API\ServerProtocol protocol)`
You can override the default server globally by passing a server index to the `server_idx: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: * `setIp(string ip)`
* `setPort(string port)`
| # | Server | Variables |
| - | ------ | --------- |
| 0 | `{protocol}://{ip}:{port}` | `protocol` (default is `https`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) |
#### Variables
Some of the server options above contain variables. If you want to set the values of those variables, the following optional parameters are available when initializing the SDK client instance:
* `protocol: Plex_API\ServerProtocol`
* `ip: string`
* `port: string`
### Override Server URL Per-Client ### Override Server URL Per-Client
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example: The default server can also be overridden globally using the `setServerUrl(string $serverUrl)` builder method when initializing the SDK client instance. For example:
```php
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$security = '<YOUR_API_KEY_HERE>';
$sdk = Plex_API\PlexAPI::builder()
->setServerURL("https://10.10.10.47:32400")
->setClientID('3381b62b-9ab7-4e37-827b-203e9809eb58')
->setClientName('Plex for Roku')
->setClientVersion('2.4.1')
->setPlatform('Roku')
->setDeviceNickname('Roku 3')
->setSecurity($security)->build();
$response = $sdk->server->getServerCapabilities(
);
if ($response->object !== null) {
// handle response
}
```
### Override Server URL Per-Operation ### Override Server URL Per-Operation

View File

@@ -692,4 +692,14 @@ Based on:
### Generated ### Generated
- [php v0.10.6] . - [php v0.10.6] .
### Releases ### Releases
- [Composer v0.10.6] https://packagist.org/packages/lukehagar/plex-api#v0.10.6 - . - [Composer v0.10.6] https://packagist.org/packages/lukehagar/plex-api#v0.10.6 - .
## 2024-11-12 00:09:25
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.438.1 (2.457.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.11.0] .
### Releases
- [Composer v0.11.0] https://packagist.org/packages/lukehagar/plex-api#v0.11.0 - .

View File

@@ -1572,9 +1572,9 @@ actions:
$request = new Operations\GetResizedPhotoRequest( $request = new Operations\GetResizedPhotoRequest(
width: 110, width: 110,
height: 165, height: 165,
opacity: 643869, opacity: 100,
blur: 0, blur: 20,
minSize: Operations\MinSize::One, minSize: Operations\MinSize::Zero,
upscale: Operations\Upscale::One, upscale: Operations\Upscale::One,
url: '/library/metadata/49564/thumb/1654258204', url: '/library/metadata/49564/thumb/1654258204',
); );

View File

@@ -8,17 +8,18 @@
}, },
"license": "MIT", "license": "MIT",
"require": { "require": {
"php": "^8.1", "php": "^8.2",
"guzzlehttp/guzzle": "^7.0", "guzzlehttp/guzzle": "^7.0",
"speakeasy/serializer": "^3.40.0", "speakeasy/serializer": "^4.0.0",
"brick/date-time": "^0.7.0", "brick/date-time": "^0.7.0",
"phpdocumentor/type-resolver": "^1.8" "phpdocumentor/type-resolver": "^1.8",
"brick/math": "^0.12.1"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "^1.18.1", "laravel/pint": "^1.18.1",
"phpstan/phpstan": "^1.9", "phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^10", "phpunit/phpunit": "^10",
"rector/rector": "^0.18.13", "rector/rector": "^0.19",
"roave/security-advisories": "dev-latest" "roave/security-advisories": "dev-latest"
}, },
"minimum-stability": "stable", "minimum-stability": "stable",

View File

@@ -8,7 +8,6 @@
| `email` | *string* | :heavy_check_mark: | The account email address | username@email.com | | `email` | *string* | :heavy_check_mark: | The account email address | username@email.com |
| `home` | *bool* | :heavy_check_mark: | If the account is a Plex Home user | | | `home` | *bool* | :heavy_check_mark: | If the account is a Plex Home user | |
| `id` | *int* | :heavy_check_mark: | The Plex account ID | | | `id` | *int* | :heavy_check_mark: | The Plex account ID | |
| `restricted` | *bool* | :heavy_check_mark: | If the account is a Plex Home managed user | |
| `sharedServers` | array<[Operations\SharedServers](../../Models/Operations/SharedServers.md)> | :heavy_check_mark: | N/A | | | `sharedServers` | array<[Operations\SharedServers](../../Models/Operations/SharedServers.md)> | :heavy_check_mark: | N/A | |
| `sharedSources` | array<[Operations\SharedSources](../../Models/Operations/SharedSources.md)> | :heavy_check_mark: | N/A | | | `sharedSources` | array<[Operations\SharedSources](../../Models/Operations/SharedSources.md)> | :heavy_check_mark: | N/A | |
| `status` | [Operations\Status](../../Models/Operations/Status.md) | :heavy_check_mark: | Current friend request status | accepted | | `status` | [Operations\Status](../../Models/Operations/Status.md) | :heavy_check_mark: | Current friend request status | accepted |
@@ -16,4 +15,5 @@
| `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | username123 | | `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | username123 |
| `username` | *string* | :heavy_check_mark: | The account username | username123 | | `username` | *string* | :heavy_check_mark: | The account username | username123 |
| `uuid` | *string* | :heavy_check_mark: | The account Universally Unique Identifier (UUID) | 7d1916e0d8f6e76b | | `uuid` | *string* | :heavy_check_mark: | The account Universally Unique Identifier (UUID) | 7d1916e0d8f6e76b |
| `friendlyName` | *string* | :heavy_check_mark: | The account full name | exampleUser | | `friendlyName` | *string* | :heavy_check_mark: | The account full name | exampleUser |
| `restricted` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | |

View File

@@ -11,10 +11,10 @@ Geo location data
| `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA | | `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA |
| `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands | | `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands |
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam | | `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas | | `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 | | `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas | | `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
| `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 | | `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 |
| `europeanUnionMember` | *?bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `inPrivacyRestrictedCountry` | *?bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *?bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |

View File

@@ -11,10 +11,10 @@ Geo location data
| `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA | | `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA |
| `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands | | `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands |
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam | | `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas | | `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 | | `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas | | `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
| `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 | | `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 |
| `europeanUnionMember` | *?bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `inPrivacyRestrictedCountry` | *?bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *?bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `defaultDirection` | [Operations\GetLibraryItemsLibraryDefaultDirection](../../Models/Operations/GetLibraryItemsLibraryDefaultDirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `key` | *string* | :heavy_check_mark: | N/A | titleSort |
| `key` | *string* | :heavy_check_mark: | N/A | titleSort | | `title` | *string* | :heavy_check_mark: | N/A | Title |
| `title` | *string* | :heavy_check_mark: | N/A | Title | | `default` | *?string* | :heavy_minus_sign: | N/A | asc |
| `default` | *?string* | :heavy_minus_sign: | N/A | asc | | `active` | *?bool* | :heavy_minus_sign: | N/A | false |
| `active` | *?bool* | :heavy_minus_sign: | N/A | false | | `activeDirection` | [?Operations\GetLibraryItemsLibraryActiveDirection](../../Models/Operations/GetLibraryItemsLibraryActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `activeDirection` | [?Operations\GetLibraryItemsLibraryActiveDirection](../../Models/Operations/GetLibraryItemsLibraryActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `defaultDirection` | [?Operations\GetLibraryItemsLibraryDefaultDirection](../../Models/Operations/GetLibraryItemsLibraryDefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc | | `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter | | `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `defaultDirection` | [Operations\GetLibraryItemsDefaultDirection](../../Models/Operations/GetLibraryItemsDefaultDirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `key` | *string* | :heavy_check_mark: | N/A | titleSort |
| `key` | *string* | :heavy_check_mark: | N/A | titleSort | | `title` | *string* | :heavy_check_mark: | N/A | Title |
| `title` | *string* | :heavy_check_mark: | N/A | Title | | `default` | *?string* | :heavy_minus_sign: | N/A | asc |
| `default` | *?string* | :heavy_minus_sign: | N/A | asc | | `active` | *?bool* | :heavy_minus_sign: | N/A | false |
| `active` | *?bool* | :heavy_minus_sign: | N/A | false | | `activeDirection` | [?Operations\GetLibraryItemsActiveDirection](../../Models/Operations/GetLibraryItemsActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `activeDirection` | [?Operations\GetLibraryItemsActiveDirection](../../Models/Operations/GetLibraryItemsActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `defaultDirection` | [?Operations\GetLibraryItemsDefaultDirection](../../Models/Operations/GetLibraryItemsDefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc | | `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter | | `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |

View File

@@ -10,12 +10,12 @@ Requests a new pin id used in the authentication flow
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 | | `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ | | `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli | | `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ | | `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli | | `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
| `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} | | `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z | | `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z | | `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
| `trusted` | *?bool* | :heavy_minus_sign: | N/A | |
| `expiresIn` | *?int* | :heavy_minus_sign: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 | | `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | | | `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `defaultDirection` | [Operations\GetRecentlyAddedDefaultDirection](../../Models/Operations/GetRecentlyAddedDefaultDirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `key` | *string* | :heavy_check_mark: | N/A | titleSort |
| `key` | *string* | :heavy_check_mark: | N/A | titleSort | | `title` | *string* | :heavy_check_mark: | N/A | Title |
| `title` | *string* | :heavy_check_mark: | N/A | Title | | `default` | *?string* | :heavy_minus_sign: | N/A | asc |
| `default` | *?string* | :heavy_minus_sign: | N/A | asc | | `active` | *?bool* | :heavy_minus_sign: | N/A | false |
| `active` | *?bool* | :heavy_minus_sign: | N/A | false | | `activeDirection` | [?Operations\GetRecentlyAddedActiveDirection](../../Models/Operations/GetRecentlyAddedActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `activeDirection` | [?Operations\GetRecentlyAddedActiveDirection](../../Models/Operations/GetRecentlyAddedActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `defaultDirection` | [?Operations\GetRecentlyAddedDefaultDirection](../../Models/Operations/GetRecentlyAddedDefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc | | `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter | | `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -10,12 +10,12 @@ The Pin with a non-null authToken when it has been verified by the user
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 | | `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ | | `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli | | `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ | | `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli | | `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
| `location` | [Operations\GetTokenByPinIdGeoData](../../Models/Operations/GetTokenByPinIdGeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} | | `location` | [Operations\GetTokenByPinIdGeoData](../../Models/Operations/GetTokenByPinIdGeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z | | `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z | | `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
| `trusted` | *?bool* | :heavy_minus_sign: | N/A | |
| `expiresIn` | *?int* | :heavy_minus_sign: | The number of seconds this pin expires, by default 900 seconds | 876 |
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 | | `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | | | `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |

View File

@@ -11,10 +11,10 @@ Geo location data
| `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA | | `continentCode` | *string* | :heavy_check_mark: | The continent code where the country is located. | NA |
| `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands | | `country` | *string* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands |
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam | | `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas | | `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 | | `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas | | `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
| `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 | | `coordinates` | *string* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 |
| `europeanUnionMember` | *?bool* | :heavy_minus_sign: | Indicates if the country is a member of the European Union. | true |
| `inPrivacyRestrictedCountry` | *?bool* | :heavy_minus_sign: | Indicates if the country has privacy restrictions. | true |
| `inPrivacyRestrictedRegion` | *?bool* | :heavy_minus_sign: | Indicates if the region has privacy restrictions. | true |

View File

@@ -8,43 +8,43 @@ Logged in user details
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf | | `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf |
| `backupCodesCreated` | *bool* | :heavy_check_mark: | If the two-factor authentication backup codes have been created | |
| `confirmed` | *bool* | :heavy_check_mark: | If the account has been confirmed | |
| `country` | *string* | :heavy_check_mark: | The account country | US | | `country` | *string* | :heavy_check_mark: | The account country | US |
| `email` | *string* | :heavy_check_mark: | The account email address | username@email.com | | `email` | *string* | :heavy_check_mark: | The account email address | username@email.com |
| `emailOnlyAuth` | *bool* | :heavy_check_mark: | If login with email only is enabled | |
| `experimentalFeatures` | *bool* | :heavy_check_mark: | If experimental features are enabled | |
| `friendlyName` | *string* | :heavy_check_mark: | Your account full name | friendlyUsername | | `friendlyName` | *string* | :heavy_check_mark: | Your account full name | friendlyUsername |
| `entitlements` | array<*string*> | :heavy_check_mark: | List of devices your allowed to use with this account | | | `entitlements` | array<*string*> | :heavy_check_mark: | List of devices your allowed to use with this account | |
| `guest` | *bool* | :heavy_check_mark: | If the account is a Plex Home guest user | |
| `hasPassword` | *bool* | :heavy_check_mark: | If the account has a password | |
| `home` | *bool* | :heavy_check_mark: | If the account is a Plex Home user | |
| `homeAdmin` | *bool* | :heavy_check_mark: | If the account is the Plex Home admin | |
| `homeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 | | `homeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 |
| `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 | | `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 |
| `joinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | | `joinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `mailingListActive` | *bool* | :heavy_check_mark: | If you are subscribed to the Plex newsletter | |
| `mailingListStatus` | [Operations\MailingListStatus](../../Models/Operations/MailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active | | `mailingListStatus` | [Operations\MailingListStatus](../../Models/Operations/MailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active |
| `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 | | `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 |
| `profile` | [Operations\UserProfile](../../Models/Operations/UserProfile.md) | :heavy_check_mark: | N/A | | | `profile` | [Operations\UserProfile](../../Models/Operations/UserProfile.md) | :heavy_check_mark: | N/A | |
| `protected` | *bool* | :heavy_check_mark: | If the account has a Plex Home PIN enabled | |
| `rememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | | `rememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `restricted` | *bool* | :heavy_check_mark: | If the account is a Plex Home managed user | |
| `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | | | `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | |
| `services` | array<[Operations\Services](../../Models/Operations/Services.md)> | :heavy_check_mark: | N/A | | | `services` | array<[Operations\Services](../../Models/Operations/Services.md)> | :heavy_check_mark: | N/A | |
| `subscription` | [Operations\Subscription](../../Models/Operations/Subscription.md) | :heavy_check_mark: | If the accounts Plex Pass subscription is active | | | `subscription` | [Operations\Subscription](../../Models/Operations/Subscription.md) | :heavy_check_mark: | If the accounts Plex Pass subscription is active | |
| `subscriptions` | array<[Operations\GetTokenDetailsSubscription](../../Models/Operations/GetTokenDetailsSubscription.md)> | :heavy_check_mark: | N/A | | | `subscriptions` | array<[Operations\GetTokenDetailsSubscription](../../Models/Operations/GetTokenDetailsSubscription.md)> | :heavy_check_mark: | N/A | |
| `thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 | | `thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
| `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle | | `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle |
| `twoFactorEnabled` | *bool* | :heavy_check_mark: | If two-factor authentication is enabled | |
| `username` | *string* | :heavy_check_mark: | The account username | Username | | `username` | *string* | :heavy_check_mark: | The account username | Username |
| `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f | | `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f |
| `adsConsent` | *bool* | :heavy_check_mark: | Unknown | | | `adsConsent` | *bool* | :heavy_check_mark: | Unknown | |
| `adsConsentReminderAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `adsConsentReminderAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `adsConsentSetAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `adsConsentSetAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `anonymous` | *bool* | :heavy_check_mark: | Unknown | | | `backupCodesCreated` | *?bool* | :heavy_minus_sign: | If the two-factor authentication backup codes have been created | |
| `confirmed` | *?bool* | :heavy_minus_sign: | If the account has been confirmed | |
| `emailOnlyAuth` | *?bool* | :heavy_minus_sign: | If login with email only is enabled | |
| `experimentalFeatures` | *?bool* | :heavy_minus_sign: | If experimental features are enabled | |
| `guest` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home guest user | |
| `hasPassword` | *?bool* | :heavy_minus_sign: | If the account has a password | |
| `home` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home user | |
| `homeAdmin` | *?bool* | :heavy_minus_sign: | If the account is the Plex Home admin | |
| `locale` | *string* | :heavy_check_mark: | The account locale | | | `locale` | *string* | :heavy_check_mark: | The account locale | |
| `mailingListActive` | *?bool* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | |
| ~~`pin`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | | | ~~`pin`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | |
| `protected` | *?bool* | :heavy_minus_sign: | If the account has a Plex Home PIN enabled | |
| `restricted` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | |
| `roles` | array<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | | | `roles` | array<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | |
| `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | | | `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | |
| `attributionPartner` | *string* | :heavy_check_mark: | N/A | <nil> | | `twoFactorEnabled` | *?bool* | :heavy_minus_sign: | If two-factor authentication is enabled | |
| `attributionPartner` | *string* | :heavy_check_mark: | N/A | <nil> |
| `anonymous` | *?bool* | :heavy_minus_sign: | Unknown | |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -5,13 +5,6 @@
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `canceled` | *bool* | :heavy_check_mark: | N/A | false |
| `gracePeriod` | *bool* | :heavy_check_mark: | N/A | false |
| `onHold` | *bool* | :heavy_check_mark: | N/A | false |
| `canReactivate` | *bool* | :heavy_check_mark: | N/A | false |
| `canUpgrade` | *bool* | :heavy_check_mark: | N/A | false |
| `canDowngrade` | *bool* | :heavy_check_mark: | N/A | false |
| `canConvert` | *bool* | :heavy_check_mark: | N/A | false |
| `type` | *string* | :heavy_check_mark: | N/A | plexpass | | `type` | *string* | :heavy_check_mark: | N/A | plexpass |
| `state` | [Operations\PostUsersSignInDataState](../../Models/Operations/PostUsersSignInDataState.md) | :heavy_check_mark: | N/A | ended | | `state` | [Operations\PostUsersSignInDataState](../../Models/Operations/PostUsersSignInDataState.md) | :heavy_check_mark: | N/A | ended |
| `billing` | [Operations\Billing](../../Models/Operations/Billing.md) | :heavy_check_mark: | N/A | | | `billing` | [Operations\Billing](../../Models/Operations/Billing.md) | :heavy_check_mark: | N/A | |
@@ -19,4 +12,11 @@
| `mode` | *string* | :heavy_check_mark: | N/A | | | `mode` | *string* | :heavy_check_mark: | N/A | |
| `renewsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `renewsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `endsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `endsAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `canceled` | *?bool* | :heavy_minus_sign: | N/A | false |
| `gracePeriod` | *?bool* | :heavy_minus_sign: | N/A | false |
| `onHold` | *?bool* | :heavy_minus_sign: | N/A | false |
| `canReactivate` | *?bool* | :heavy_minus_sign: | N/A | false |
| `canUpgrade` | *?bool* | :heavy_minus_sign: | N/A | false |
| `canDowngrade` | *?bool* | :heavy_minus_sign: | N/A | false |
| `canConvert` | *?bool* | :heavy_minus_sign: | N/A | false |
| `transfer` | *string* | :heavy_check_mark: | N/A | | | `transfer` | *string* | :heavy_check_mark: | N/A | |

View File

@@ -8,35 +8,23 @@ Returns the user account data with a valid auth token
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf | | `authToken` | *string* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf |
| `backupCodesCreated` | *bool* | :heavy_check_mark: | If the two-factor authentication backup codes have been created | |
| `confirmed` | *bool* | :heavy_check_mark: | If the account has been confirmed | |
| `country` | *string* | :heavy_check_mark: | The account country | US | | `country` | *string* | :heavy_check_mark: | The account country | US |
| `email` | *string* | :heavy_check_mark: | The account email address | username@email.com | | `email` | *string* | :heavy_check_mark: | The account email address | username@email.com |
| `emailOnlyAuth` | *bool* | :heavy_check_mark: | If login with email only is enabled | |
| `experimentalFeatures` | *bool* | :heavy_check_mark: | If experimental features are enabled | |
| `friendlyName` | *string* | :heavy_check_mark: | Your account full name | friendlyUsername | | `friendlyName` | *string* | :heavy_check_mark: | Your account full name | friendlyUsername |
| `entitlements` | array<*string*> | :heavy_check_mark: | List of devices your allowed to use with this account | | | `entitlements` | array<*string*> | :heavy_check_mark: | List of devices your allowed to use with this account | |
| `guest` | *bool* | :heavy_check_mark: | If the account is a Plex Home guest user | |
| `hasPassword` | *bool* | :heavy_check_mark: | If the account has a password | |
| `home` | *bool* | :heavy_check_mark: | If the account is a Plex Home user | |
| `homeAdmin` | *bool* | :heavy_check_mark: | If the account is the Plex Home admin | |
| `homeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 | | `homeSize` | *int* | :heavy_check_mark: | The number of accounts in the Plex Home | 1 |
| `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 | | `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 |
| `joinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | | `joinedAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `mailingListActive` | *bool* | :heavy_check_mark: | If you are subscribed to the Plex newsletter | |
| `mailingListStatus` | [Operations\PostUsersSignInDataMailingListStatus](../../Models/Operations/PostUsersSignInDataMailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active | | `mailingListStatus` | [Operations\PostUsersSignInDataMailingListStatus](../../Models/Operations/PostUsersSignInDataMailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active |
| `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 | | `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 |
| `profile` | [Operations\PostUsersSignInDataUserProfile](../../Models/Operations/PostUsersSignInDataUserProfile.md) | :heavy_check_mark: | N/A | | | `profile` | [Operations\PostUsersSignInDataUserProfile](../../Models/Operations/PostUsersSignInDataUserProfile.md) | :heavy_check_mark: | N/A | |
| `protected` | *bool* | :heavy_check_mark: | If the account has a Plex Home PIN enabled | |
| `rememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 | | `rememberExpiresAt` | *int* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `restricted` | *bool* | :heavy_check_mark: | If the account is a Plex Home managed user | |
| `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | | | `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | |
| `services` | array<[Operations\PostUsersSignInDataServices](../../Models/Operations/PostUsersSignInDataServices.md)> | :heavy_check_mark: | N/A | | | `services` | array<[Operations\PostUsersSignInDataServices](../../Models/Operations/PostUsersSignInDataServices.md)> | :heavy_check_mark: | N/A | |
| `subscription` | [Operations\PostUsersSignInDataSubscription](../../Models/Operations/PostUsersSignInDataSubscription.md) | :heavy_check_mark: | If the accounts Plex Pass subscription is active | | | `subscription` | [Operations\PostUsersSignInDataSubscription](../../Models/Operations/PostUsersSignInDataSubscription.md) | :heavy_check_mark: | If the accounts Plex Pass subscription is active | |
| `subscriptions` | array<[Operations\PostUsersSignInDataAuthenticationSubscription](../../Models/Operations/PostUsersSignInDataAuthenticationSubscription.md)> | :heavy_check_mark: | N/A | | | `subscriptions` | array<[Operations\PostUsersSignInDataAuthenticationSubscription](../../Models/Operations/PostUsersSignInDataAuthenticationSubscription.md)> | :heavy_check_mark: | N/A | |
| `thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 | | `thumb` | *string* | :heavy_check_mark: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
| `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle | | `title` | *string* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle |
| `twoFactorEnabled` | *bool* | :heavy_check_mark: | If two-factor authentication is enabled | |
| `username` | *string* | :heavy_check_mark: | The account username | Username | | `username` | *string* | :heavy_check_mark: | The account username | Username |
| `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f | | `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f |
| `pastSubscriptions` | array<[Operations\PastSubscription](../../Models/Operations/PastSubscription.md)> | :heavy_check_mark: | N/A | | | `pastSubscriptions` | array<[Operations\PastSubscription](../../Models/Operations/PastSubscription.md)> | :heavy_check_mark: | N/A | |
@@ -44,9 +32,21 @@ Returns the user account data with a valid auth token
| `adsConsent` | *bool* | :heavy_check_mark: | Unknown | | | `adsConsent` | *bool* | :heavy_check_mark: | Unknown | |
| `adsConsentReminderAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `adsConsentReminderAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `adsConsentSetAt` | *int* | :heavy_check_mark: | N/A | 1556281940 | | `adsConsentSetAt` | *int* | :heavy_check_mark: | N/A | 1556281940 |
| `anonymous` | *bool* | :heavy_check_mark: | Unknown | | | `backupCodesCreated` | *?bool* | :heavy_minus_sign: | If the two-factor authentication backup codes have been created | |
| `confirmed` | *?bool* | :heavy_minus_sign: | If the account has been confirmed | |
| `emailOnlyAuth` | *?bool* | :heavy_minus_sign: | If login with email only is enabled | |
| `experimentalFeatures` | *?bool* | :heavy_minus_sign: | If experimental features are enabled | |
| `guest` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home guest user | |
| `hasPassword` | *?bool* | :heavy_minus_sign: | If the account has a password | |
| `home` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home user | |
| `homeAdmin` | *?bool* | :heavy_minus_sign: | If the account is the Plex Home admin | |
| `locale` | *string* | :heavy_check_mark: | The account locale | | | `locale` | *string* | :heavy_check_mark: | The account locale | |
| `mailingListActive` | *?bool* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | |
| ~~`pin`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | | | ~~`pin`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | |
| `protected` | *?bool* | :heavy_minus_sign: | If the account has a Plex Home PIN enabled | |
| `restricted` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | |
| `roles` | array<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | | | `roles` | array<*string*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | |
| `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | | | `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | |
| `attributionPartner` | *string* | :heavy_check_mark: | N/A | <nil> | | `twoFactorEnabled` | *?bool* | :heavy_minus_sign: | If two-factor authentication is enabled | |
| `attributionPartner` | *string* | :heavy_check_mark: | N/A | <nil> |
| `anonymous` | *?bool* | :heavy_minus_sign: | Unknown | |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `autoSelectAudio` | *bool* | :heavy_check_mark: | If the account has automatically select audio and subtitle tracks enabled | true | | `autoSelectAudio` | *?bool* | :heavy_minus_sign: | If the account has automatically select audio and subtitle tracks enabled | true |
| `autoSelectSubtitle` | [Operations\PostUsersSignInDataAutoSelectSubtitle](../../Models/Operations/PostUsersSignInDataAutoSelectSubtitle.md) | :heavy_check_mark: | N/A | 1 | | `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja |
| `defaultSubtitleAccessibility` | [Operations\PostUsersSignInDataDefaultSubtitleAccessibility](../../Models/Operations/PostUsersSignInDataDefaultSubtitleAccessibility.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en |
| `defaultSubtitleForced` | [Operations\PostUsersSignInDataDefaultSubtitleForced](../../Models/Operations/PostUsersSignInDataDefaultSubtitleForced.md) | :heavy_check_mark: | N/A | 1 | | `autoSelectSubtitle` | [?Operations\PostUsersSignInDataAutoSelectSubtitle](../../Models/Operations/PostUsersSignInDataAutoSelectSubtitle.md) | :heavy_minus_sign: | N/A | 1 |
| `watchedIndicator` | [Operations\PostUsersSignInDataWatchedIndicator](../../Models/Operations/PostUsersSignInDataWatchedIndicator.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleAccessibility` | [?Operations\PostUsersSignInDataDefaultSubtitleAccessibility](../../Models/Operations/PostUsersSignInDataDefaultSubtitleAccessibility.md) | :heavy_minus_sign: | N/A | 1 |
| `mediaReviewsVisibility` | [Operations\PostUsersSignInDataMediaReviewsVisibility](../../Models/Operations/PostUsersSignInDataMediaReviewsVisibility.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleForced` | [?Operations\PostUsersSignInDataDefaultSubtitleForced](../../Models/Operations/PostUsersSignInDataDefaultSubtitleForced.md) | :heavy_minus_sign: | N/A | 1 |
| `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja | | `watchedIndicator` | [?Operations\PostUsersSignInDataWatchedIndicator](../../Models/Operations/PostUsersSignInDataWatchedIndicator.md) | :heavy_minus_sign: | N/A | 1 |
| `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en | | `mediaReviewsVisibility` | [?Operations\PostUsersSignInDataMediaReviewsVisibility](../../Models/Operations/PostUsersSignInDataMediaReviewsVisibility.md) | :heavy_minus_sign: | N/A | 1 |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| `defaultDirection` | [Operations\DefaultDirection](../../Models/Operations/DefaultDirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `key` | *string* | :heavy_check_mark: | N/A | titleSort |
| `key` | *string* | :heavy_check_mark: | N/A | titleSort | | `title` | *string* | :heavy_check_mark: | N/A | Title |
| `title` | *string* | :heavy_check_mark: | N/A | Title | | `default` | *?string* | :heavy_minus_sign: | N/A | asc |
| `default` | *?string* | :heavy_minus_sign: | N/A | asc | | `active` | *?bool* | :heavy_minus_sign: | N/A | false |
| `active` | *?bool* | :heavy_minus_sign: | N/A | false | | `activeDirection` | [?Operations\ActiveDirection](../../Models/Operations/ActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `activeDirection` | [?Operations\ActiveDirection](../../Models/Operations/ActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc | | `defaultDirection` | [?Operations\DefaultDirection](../../Models/Operations/DefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc | | `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter | | `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |

View File

@@ -16,4 +16,5 @@ E.g. A movie library will not return anything with type 3 as there are no season
| `Movie` | 1 | | `Movie` | 1 |
| `TvShow` | 2 | | `TvShow` | 2 |
| `Season` | 3 | | `Season` | 3 |
| `Episode` | 4 | | `Episode` | 4 |
| `Audio` | 8 |

View File

@@ -3,13 +3,13 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| `autoSelectAudio` | *bool* | :heavy_check_mark: | If the account has automatically select audio and subtitle tracks enabled | true | | `autoSelectAudio` | *?bool* | :heavy_minus_sign: | If the account has automatically select audio and subtitle tracks enabled | true |
| `autoSelectSubtitle` | [Operations\AutoSelectSubtitle](../../Models/Operations/AutoSelectSubtitle.md) | :heavy_check_mark: | N/A | 1 | | `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja |
| `defaultSubtitleAccessibility` | [Operations\DefaultSubtitleAccessibility](../../Models/Operations/DefaultSubtitleAccessibility.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en |
| `defaultSubtitleForced` | [Operations\DefaultSubtitleForced](../../Models/Operations/DefaultSubtitleForced.md) | :heavy_check_mark: | N/A | 1 | | `autoSelectSubtitle` | [?Operations\AutoSelectSubtitle](../../Models/Operations/AutoSelectSubtitle.md) | :heavy_minus_sign: | N/A | 1 |
| `watchedIndicator` | [Operations\WatchedIndicator](../../Models/Operations/WatchedIndicator.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleAccessibility` | [?Operations\DefaultSubtitleAccessibility](../../Models/Operations/DefaultSubtitleAccessibility.md) | :heavy_minus_sign: | N/A | 1 |
| `mediaReviewsVisibility` | [Operations\MediaReviewsVisibility](../../Models/Operations/MediaReviewsVisibility.md) | :heavy_check_mark: | N/A | 1 | | `defaultSubtitleForced` | [?Operations\DefaultSubtitleForced](../../Models/Operations/DefaultSubtitleForced.md) | :heavy_minus_sign: | N/A | 1 |
| `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja | | `watchedIndicator` | [?Operations\WatchedIndicator](../../Models/Operations/WatchedIndicator.md) | :heavy_minus_sign: | N/A | 1 |
| `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en | | `mediaReviewsVisibility` | [?Operations\MediaReviewsVisibility](../../Models/Operations/MediaReviewsVisibility.md) | :heavy_minus_sign: | N/A | 1 |

View File

@@ -319,9 +319,9 @@ $sdk = Plex_API\PlexAPI::builder()
$request = new Operations\GetResizedPhotoRequest( $request = new Operations\GetResizedPhotoRequest(
width: 110, width: 110,
height: 165, height: 165,
opacity: 643869, opacity: 100,
blur: 0, blur: 20,
minSize: Operations\MinSize::One, minSize: Operations\MinSize::Zero,
upscale: Operations\Upscale::One, upscale: Operations\Upscale::One,
url: '/library/metadata/49564/thumb/1654258204', url: '/library/metadata/49564/thumb/1654258204',
); );

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Activities class Activities
{ {
@@ -17,7 +17,7 @@ class Activities
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -30,8 +30,8 @@ class Activities
* @return Operations\GetServerActivitiesResponse * @return Operations\GetServerActivitiesResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getServerActivities( public function getServerActivities(): Operations\GetServerActivitiesResponse
): Operations\GetServerActivitiesResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/activities'); $url = Utils\Utils::generateUrl($baseUrl, '/activities');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -92,9 +92,8 @@ class Activities
* @return Operations\CancelServerActivitiesResponse * @return Operations\CancelServerActivitiesResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function cancelServerActivities( public function cancelServerActivities(string $activityUUID): Operations\CancelServerActivitiesResponse
string $activityUUID, {
): Operations\CancelServerActivitiesResponse {
$request = new Operations\CancelServerActivitiesRequest( $request = new Operations\CancelServerActivitiesRequest(
activityUUID: $activityUUID, activityUUID: $activityUUID,
); );

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Authentication class Authentication
{ {
@@ -25,7 +25,7 @@ class Authentication
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -41,10 +41,8 @@ class Authentication
* @return Operations\GetTransientTokenResponse * @return Operations\GetTransientTokenResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getTransientToken( public function getTransientToken(Operations\GetTransientTokenQueryParamType $type, Operations\Scope $scope): Operations\GetTransientTokenResponse
Operations\GetTransientTokenQueryParamType $type, {
Operations\Scope $scope,
): Operations\GetTransientTokenResponse {
$request = new Operations\GetTransientTokenRequest( $request = new Operations\GetTransientTokenRequest(
type: $type, type: $type,
scope: $scope, scope: $scope,
@@ -104,9 +102,8 @@ class Authentication
* @return Operations\GetSourceConnectionInformationResponse * @return Operations\GetSourceConnectionInformationResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getSourceConnectionInformation( public function getSourceConnectionInformation(string $source): Operations\GetSourceConnectionInformationResponse
string $source, {
): Operations\GetSourceConnectionInformationResponse {
$request = new Operations\GetSourceConnectionInformationRequest( $request = new Operations\GetSourceConnectionInformationRequest(
source: $source, source: $source,
); );
@@ -163,9 +160,8 @@ class Authentication
* @return Operations\GetTokenDetailsResponse * @return Operations\GetTokenDetailsResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getTokenDetails( public function getTokenDetails(?string $serverURL = null): Operations\GetTokenDetailsResponse
?string $serverURL = null, {
): Operations\GetTokenDetailsResponse {
$baseUrl = Utils\Utils::templateUrl(Authentication::GET_TOKEN_DETAILS_SERVERS[0], [ $baseUrl = Utils\Utils::templateUrl(Authentication::GET_TOKEN_DETAILS_SERVERS[0], [
]); ]);
if (! empty($serverURL)) { if (! empty($serverURL)) {
@@ -226,15 +222,13 @@ class Authentication
* *
* Sign in user with username and password and return user data with Plex authentication token * Sign in user with username and password and return user data with Plex authentication token
* *
* @param Operations\PostUsersSignInDataRequest $request * @param ?Operations\PostUsersSignInDataRequest $request
* @param string $serverURL * @param string $serverURL
* @return Operations\PostUsersSignInDataResponse * @return Operations\PostUsersSignInDataResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function postUsersSignInData( public function postUsersSignInData(?Operations\PostUsersSignInDataRequest $request = null, ?string $serverURL = null): Operations\PostUsersSignInDataResponse
?Operations\PostUsersSignInDataRequest $request, {
?string $serverURL = null,
): Operations\PostUsersSignInDataResponse {
$baseUrl = Utils\Utils::templateUrl(Authentication::POST_USERS_SIGN_IN_DATA_SERVERS[0], [ $baseUrl = Utils\Utils::templateUrl(Authentication::POST_USERS_SIGN_IN_DATA_SERVERS[0], [
]); ]);
if (! empty($serverURL)) { if (! empty($serverURL)) {

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Butler class Butler
{ {
@@ -17,7 +17,7 @@ class Butler
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -30,8 +30,8 @@ class Butler
* @return Operations\GetButlerTasksResponse * @return Operations\GetButlerTasksResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getButlerTasks( public function getButlerTasks(): Operations\GetButlerTasksResponse
): Operations\GetButlerTasksResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/butler'); $url = Utils\Utils::generateUrl($baseUrl, '/butler');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -96,8 +96,8 @@ class Butler
* @return Operations\StartAllTasksResponse * @return Operations\StartAllTasksResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function startAllTasks( public function startAllTasks(): Operations\StartAllTasksResponse
): Operations\StartAllTasksResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/butler'); $url = Utils\Utils::generateUrl($baseUrl, '/butler');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -150,8 +150,8 @@ class Butler
* @return Operations\StopAllTasksResponse * @return Operations\StopAllTasksResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function stopAllTasks( public function stopAllTasks(): Operations\StopAllTasksResponse
): Operations\StopAllTasksResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/butler'); $url = Utils\Utils::generateUrl($baseUrl, '/butler');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -209,9 +209,8 @@ class Butler
* @return Operations\StartTaskResponse * @return Operations\StartTaskResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function startTask( public function startTask(Operations\TaskName $taskName): Operations\StartTaskResponse
Operations\TaskName $taskName, {
): Operations\StartTaskResponse {
$request = new Operations\StartTaskRequest( $request = new Operations\StartTaskRequest(
taskName: $taskName, taskName: $taskName,
); );
@@ -268,9 +267,8 @@ class Butler
* @return Operations\StopTaskResponse * @return Operations\StopTaskResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function stopTask( public function stopTask(Operations\PathParamTaskName $taskName): Operations\StopTaskResponse
Operations\PathParamTaskName $taskName, {
): Operations\StopTaskResponse {
$request = new Operations\StopTaskRequest( $request = new Operations\StopTaskRequest(
taskName: $taskName, taskName: $taskName,
); );

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Hubs class Hubs
{ {
@@ -17,7 +17,7 @@ class Hubs
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -32,10 +32,8 @@ class Hubs
* @return Operations\GetGlobalHubsResponse * @return Operations\GetGlobalHubsResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getGlobalHubs( public function getGlobalHubs(?float $count = null, ?Operations\OnlyTransient $onlyTransient = null): Operations\GetGlobalHubsResponse
?float $count = null, {
?Operations\OnlyTransient $onlyTransient = null,
): Operations\GetGlobalHubsResponse {
$request = new Operations\GetGlobalHubsRequest( $request = new Operations\GetGlobalHubsRequest(
count: $count, count: $count,
onlyTransient: $onlyTransient, onlyTransient: $onlyTransient,
@@ -102,9 +100,8 @@ class Hubs
* @return Operations\GetRecentlyAddedResponse * @return Operations\GetRecentlyAddedResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getRecentlyAdded( public function getRecentlyAdded(Operations\GetRecentlyAddedRequest $request): Operations\GetRecentlyAddedResponse
?Operations\GetRecentlyAddedRequest $request, {
): Operations\GetRecentlyAddedResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/hubs/home/recentlyAdded'); $url = Utils\Utils::generateUrl($baseUrl, '/hubs/home/recentlyAdded');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -151,11 +148,8 @@ class Hubs
* @return Operations\GetLibraryHubsResponse * @return Operations\GetLibraryHubsResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getLibraryHubs( public function getLibraryHubs(float $sectionId, ?float $count = null, ?Operations\QueryParamOnlyTransient $onlyTransient = null): Operations\GetLibraryHubsResponse
float $sectionId, {
?float $count = null,
?Operations\QueryParamOnlyTransient $onlyTransient = null,
): Operations\GetLibraryHubsResponse {
$request = new Operations\GetLibraryHubsRequest( $request = new Operations\GetLibraryHubsRequest(
sectionId: $sectionId, sectionId: $sectionId,
count: $count, count: $count,

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Library class Library
{ {
@@ -17,7 +17,7 @@ class Library
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -32,10 +32,8 @@ class Library
* @return Operations\GetFileHashResponse * @return Operations\GetFileHashResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getFileHash( public function getFileHash(string $url, ?float $type = null): Operations\GetFileHashResponse
string $url, {
?float $type = null,
): Operations\GetFileHashResponse {
$request = new Operations\GetFileHashRequest( $request = new Operations\GetFileHashRequest(
url: $url, url: $url,
type: $type, type: $type,
@@ -94,9 +92,8 @@ class Library
* @return Operations\GetRecentlyAddedLibraryResponse * @return Operations\GetRecentlyAddedLibraryResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getRecentlyAddedLibrary( public function getRecentlyAddedLibrary(Operations\GetRecentlyAddedLibraryRequest $request): Operations\GetRecentlyAddedLibraryResponse
?Operations\GetRecentlyAddedLibraryRequest $request, {
): Operations\GetRecentlyAddedLibraryResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/recentlyAdded'); $url = Utils\Utils::generateUrl($baseUrl, '/library/recentlyAdded');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -163,8 +160,8 @@ class Library
* @return Operations\GetAllLibrariesResponse * @return Operations\GetAllLibrariesResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getAllLibraries( public function getAllLibraries(): Operations\GetAllLibrariesResponse
): Operations\GetAllLibrariesResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/sections'); $url = Utils\Utils::generateUrl($baseUrl, '/library/sections');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -265,10 +262,8 @@ class Library
* @return Operations\GetLibraryDetailsResponse * @return Operations\GetLibraryDetailsResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getLibraryDetails( public function getLibraryDetails(int $sectionKey, ?Operations\IncludeDetails $includeDetails = null): Operations\GetLibraryDetailsResponse
int $sectionKey, {
?Operations\IncludeDetails $includeDetails = null,
): Operations\GetLibraryDetailsResponse {
$request = new Operations\GetLibraryDetailsRequest( $request = new Operations\GetLibraryDetailsRequest(
sectionKey: $sectionKey, sectionKey: $sectionKey,
includeDetails: $includeDetails, includeDetails: $includeDetails,
@@ -334,9 +329,8 @@ class Library
* @return Operations\DeleteLibraryResponse * @return Operations\DeleteLibraryResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function deleteLibrary( public function deleteLibrary(int $sectionKey): Operations\DeleteLibraryResponse
int $sectionKey, {
): Operations\DeleteLibraryResponse {
$request = new Operations\DeleteLibraryRequest( $request = new Operations\DeleteLibraryRequest(
sectionKey: $sectionKey, sectionKey: $sectionKey,
); );
@@ -412,9 +406,8 @@ class Library
* @return Operations\GetLibraryItemsResponse * @return Operations\GetLibraryItemsResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getLibraryItems( public function getLibraryItems(Operations\GetLibraryItemsRequest $request): Operations\GetLibraryItemsResponse
?Operations\GetLibraryItemsRequest $request, {
): Operations\GetLibraryItemsResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/sections/{sectionKey}/{tag}', Operations\GetLibraryItemsRequest::class, $request, $this->sdkConfiguration->globals); $url = Utils\Utils::generateUrl($baseUrl, '/library/sections/{sectionKey}/{tag}', Operations\GetLibraryItemsRequest::class, $request, $this->sdkConfiguration->globals);
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -478,10 +471,8 @@ class Library
* @return Operations\GetRefreshLibraryMetadataResponse * @return Operations\GetRefreshLibraryMetadataResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getRefreshLibraryMetadata( public function getRefreshLibraryMetadata(int $sectionKey, ?Operations\Force $force = null): Operations\GetRefreshLibraryMetadataResponse
int $sectionKey, {
?Operations\Force $force = null,
): Operations\GetRefreshLibraryMetadataResponse {
$request = new Operations\GetRefreshLibraryMetadataRequest( $request = new Operations\GetRefreshLibraryMetadataRequest(
sectionKey: $sectionKey, sectionKey: $sectionKey,
force: $force, force: $force,
@@ -558,10 +549,8 @@ class Library
* @return Operations\GetSearchLibraryResponse * @return Operations\GetSearchLibraryResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getSearchLibrary( public function getSearchLibrary(int $sectionKey, Operations\GetSearchLibraryQueryParamType $type): Operations\GetSearchLibraryResponse
int $sectionKey, {
Operations\GetSearchLibraryQueryParamType $type,
): Operations\GetSearchLibraryResponse {
$request = new Operations\GetSearchLibraryRequest( $request = new Operations\GetSearchLibraryRequest(
sectionKey: $sectionKey, sectionKey: $sectionKey,
type: $type, type: $type,
@@ -628,9 +617,8 @@ class Library
* @return Operations\GetSearchAllLibrariesResponse * @return Operations\GetSearchAllLibrariesResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getSearchAllLibraries( public function getSearchAllLibraries(Operations\GetSearchAllLibrariesRequest $request): Operations\GetSearchAllLibrariesResponse
?Operations\GetSearchAllLibrariesRequest $request, {
): Operations\GetSearchAllLibrariesResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/search'); $url = Utils\Utils::generateUrl($baseUrl, '/library/search');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -697,9 +685,8 @@ class Library
* @return Operations\GetMetaDataByRatingKeyResponse * @return Operations\GetMetaDataByRatingKeyResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getMetaDataByRatingKey( public function getMetaDataByRatingKey(int $ratingKey): Operations\GetMetaDataByRatingKeyResponse
int $ratingKey, {
): Operations\GetMetaDataByRatingKeyResponse {
$request = new Operations\GetMetaDataByRatingKeyRequest( $request = new Operations\GetMetaDataByRatingKeyRequest(
ratingKey: $ratingKey, ratingKey: $ratingKey,
); );
@@ -765,10 +752,8 @@ class Library
* @return Operations\GetMetadataChildrenResponse * @return Operations\GetMetadataChildrenResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getMetadataChildren( public function getMetadataChildren(float $ratingKey, ?string $includeElements = null): Operations\GetMetadataChildrenResponse
float $ratingKey, {
?string $includeElements = null,
): Operations\GetMetadataChildrenResponse {
$request = new Operations\GetMetadataChildrenRequest( $request = new Operations\GetMetadataChildrenRequest(
ratingKey: $ratingKey, ratingKey: $ratingKey,
includeElements: $includeElements, includeElements: $includeElements,
@@ -836,10 +821,8 @@ class Library
* @return Operations\GetTopWatchedContentResponse * @return Operations\GetTopWatchedContentResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getTopWatchedContent( public function getTopWatchedContent(Operations\GetTopWatchedContentQueryParamType $type, ?int $includeGuids = null): Operations\GetTopWatchedContentResponse
Operations\GetTopWatchedContentQueryParamType $type, {
?int $includeGuids = null,
): Operations\GetTopWatchedContentResponse {
$request = new Operations\GetTopWatchedContentRequest( $request = new Operations\GetTopWatchedContentRequest(
type: $type, type: $type,
includeGuids: $includeGuids, includeGuids: $includeGuids,
@@ -905,8 +888,8 @@ class Library
* @return Operations\GetOnDeckResponse * @return Operations\GetOnDeckResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getOnDeck( public function getOnDeck(): Operations\GetOnDeckResponse
): Operations\GetOnDeckResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/onDeck'); $url = Utils\Utils::generateUrl($baseUrl, '/library/onDeck');
$options = ['http_errors' => false]; $options = ['http_errors' => false];

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Log class Log
{ {
@@ -17,7 +17,7 @@ class Log
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -34,11 +34,8 @@ class Log
* @return Operations\LogLineResponse * @return Operations\LogLineResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function logLine( public function logLine(Operations\Level $level, string $message, string $source): Operations\LogLineResponse
Operations\Level $level, {
string $message,
string $source,
): Operations\LogLineResponse {
$request = new Operations\LogLineRequest( $request = new Operations\LogLineRequest(
level: $level, level: $level,
message: $message, message: $message,
@@ -118,9 +115,8 @@ class Log
* @return Operations\LogMultiLineResponse * @return Operations\LogMultiLineResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function logMultiLine( public function logMultiLine(string $request): Operations\LogMultiLineResponse
string $request, {
): Operations\LogMultiLineResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/log'); $url = Utils\Utils::generateUrl($baseUrl, '/log');
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -178,8 +174,8 @@ class Log
* @return Operations\EnablePaperTrailResponse * @return Operations\EnablePaperTrailResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function enablePaperTrail( public function enablePaperTrail(): Operations\EnablePaperTrailResponse
): Operations\EnablePaperTrailResponse { {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/log/networked'); $url = Utils\Utils::generateUrl($baseUrl, '/log/networked');
$options = ['http_errors' => false]; $options = ['http_errors' => false];

View File

@@ -8,8 +8,8 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API; namespace LukeHagar\Plex_API;
use JMS\Serializer\DeserializationContext;
use LukeHagar\Plex_API\Models\Operations; use LukeHagar\Plex_API\Models\Operations;
use Speakeasy\Serializer\DeserializationContext;
class Media class Media
{ {
@@ -17,7 +17,7 @@ class Media
/** /**
* @param SDKConfiguration $sdkConfig * @param SDKConfiguration $sdkConfig
*/ */
public function __construct(SDKConfiguration $sdkConfig) public function __construct(public SDKConfiguration $sdkConfig)
{ {
$this->sdkConfiguration = $sdkConfig; $this->sdkConfiguration = $sdkConfig;
} }
@@ -31,9 +31,8 @@ class Media
* @return Operations\MarkPlayedResponse * @return Operations\MarkPlayedResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function markPlayed( public function markPlayed(float $key): Operations\MarkPlayedResponse
float $key, {
): Operations\MarkPlayedResponse {
$request = new Operations\MarkPlayedRequest( $request = new Operations\MarkPlayedRequest(
key: $key, key: $key,
); );
@@ -90,9 +89,8 @@ class Media
* @return Operations\MarkUnplayedResponse * @return Operations\MarkUnplayedResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function markUnplayed( public function markUnplayed(float $key): Operations\MarkUnplayedResponse
float $key, {
): Operations\MarkUnplayedResponse {
$request = new Operations\MarkUnplayedRequest( $request = new Operations\MarkUnplayedRequest(
key: $key, key: $key,
); );
@@ -152,11 +150,8 @@ class Media
* @return Operations\UpdatePlayProgressResponse * @return Operations\UpdatePlayProgressResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function updatePlayProgress( public function updatePlayProgress(string $key, float $time, string $state): Operations\UpdatePlayProgressResponse
string $key, {
float $time,
string $state,
): Operations\UpdatePlayProgressResponse {
$request = new Operations\UpdatePlayProgressRequest( $request = new Operations\UpdatePlayProgressRequest(
key: $key, key: $key,
time: $time, time: $time,
@@ -215,9 +210,8 @@ class Media
* @return Operations\GetBannerImageResponse * @return Operations\GetBannerImageResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getBannerImage( public function getBannerImage(Operations\GetBannerImageRequest $request): Operations\GetBannerImageResponse
?Operations\GetBannerImageRequest $request, {
): Operations\GetBannerImageResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/metadata/{ratingKey}/banner', Operations\GetBannerImageRequest::class, $request, $this->sdkConfiguration->globals); $url = Utils\Utils::generateUrl($baseUrl, '/library/metadata/{ratingKey}/banner', Operations\GetBannerImageRequest::class, $request, $this->sdkConfiguration->globals);
$options = ['http_errors' => false]; $options = ['http_errors' => false];
@@ -282,9 +276,8 @@ class Media
* @return Operations\GetThumbImageResponse * @return Operations\GetThumbImageResponse
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException * @throws \LukeHagar\Plex_API\Models\Errors\SDKException
*/ */
public function getThumbImage( public function getThumbImage(Operations\GetThumbImageRequest $request): Operations\GetThumbImageResponse
?Operations\GetThumbImageRequest $request, {
): Operations\GetThumbImageResponse {
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults()); $baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
$url = Utils\Utils::generateUrl($baseUrl, '/library/metadata/{ratingKey}/thumb', Operations\GetThumbImageRequest::class, $request, $this->sdkConfiguration->globals); $url = Utils\Utils::generateUrl($baseUrl, '/library/metadata/{ratingKey}/thumb', Operations\GetThumbImageRequest::class, $request, $this->sdkConfiguration->globals);
$options = ['http_errors' => false]; $options = ['http_errors' => false];

View File

@@ -18,9 +18,9 @@ class AddPlaylistContentsBadRequest
* *
* @var ?array<AddPlaylistContentsErrors> $errors * @var ?array<AddPlaylistContentsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class AddPlaylistContentsBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class AddPlaylistContentsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class AddPlaylistContentsPlaylistsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class AddPlaylistContentsUnauthorized
* *
* @var ?array<AddPlaylistContentsPlaylistsErrors> $errors * @var ?array<AddPlaylistContentsPlaylistsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsPlaylistsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsPlaylistsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class AddPlaylistContentsUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class ApplyUpdatesBadRequest
* *
* @var ?array<ApplyUpdatesErrors> $errors * @var ?array<ApplyUpdatesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class ApplyUpdatesBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class ApplyUpdatesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class ApplyUpdatesUnauthorized
* *
* @var ?array<ApplyUpdatesUpdaterErrors> $errors * @var ?array<ApplyUpdatesUpdaterErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesUpdaterErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesUpdaterErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class ApplyUpdatesUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class ApplyUpdatesUpdaterErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class CancelServerActivitiesActivitiesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class CancelServerActivitiesBadRequest
* *
* @var ?array<CancelServerActivitiesErrors> $errors * @var ?array<CancelServerActivitiesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CancelServerActivitiesBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class CancelServerActivitiesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class CancelServerActivitiesUnauthorized
* *
* @var ?array<CancelServerActivitiesActivitiesErrors> $errors * @var ?array<CancelServerActivitiesActivitiesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesActivitiesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesActivitiesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CancelServerActivitiesUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class CheckForUpdatesBadRequest
* *
* @var ?array<CheckForUpdatesErrors> $errors * @var ?array<CheckForUpdatesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CheckForUpdatesBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class CheckForUpdatesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class CheckForUpdatesUnauthorized
* *
* @var ?array<CheckForUpdatesUpdaterErrors> $errors * @var ?array<CheckForUpdatesUpdaterErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesUpdaterErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesUpdaterErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CheckForUpdatesUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class CheckForUpdatesUpdaterErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class ClearPlaylistContentsBadRequest
* *
* @var ?array<ClearPlaylistContentsErrors> $errors * @var ?array<ClearPlaylistContentsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class ClearPlaylistContentsBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class ClearPlaylistContentsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class ClearPlaylistContentsPlaylistsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class ClearPlaylistContentsUnauthorized
* *
* @var ?array<ClearPlaylistContentsPlaylistsErrors> $errors * @var ?array<ClearPlaylistContentsPlaylistsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsPlaylistsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsPlaylistsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class ClearPlaylistContentsUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class CreatePlaylistBadRequest
* *
* @var ?array<CreatePlaylistErrors> $errors * @var ?array<CreatePlaylistErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CreatePlaylistBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class CreatePlaylistErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class CreatePlaylistPlaylistsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class CreatePlaylistUnauthorized
* *
* @var ?array<CreatePlaylistPlaylistsErrors> $errors * @var ?array<CreatePlaylistPlaylistsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistPlaylistsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistPlaylistsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class CreatePlaylistUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class DeleteLibraryBadRequest
* *
* @var ?array<DeleteLibraryErrors> $errors * @var ?array<DeleteLibraryErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class DeleteLibraryBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class DeleteLibraryErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class DeleteLibraryLibraryErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class DeleteLibraryUnauthorized
* *
* @var ?array<DeleteLibraryLibraryErrors> $errors * @var ?array<DeleteLibraryLibraryErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryLibraryErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryLibraryErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class DeleteLibraryUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class DeletePlaylistBadRequest
* *
* @var ?array<DeletePlaylistErrors> $errors * @var ?array<DeletePlaylistErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class DeletePlaylistBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class DeletePlaylistErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class DeletePlaylistPlaylistsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class DeletePlaylistUnauthorized
* *
* @var ?array<DeletePlaylistPlaylistsErrors> $errors * @var ?array<DeletePlaylistPlaylistsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistPlaylistsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistPlaylistsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class DeletePlaylistUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class EnablePaperTrailBadRequest
* *
* @var ?array<EnablePaperTrailErrors> $errors * @var ?array<EnablePaperTrailErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class EnablePaperTrailBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class EnablePaperTrailErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class EnablePaperTrailLogErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class EnablePaperTrailUnauthorized
* *
* @var ?array<EnablePaperTrailLogErrors> $errors * @var ?array<EnablePaperTrailLogErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailLogErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailLogErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class EnablePaperTrailUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class Errors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetAllLibrariesBadRequest
* *
* @var ?array<GetAllLibrariesErrors> $errors * @var ?array<GetAllLibrariesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetAllLibrariesBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetAllLibrariesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetAllLibrariesLibraryErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetAllLibrariesUnauthorized
* *
* @var ?array<GetAllLibrariesLibraryErrors> $errors * @var ?array<GetAllLibrariesLibraryErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesLibraryErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesLibraryErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetAllLibrariesUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetAvailableClientsBadRequest
* *
* @var ?array<GetAvailableClientsErrors> $errors * @var ?array<GetAvailableClientsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetAvailableClientsBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetAvailableClientsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetAvailableClientsServerErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetAvailableClientsUnauthorized
* *
* @var ?array<GetAvailableClientsServerErrors> $errors * @var ?array<GetAvailableClientsServerErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsServerErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsServerErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetAvailableClientsUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetBandwidthStatisticsBadRequest
* *
* @var ?array<GetBandwidthStatisticsErrors> $errors * @var ?array<GetBandwidthStatisticsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetBandwidthStatisticsBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetBandwidthStatisticsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetBandwidthStatisticsStatisticsErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetBandwidthStatisticsUnauthorized
* *
* @var ?array<GetBandwidthStatisticsStatisticsErrors> $errors * @var ?array<GetBandwidthStatisticsStatisticsErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsStatisticsErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsStatisticsErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetBandwidthStatisticsUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetBannerImageBadRequest
* *
* @var ?array<GetBannerImageErrors> $errors * @var ?array<GetBannerImageErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetBannerImageBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetBannerImageErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetBannerImageMediaErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetBannerImageUnauthorized
* *
* @var ?array<GetBannerImageMediaErrors> $errors * @var ?array<GetBannerImageMediaErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageMediaErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageMediaErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetBannerImageUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetButlerTasksBadRequest
* *
* @var ?array<GetButlerTasksErrors> $errors * @var ?array<GetButlerTasksErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetButlerTasksBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetButlerTasksButlerErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetButlerTasksErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetButlerTasksUnauthorized
* *
* @var ?array<GetButlerTasksButlerErrors> $errors * @var ?array<GetButlerTasksButlerErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksButlerErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksButlerErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetButlerTasksUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetCompanionsDataBadRequest
* *
* @var ?array<GetCompanionsDataErrors> $errors * @var ?array<GetCompanionsDataErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetCompanionsDataBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetCompanionsDataErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetCompanionsDataPlexErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -18,9 +18,9 @@ class GetCompanionsDataUnauthorized
* *
* @var ?array<GetCompanionsDataPlexErrors> $errors * @var ?array<GetCompanionsDataPlexErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataPlexErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataPlexErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetCompanionsDataUnauthorized
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -18,9 +18,9 @@ class GetDevicesBadRequest
* *
* @var ?array<GetDevicesErrors> $errors * @var ?array<GetDevicesErrors> $errors
*/ */
#[\JMS\Serializer\Annotation\SerializedName('errors')] #[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetDevicesErrors>|null')] #[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetDevicesErrors>|null')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?array $errors = null; public ?array $errors = null;
/** /**
@@ -28,7 +28,7 @@ class GetDevicesBadRequest
* *
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse * @var ?\Psr\Http\Message\ResponseInterface $rawResponse
*/ */
#[\JMS\Serializer\Annotation\Exclude] #[\Speakeasy\Serializer\Annotation\Exclude]
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null; public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;

View File

@@ -15,24 +15,24 @@ class GetDevicesErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

View File

@@ -15,24 +15,24 @@ class GetDevicesServerErrors
* *
* @var ?int $code * @var ?int $code
*/ */
#[\JMS\Serializer\Annotation\SerializedName('code')] #[\Speakeasy\Serializer\Annotation\SerializedName('code')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $code = null; public ?int $code = null;
/** /**
* *
* @var ?string $message * @var ?string $message
*/ */
#[\JMS\Serializer\Annotation\SerializedName('message')] #[\Speakeasy\Serializer\Annotation\SerializedName('message')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $message = null; public ?string $message = null;
/** /**
* *
* @var ?int $status * @var ?int $status
*/ */
#[\JMS\Serializer\Annotation\SerializedName('status')] #[\Speakeasy\Serializer\Annotation\SerializedName('status')]
#[\JMS\Serializer\Annotation\SkipWhenNull] #[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?int $status = null; public ?int $status = null;
/** /**

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