mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-09 20:47:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1
This commit is contained in:
@@ -1,27 +1,29 @@
|
||||
lockVersion: 2.0.0
|
||||
id: 01a51eb2-5d90-4a24-b154-68e491d02c36
|
||||
management:
|
||||
docChecksum: 23094f3a9fe02710a8628ad5456f5d42
|
||||
docChecksum: af45c1ae70f7fc6589adb3f8075cb275
|
||||
docVersion: 0.0.3
|
||||
speakeasyVersion: 1.406.0
|
||||
generationVersion: 2.429.0
|
||||
releaseVersion: 0.10.6
|
||||
configChecksum: 1e62cfd875b275ab02f943cf62e4654a
|
||||
speakeasyVersion: 1.438.1
|
||||
generationVersion: 2.457.2
|
||||
releaseVersion: 0.11.0
|
||||
configChecksum: d1b38b109356712a347823b2aeb2d042
|
||||
repoURL: https://github.com/LukeHagar/plexphp.git
|
||||
repoSubDirectory: .
|
||||
installationURL: https://github.com/LukeHagar/plexphp
|
||||
published: true
|
||||
features:
|
||||
php:
|
||||
core: 3.4.9
|
||||
constsAndDefaults: 0.2.0
|
||||
core: 3.7.1
|
||||
deprecations: 2.81.1
|
||||
enums: 2.81.1
|
||||
errors: 0.1.4
|
||||
errors: 0.3.0
|
||||
flattening: 2.81.1
|
||||
globalSecurity: 2.81.7
|
||||
globalSecurityFlattening: 0.1.1
|
||||
globalServerURLs: 2.82.1
|
||||
globals: 2.82.2
|
||||
methodArguments: 0.1.0
|
||||
methodServerURLs: 2.82.1
|
||||
nameOverrides: 2.81.2
|
||||
nullables: 1.0.0
|
||||
@@ -1805,6 +1807,8 @@ generatedFiles:
|
||||
- src/Sessions.php
|
||||
- src/Statistics.php
|
||||
- src/Updater.php
|
||||
- src/Utils/BigDecimalHandler.php
|
||||
- src/Utils/BigIntHandler.php
|
||||
- src/Utils/DateHandler.php
|
||||
- src/Utils/DateTimeHandler.php
|
||||
- src/Utils/DefaultRequest.php
|
||||
|
||||
@@ -11,9 +11,11 @@ generation:
|
||||
requestResponseComponentNamesFeb2024: true
|
||||
auth:
|
||||
oAuth2ClientCredentialsEnabled: false
|
||||
oAuth2PasswordEnabled: false
|
||||
php:
|
||||
version: 0.10.6
|
||||
version: 0.11.0
|
||||
clientServerStatusCodesAsErrors: true
|
||||
defaultErrorName: SDKException
|
||||
flattenGlobalSecurity: true
|
||||
imports:
|
||||
option: openapi
|
||||
@@ -24,7 +26,11 @@ php:
|
||||
shared: Models/Components
|
||||
webhooks: Models/Webhooks
|
||||
inputModelSuffix: input
|
||||
laravelServiceProvider:
|
||||
enabled: false
|
||||
svcName: openapi
|
||||
maxMethodParams: 4
|
||||
methodArguments: infer-optional-args
|
||||
namespace: LukeHagar\Plex_API
|
||||
outputModelSuffix: output
|
||||
packageName: lukehagar/plex-api
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
speakeasyVersion: 1.406.0
|
||||
speakeasyVersion: 1.438.1
|
||||
sources:
|
||||
my-source:
|
||||
sourceNamespace: my-source
|
||||
@@ -9,8 +9,8 @@ sources:
|
||||
- main
|
||||
plexapi:
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:8d2eb3adbd97ce5976291c4b123d1eadfef62d1f6bf86c6a18bcd89443f2f390
|
||||
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109
|
||||
sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345
|
||||
sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
@@ -18,10 +18,10 @@ targets:
|
||||
plexphp:
|
||||
source: plexapi
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:8d2eb3adbd97ce5976291c4b123d1eadfef62d1f6bf86c6a18bcd89443f2f390
|
||||
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109
|
||||
sourceRevisionDigest: sha256:15e040d800921ded49cf84650ef2bc8fb1acf32c885ee193c42e838d754bf345
|
||||
sourceBlobDigest: sha256:c178be2b4bfefb37d76c0fdaef37c51f9b6ab1410422d3698a41bb6a8d79a79f
|
||||
codeSamplesNamespace: code-samples-php-plexphp
|
||||
codeSamplesRevisionDigest: sha256:69bdf5df2e57e2f9f947171f88d187a711b9f7de24008e2b701ac51a2e8a89ad
|
||||
codeSamplesRevisionDigest: sha256:8ff55f12261344346ca24ed390a654538414e7762f7ef621cbc3e5074b189f72
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
53
README.md
53
README.md
@@ -244,7 +244,7 @@ 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:
|
||||
|
||||
| Error Type | Status Code | Content Type |
|
||||
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| ---------------------------------------- | ----------- | ---------------- |
|
||||
| Errors\GetServerCapabilitiesBadRequest | 400 | application/json |
|
||||
| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json |
|
||||
| Errors\SDKException | 4XX, 5XX | \*/\* |
|
||||
@@ -292,29 +292,44 @@ try {
|
||||
<!-- Start Server Selection [server] -->
|
||||
## Server Selection
|
||||
|
||||
## Server Selection
|
||||
### Server Variables
|
||||
|
||||
### Select Server by Index
|
||||
|
||||
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:
|
||||
|
||||
| # | 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`
|
||||
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)`
|
||||
* `setIp(string ip)`
|
||||
* `setPort(string port)`
|
||||
|
||||
### 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
|
||||
|
||||
|
||||
10
RELEASES.md
10
RELEASES.md
@@ -693,3 +693,13 @@ Based on:
|
||||
- [php v0.10.6] .
|
||||
### Releases
|
||||
- [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 - .
|
||||
@@ -1572,9 +1572,9 @@ actions:
|
||||
$request = new Operations\GetResizedPhotoRequest(
|
||||
width: 110,
|
||||
height: 165,
|
||||
opacity: 643869,
|
||||
blur: 0,
|
||||
minSize: Operations\MinSize::One,
|
||||
opacity: 100,
|
||||
blur: 20,
|
||||
minSize: Operations\MinSize::Zero,
|
||||
upscale: Operations\Upscale::One,
|
||||
url: '/library/metadata/49564/thumb/1654258204',
|
||||
);
|
||||
|
||||
@@ -8,17 +8,18 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"php": "^8.2",
|
||||
"guzzlehttp/guzzle": "^7.0",
|
||||
"speakeasy/serializer": "^3.40.0",
|
||||
"speakeasy/serializer": "^4.0.0",
|
||||
"brick/date-time": "^0.7.0",
|
||||
"phpdocumentor/type-resolver": "^1.8"
|
||||
"phpdocumentor/type-resolver": "^1.8",
|
||||
"brick/math": "^0.12.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"laravel/pint": "^1.18.1",
|
||||
"phpstan/phpstan": "^1.9",
|
||||
"phpstan/phpstan": "^1.12",
|
||||
"phpunit/phpunit": "^10",
|
||||
"rector/rector": "^0.18.13",
|
||||
"rector/rector": "^0.19",
|
||||
"roave/security-advisories": "dev-latest"
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
| `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 | |
|
||||
| `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 | |
|
||||
| `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 |
|
||||
@@ -17,3 +16,4 @@
|
||||
| `username` | *string* | :heavy_check_mark: | The account username | username123 |
|
||||
| `uuid` | *string* | :heavy_check_mark: | The account Universally Unique Identifier (UUID) | 7d1916e0d8f6e76b |
|
||||
| `friendlyName` | *string* | :heavy_check_mark: | The account full name | exampleUser |
|
||||
| `restricted` | *?bool* | :heavy_minus_sign: | If the account is a Plex Home managed user | |
|
||||
@@ -11,10 +11,10 @@ Geo location data
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
@@ -11,10 +11,10 @@ Geo location data
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| 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 |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| 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 |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
@@ -10,12 +10,12 @@ Requests a new pin id used in the authentication flow
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||
| `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 |
|
||||
| `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/>} |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| 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 |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -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 |
|
||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||
| `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 |
|
||||
| `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/>} |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
@@ -11,10 +11,10 @@ Geo location data
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
@@ -8,43 +8,43 @@ Logged in user details
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 |
|
||||
| `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 |
|
||||
| `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 | |
|
||||
| `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 |
|
||||
| `restricted` | *bool* | :heavy_check_mark: | If the account is a Plex Home managed user | |
|
||||
| `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | |
|
||||
| `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 account’s Plex Pass subscription is active | |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f |
|
||||
| `adsConsent` | *bool* | :heavy_check_mark: | Unknown | |
|
||||
| `adsConsentReminderAt` | *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 | |
|
||||
| `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 | |
|
||||
| `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 | |
|
||||
| `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | |
|
||||
| `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 | |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -5,13 +5,6 @@
|
||||
|
||||
| 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 |
|
||||
| `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 | |
|
||||
@@ -19,4 +12,11 @@
|
||||
| `mode` | *string* | :heavy_check_mark: | N/A | |
|
||||
| `renewsAt` | *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 | |
|
||||
@@ -8,35 +8,23 @@ Returns the user account data with a valid auth token
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 |
|
||||
| `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 |
|
||||
| `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 | |
|
||||
| `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 |
|
||||
| `restricted` | *bool* | :heavy_check_mark: | If the account is a Plex Home managed user | |
|
||||
| `scrobbleTypes` | *string* | :heavy_check_mark: | Unknown | |
|
||||
| `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 account’s Plex Pass subscription is active | |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `uuid` | *string* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f |
|
||||
| `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 | |
|
||||
| `adsConsentReminderAt` | *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 | |
|
||||
| `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 | |
|
||||
| `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 | |
|
||||
| `subscriptionDescription` | *string* | :heavy_check_mark: | Description of the Plex Pass subscription | |
|
||||
| `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 | |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `autoSelectAudio` | *bool* | :heavy_check_mark: | 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 |
|
||||
| `defaultSubtitleAccessibility` | [Operations\PostUsersSignInDataDefaultSubtitleAccessibility](../../Models/Operations/PostUsersSignInDataDefaultSubtitleAccessibility.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `defaultSubtitleForced` | [Operations\PostUsersSignInDataDefaultSubtitleForced](../../Models/Operations/PostUsersSignInDataDefaultSubtitleForced.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `watchedIndicator` | [Operations\PostUsersSignInDataWatchedIndicator](../../Models/Operations/PostUsersSignInDataWatchedIndicator.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `mediaReviewsVisibility` | [Operations\PostUsersSignInDataMediaReviewsVisibility](../../Models/Operations/PostUsersSignInDataMediaReviewsVisibility.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `autoSelectAudio` | *?bool* | :heavy_minus_sign: | If the account has automatically select audio and subtitle tracks enabled | true |
|
||||
| `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja |
|
||||
| `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en |
|
||||
| `autoSelectSubtitle` | [?Operations\PostUsersSignInDataAutoSelectSubtitle](../../Models/Operations/PostUsersSignInDataAutoSelectSubtitle.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `defaultSubtitleAccessibility` | [?Operations\PostUsersSignInDataDefaultSubtitleAccessibility](../../Models/Operations/PostUsersSignInDataDefaultSubtitleAccessibility.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `defaultSubtitleForced` | [?Operations\PostUsersSignInDataDefaultSubtitleForced](../../Models/Operations/PostUsersSignInDataDefaultSubtitleForced.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `watchedIndicator` | [?Operations\PostUsersSignInDataWatchedIndicator](../../Models/Operations/PostUsersSignInDataWatchedIndicator.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `mediaReviewsVisibility` | [?Operations\PostUsersSignInDataMediaReviewsVisibility](../../Models/Operations/PostUsersSignInDataMediaReviewsVisibility.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| 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 |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `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 |
|
||||
| `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 |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
@@ -17,3 +17,4 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
@@ -4,12 +4,12 @@
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||
| `autoSelectAudio` | *bool* | :heavy_check_mark: | 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 |
|
||||
| `defaultSubtitleAccessibility` | [Operations\DefaultSubtitleAccessibility](../../Models/Operations/DefaultSubtitleAccessibility.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `defaultSubtitleForced` | [Operations\DefaultSubtitleForced](../../Models/Operations/DefaultSubtitleForced.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `watchedIndicator` | [Operations\WatchedIndicator](../../Models/Operations/WatchedIndicator.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| `mediaReviewsVisibility` | [Operations\MediaReviewsVisibility](../../Models/Operations/MediaReviewsVisibility.md) | :heavy_check_mark: | N/A | 1 |
|
||||
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| `autoSelectAudio` | *?bool* | :heavy_minus_sign: | If the account has automatically select audio and subtitle tracks enabled | true |
|
||||
| `defaultAudioLanguage` | *string* | :heavy_check_mark: | The preferred audio language for the account | ja |
|
||||
| `defaultSubtitleLanguage` | *string* | :heavy_check_mark: | The preferred subtitle language for the account | en |
|
||||
| `autoSelectSubtitle` | [?Operations\AutoSelectSubtitle](../../Models/Operations/AutoSelectSubtitle.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `defaultSubtitleAccessibility` | [?Operations\DefaultSubtitleAccessibility](../../Models/Operations/DefaultSubtitleAccessibility.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `defaultSubtitleForced` | [?Operations\DefaultSubtitleForced](../../Models/Operations/DefaultSubtitleForced.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `watchedIndicator` | [?Operations\WatchedIndicator](../../Models/Operations/WatchedIndicator.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `mediaReviewsVisibility` | [?Operations\MediaReviewsVisibility](../../Models/Operations/MediaReviewsVisibility.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
@@ -319,9 +319,9 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
$request = new Operations\GetResizedPhotoRequest(
|
||||
width: 110,
|
||||
height: 165,
|
||||
opacity: 643869,
|
||||
blur: 0,
|
||||
minSize: Operations\MinSize::One,
|
||||
opacity: 100,
|
||||
blur: 20,
|
||||
minSize: Operations\MinSize::Zero,
|
||||
upscale: Operations\Upscale::One,
|
||||
url: '/library/metadata/49564/thumb/1654258204',
|
||||
);
|
||||
|
||||
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Activities
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Activities
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -30,8 +30,8 @@ class Activities
|
||||
* @return Operations\GetServerActivitiesResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getServerActivities(
|
||||
): Operations\GetServerActivitiesResponse {
|
||||
public function getServerActivities(): Operations\GetServerActivitiesResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/activities');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -92,9 +92,8 @@ class Activities
|
||||
* @return Operations\CancelServerActivitiesResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function cancelServerActivities(
|
||||
string $activityUUID,
|
||||
): Operations\CancelServerActivitiesResponse {
|
||||
public function cancelServerActivities(string $activityUUID): Operations\CancelServerActivitiesResponse
|
||||
{
|
||||
$request = new Operations\CancelServerActivitiesRequest(
|
||||
activityUUID: $activityUUID,
|
||||
);
|
||||
|
||||
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Authentication
|
||||
{
|
||||
@@ -25,7 +25,7 @@ class Authentication
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -41,10 +41,8 @@ class Authentication
|
||||
* @return Operations\GetTransientTokenResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getTransientToken(
|
||||
Operations\GetTransientTokenQueryParamType $type,
|
||||
Operations\Scope $scope,
|
||||
): Operations\GetTransientTokenResponse {
|
||||
public function getTransientToken(Operations\GetTransientTokenQueryParamType $type, Operations\Scope $scope): Operations\GetTransientTokenResponse
|
||||
{
|
||||
$request = new Operations\GetTransientTokenRequest(
|
||||
type: $type,
|
||||
scope: $scope,
|
||||
@@ -104,9 +102,8 @@ class Authentication
|
||||
* @return Operations\GetSourceConnectionInformationResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getSourceConnectionInformation(
|
||||
string $source,
|
||||
): Operations\GetSourceConnectionInformationResponse {
|
||||
public function getSourceConnectionInformation(string $source): Operations\GetSourceConnectionInformationResponse
|
||||
{
|
||||
$request = new Operations\GetSourceConnectionInformationRequest(
|
||||
source: $source,
|
||||
);
|
||||
@@ -163,9 +160,8 @@ class Authentication
|
||||
* @return Operations\GetTokenDetailsResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getTokenDetails(
|
||||
?string $serverURL = null,
|
||||
): Operations\GetTokenDetailsResponse {
|
||||
public function getTokenDetails(?string $serverURL = null): Operations\GetTokenDetailsResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl(Authentication::GET_TOKEN_DETAILS_SERVERS[0], [
|
||||
]);
|
||||
if (! empty($serverURL)) {
|
||||
@@ -226,15 +222,13 @@ class Authentication
|
||||
*
|
||||
* 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
|
||||
* @return Operations\PostUsersSignInDataResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function postUsersSignInData(
|
||||
?Operations\PostUsersSignInDataRequest $request,
|
||||
?string $serverURL = null,
|
||||
): Operations\PostUsersSignInDataResponse {
|
||||
public function postUsersSignInData(?Operations\PostUsersSignInDataRequest $request = null, ?string $serverURL = null): Operations\PostUsersSignInDataResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl(Authentication::POST_USERS_SIGN_IN_DATA_SERVERS[0], [
|
||||
]);
|
||||
if (! empty($serverURL)) {
|
||||
|
||||
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Butler
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Butler
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -30,8 +30,8 @@ class Butler
|
||||
* @return Operations\GetButlerTasksResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getButlerTasks(
|
||||
): Operations\GetButlerTasksResponse {
|
||||
public function getButlerTasks(): Operations\GetButlerTasksResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/butler');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -96,8 +96,8 @@ class Butler
|
||||
* @return Operations\StartAllTasksResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function startAllTasks(
|
||||
): Operations\StartAllTasksResponse {
|
||||
public function startAllTasks(): Operations\StartAllTasksResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/butler');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -150,8 +150,8 @@ class Butler
|
||||
* @return Operations\StopAllTasksResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function stopAllTasks(
|
||||
): Operations\StopAllTasksResponse {
|
||||
public function stopAllTasks(): Operations\StopAllTasksResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/butler');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -209,9 +209,8 @@ class Butler
|
||||
* @return Operations\StartTaskResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function startTask(
|
||||
Operations\TaskName $taskName,
|
||||
): Operations\StartTaskResponse {
|
||||
public function startTask(Operations\TaskName $taskName): Operations\StartTaskResponse
|
||||
{
|
||||
$request = new Operations\StartTaskRequest(
|
||||
taskName: $taskName,
|
||||
);
|
||||
@@ -268,9 +267,8 @@ class Butler
|
||||
* @return Operations\StopTaskResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function stopTask(
|
||||
Operations\PathParamTaskName $taskName,
|
||||
): Operations\StopTaskResponse {
|
||||
public function stopTask(Operations\PathParamTaskName $taskName): Operations\StopTaskResponse
|
||||
{
|
||||
$request = new Operations\StopTaskRequest(
|
||||
taskName: $taskName,
|
||||
);
|
||||
|
||||
22
src/Hubs.php
22
src/Hubs.php
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Hubs
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Hubs
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -32,10 +32,8 @@ class Hubs
|
||||
* @return Operations\GetGlobalHubsResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getGlobalHubs(
|
||||
?float $count = null,
|
||||
?Operations\OnlyTransient $onlyTransient = null,
|
||||
): Operations\GetGlobalHubsResponse {
|
||||
public function getGlobalHubs(?float $count = null, ?Operations\OnlyTransient $onlyTransient = null): Operations\GetGlobalHubsResponse
|
||||
{
|
||||
$request = new Operations\GetGlobalHubsRequest(
|
||||
count: $count,
|
||||
onlyTransient: $onlyTransient,
|
||||
@@ -102,9 +100,8 @@ class Hubs
|
||||
* @return Operations\GetRecentlyAddedResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getRecentlyAdded(
|
||||
?Operations\GetRecentlyAddedRequest $request,
|
||||
): Operations\GetRecentlyAddedResponse {
|
||||
public function getRecentlyAdded(Operations\GetRecentlyAddedRequest $request): Operations\GetRecentlyAddedResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/hubs/home/recentlyAdded');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -151,11 +148,8 @@ class Hubs
|
||||
* @return Operations\GetLibraryHubsResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getLibraryHubs(
|
||||
float $sectionId,
|
||||
?float $count = null,
|
||||
?Operations\QueryParamOnlyTransient $onlyTransient = null,
|
||||
): Operations\GetLibraryHubsResponse {
|
||||
public function getLibraryHubs(float $sectionId, ?float $count = null, ?Operations\QueryParamOnlyTransient $onlyTransient = null): Operations\GetLibraryHubsResponse
|
||||
{
|
||||
$request = new Operations\GetLibraryHubsRequest(
|
||||
sectionId: $sectionId,
|
||||
count: $count,
|
||||
|
||||
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Library
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Library
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -32,10 +32,8 @@ class Library
|
||||
* @return Operations\GetFileHashResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getFileHash(
|
||||
string $url,
|
||||
?float $type = null,
|
||||
): Operations\GetFileHashResponse {
|
||||
public function getFileHash(string $url, ?float $type = null): Operations\GetFileHashResponse
|
||||
{
|
||||
$request = new Operations\GetFileHashRequest(
|
||||
url: $url,
|
||||
type: $type,
|
||||
@@ -94,9 +92,8 @@ class Library
|
||||
* @return Operations\GetRecentlyAddedLibraryResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getRecentlyAddedLibrary(
|
||||
?Operations\GetRecentlyAddedLibraryRequest $request,
|
||||
): Operations\GetRecentlyAddedLibraryResponse {
|
||||
public function getRecentlyAddedLibrary(Operations\GetRecentlyAddedLibraryRequest $request): Operations\GetRecentlyAddedLibraryResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/library/recentlyAdded');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -163,8 +160,8 @@ class Library
|
||||
* @return Operations\GetAllLibrariesResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getAllLibraries(
|
||||
): Operations\GetAllLibrariesResponse {
|
||||
public function getAllLibraries(): Operations\GetAllLibrariesResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/library/sections');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -265,10 +262,8 @@ class Library
|
||||
* @return Operations\GetLibraryDetailsResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getLibraryDetails(
|
||||
int $sectionKey,
|
||||
?Operations\IncludeDetails $includeDetails = null,
|
||||
): Operations\GetLibraryDetailsResponse {
|
||||
public function getLibraryDetails(int $sectionKey, ?Operations\IncludeDetails $includeDetails = null): Operations\GetLibraryDetailsResponse
|
||||
{
|
||||
$request = new Operations\GetLibraryDetailsRequest(
|
||||
sectionKey: $sectionKey,
|
||||
includeDetails: $includeDetails,
|
||||
@@ -334,9 +329,8 @@ class Library
|
||||
* @return Operations\DeleteLibraryResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function deleteLibrary(
|
||||
int $sectionKey,
|
||||
): Operations\DeleteLibraryResponse {
|
||||
public function deleteLibrary(int $sectionKey): Operations\DeleteLibraryResponse
|
||||
{
|
||||
$request = new Operations\DeleteLibraryRequest(
|
||||
sectionKey: $sectionKey,
|
||||
);
|
||||
@@ -412,9 +406,8 @@ class Library
|
||||
* @return Operations\GetLibraryItemsResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getLibraryItems(
|
||||
?Operations\GetLibraryItemsRequest $request,
|
||||
): Operations\GetLibraryItemsResponse {
|
||||
public function getLibraryItems(Operations\GetLibraryItemsRequest $request): Operations\GetLibraryItemsResponse
|
||||
{
|
||||
$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);
|
||||
$options = ['http_errors' => false];
|
||||
@@ -478,10 +471,8 @@ class Library
|
||||
* @return Operations\GetRefreshLibraryMetadataResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getRefreshLibraryMetadata(
|
||||
int $sectionKey,
|
||||
?Operations\Force $force = null,
|
||||
): Operations\GetRefreshLibraryMetadataResponse {
|
||||
public function getRefreshLibraryMetadata(int $sectionKey, ?Operations\Force $force = null): Operations\GetRefreshLibraryMetadataResponse
|
||||
{
|
||||
$request = new Operations\GetRefreshLibraryMetadataRequest(
|
||||
sectionKey: $sectionKey,
|
||||
force: $force,
|
||||
@@ -558,10 +549,8 @@ class Library
|
||||
* @return Operations\GetSearchLibraryResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getSearchLibrary(
|
||||
int $sectionKey,
|
||||
Operations\GetSearchLibraryQueryParamType $type,
|
||||
): Operations\GetSearchLibraryResponse {
|
||||
public function getSearchLibrary(int $sectionKey, Operations\GetSearchLibraryQueryParamType $type): Operations\GetSearchLibraryResponse
|
||||
{
|
||||
$request = new Operations\GetSearchLibraryRequest(
|
||||
sectionKey: $sectionKey,
|
||||
type: $type,
|
||||
@@ -628,9 +617,8 @@ class Library
|
||||
* @return Operations\GetSearchAllLibrariesResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getSearchAllLibraries(
|
||||
?Operations\GetSearchAllLibrariesRequest $request,
|
||||
): Operations\GetSearchAllLibrariesResponse {
|
||||
public function getSearchAllLibraries(Operations\GetSearchAllLibrariesRequest $request): Operations\GetSearchAllLibrariesResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/library/search');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -697,9 +685,8 @@ class Library
|
||||
* @return Operations\GetMetaDataByRatingKeyResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getMetaDataByRatingKey(
|
||||
int $ratingKey,
|
||||
): Operations\GetMetaDataByRatingKeyResponse {
|
||||
public function getMetaDataByRatingKey(int $ratingKey): Operations\GetMetaDataByRatingKeyResponse
|
||||
{
|
||||
$request = new Operations\GetMetaDataByRatingKeyRequest(
|
||||
ratingKey: $ratingKey,
|
||||
);
|
||||
@@ -765,10 +752,8 @@ class Library
|
||||
* @return Operations\GetMetadataChildrenResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getMetadataChildren(
|
||||
float $ratingKey,
|
||||
?string $includeElements = null,
|
||||
): Operations\GetMetadataChildrenResponse {
|
||||
public function getMetadataChildren(float $ratingKey, ?string $includeElements = null): Operations\GetMetadataChildrenResponse
|
||||
{
|
||||
$request = new Operations\GetMetadataChildrenRequest(
|
||||
ratingKey: $ratingKey,
|
||||
includeElements: $includeElements,
|
||||
@@ -836,10 +821,8 @@ class Library
|
||||
* @return Operations\GetTopWatchedContentResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getTopWatchedContent(
|
||||
Operations\GetTopWatchedContentQueryParamType $type,
|
||||
?int $includeGuids = null,
|
||||
): Operations\GetTopWatchedContentResponse {
|
||||
public function getTopWatchedContent(Operations\GetTopWatchedContentQueryParamType $type, ?int $includeGuids = null): Operations\GetTopWatchedContentResponse
|
||||
{
|
||||
$request = new Operations\GetTopWatchedContentRequest(
|
||||
type: $type,
|
||||
includeGuids: $includeGuids,
|
||||
@@ -905,8 +888,8 @@ class Library
|
||||
* @return Operations\GetOnDeckResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getOnDeck(
|
||||
): Operations\GetOnDeckResponse {
|
||||
public function getOnDeck(): Operations\GetOnDeckResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/library/onDeck');
|
||||
$options = ['http_errors' => false];
|
||||
|
||||
20
src/Log.php
20
src/Log.php
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Log
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Log
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -34,11 +34,8 @@ class Log
|
||||
* @return Operations\LogLineResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function logLine(
|
||||
Operations\Level $level,
|
||||
string $message,
|
||||
string $source,
|
||||
): Operations\LogLineResponse {
|
||||
public function logLine(Operations\Level $level, string $message, string $source): Operations\LogLineResponse
|
||||
{
|
||||
$request = new Operations\LogLineRequest(
|
||||
level: $level,
|
||||
message: $message,
|
||||
@@ -118,9 +115,8 @@ class Log
|
||||
* @return Operations\LogMultiLineResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function logMultiLine(
|
||||
string $request,
|
||||
): Operations\LogMultiLineResponse {
|
||||
public function logMultiLine(string $request): Operations\LogMultiLineResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/log');
|
||||
$options = ['http_errors' => false];
|
||||
@@ -178,8 +174,8 @@ class Log
|
||||
* @return Operations\EnablePaperTrailResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function enablePaperTrail(
|
||||
): Operations\EnablePaperTrailResponse {
|
||||
public function enablePaperTrail(): Operations\EnablePaperTrailResponse
|
||||
{
|
||||
$baseUrl = Utils\Utils::templateUrl($this->sdkConfiguration->getServerUrl(), $this->sdkConfiguration->getServerDefaults());
|
||||
$url = Utils\Utils::generateUrl($baseUrl, '/log/networked');
|
||||
$options = ['http_errors' => false];
|
||||
|
||||
@@ -8,8 +8,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace LukeHagar\Plex_API;
|
||||
|
||||
use JMS\Serializer\DeserializationContext;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
use Speakeasy\Serializer\DeserializationContext;
|
||||
|
||||
class Media
|
||||
{
|
||||
@@ -17,7 +17,7 @@ class Media
|
||||
/**
|
||||
* @param SDKConfiguration $sdkConfig
|
||||
*/
|
||||
public function __construct(SDKConfiguration $sdkConfig)
|
||||
public function __construct(public SDKConfiguration $sdkConfig)
|
||||
{
|
||||
$this->sdkConfiguration = $sdkConfig;
|
||||
}
|
||||
@@ -31,9 +31,8 @@ class Media
|
||||
* @return Operations\MarkPlayedResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function markPlayed(
|
||||
float $key,
|
||||
): Operations\MarkPlayedResponse {
|
||||
public function markPlayed(float $key): Operations\MarkPlayedResponse
|
||||
{
|
||||
$request = new Operations\MarkPlayedRequest(
|
||||
key: $key,
|
||||
);
|
||||
@@ -90,9 +89,8 @@ class Media
|
||||
* @return Operations\MarkUnplayedResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function markUnplayed(
|
||||
float $key,
|
||||
): Operations\MarkUnplayedResponse {
|
||||
public function markUnplayed(float $key): Operations\MarkUnplayedResponse
|
||||
{
|
||||
$request = new Operations\MarkUnplayedRequest(
|
||||
key: $key,
|
||||
);
|
||||
@@ -152,11 +150,8 @@ class Media
|
||||
* @return Operations\UpdatePlayProgressResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function updatePlayProgress(
|
||||
string $key,
|
||||
float $time,
|
||||
string $state,
|
||||
): Operations\UpdatePlayProgressResponse {
|
||||
public function updatePlayProgress(string $key, float $time, string $state): Operations\UpdatePlayProgressResponse
|
||||
{
|
||||
$request = new Operations\UpdatePlayProgressRequest(
|
||||
key: $key,
|
||||
time: $time,
|
||||
@@ -215,9 +210,8 @@ class Media
|
||||
* @return Operations\GetBannerImageResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getBannerImage(
|
||||
?Operations\GetBannerImageRequest $request,
|
||||
): Operations\GetBannerImageResponse {
|
||||
public function getBannerImage(Operations\GetBannerImageRequest $request): Operations\GetBannerImageResponse
|
||||
{
|
||||
$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);
|
||||
$options = ['http_errors' => false];
|
||||
@@ -282,9 +276,8 @@ class Media
|
||||
* @return Operations\GetThumbImageResponse
|
||||
* @throws \LukeHagar\Plex_API\Models\Errors\SDKException
|
||||
*/
|
||||
public function getThumbImage(
|
||||
?Operations\GetThumbImageRequest $request,
|
||||
): Operations\GetThumbImageResponse {
|
||||
public function getThumbImage(Operations\GetThumbImageRequest $request): Operations\GetThumbImageResponse
|
||||
{
|
||||
$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);
|
||||
$options = ['http_errors' => false];
|
||||
|
||||
@@ -18,9 +18,9 @@ class AddPlaylistContentsBadRequest
|
||||
*
|
||||
* @var ?array<AddPlaylistContentsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class AddPlaylistContentsBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class AddPlaylistContentsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class AddPlaylistContentsPlaylistsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class AddPlaylistContentsUnauthorized
|
||||
*
|
||||
* @var ?array<AddPlaylistContentsPlaylistsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsPlaylistsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\AddPlaylistContentsPlaylistsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class AddPlaylistContentsUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class ApplyUpdatesBadRequest
|
||||
*
|
||||
* @var ?array<ApplyUpdatesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class ApplyUpdatesBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class ApplyUpdatesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class ApplyUpdatesUnauthorized
|
||||
*
|
||||
* @var ?array<ApplyUpdatesUpdaterErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesUpdaterErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ApplyUpdatesUpdaterErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class ApplyUpdatesUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class ApplyUpdatesUpdaterErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class CancelServerActivitiesActivitiesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class CancelServerActivitiesBadRequest
|
||||
*
|
||||
* @var ?array<CancelServerActivitiesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CancelServerActivitiesBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class CancelServerActivitiesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class CancelServerActivitiesUnauthorized
|
||||
*
|
||||
* @var ?array<CancelServerActivitiesActivitiesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesActivitiesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CancelServerActivitiesActivitiesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CancelServerActivitiesUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class CheckForUpdatesBadRequest
|
||||
*
|
||||
* @var ?array<CheckForUpdatesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CheckForUpdatesBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class CheckForUpdatesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class CheckForUpdatesUnauthorized
|
||||
*
|
||||
* @var ?array<CheckForUpdatesUpdaterErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesUpdaterErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CheckForUpdatesUpdaterErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CheckForUpdatesUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class CheckForUpdatesUpdaterErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class ClearPlaylistContentsBadRequest
|
||||
*
|
||||
* @var ?array<ClearPlaylistContentsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class ClearPlaylistContentsBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class ClearPlaylistContentsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class ClearPlaylistContentsPlaylistsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class ClearPlaylistContentsUnauthorized
|
||||
*
|
||||
* @var ?array<ClearPlaylistContentsPlaylistsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsPlaylistsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\ClearPlaylistContentsPlaylistsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class ClearPlaylistContentsUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class CreatePlaylistBadRequest
|
||||
*
|
||||
* @var ?array<CreatePlaylistErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CreatePlaylistBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class CreatePlaylistErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class CreatePlaylistPlaylistsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class CreatePlaylistUnauthorized
|
||||
*
|
||||
* @var ?array<CreatePlaylistPlaylistsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistPlaylistsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\CreatePlaylistPlaylistsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class CreatePlaylistUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class DeleteLibraryBadRequest
|
||||
*
|
||||
* @var ?array<DeleteLibraryErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class DeleteLibraryBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class DeleteLibraryErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class DeleteLibraryLibraryErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class DeleteLibraryUnauthorized
|
||||
*
|
||||
* @var ?array<DeleteLibraryLibraryErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryLibraryErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeleteLibraryLibraryErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class DeleteLibraryUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class DeletePlaylistBadRequest
|
||||
*
|
||||
* @var ?array<DeletePlaylistErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class DeletePlaylistBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class DeletePlaylistErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class DeletePlaylistPlaylistsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class DeletePlaylistUnauthorized
|
||||
*
|
||||
* @var ?array<DeletePlaylistPlaylistsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistPlaylistsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\DeletePlaylistPlaylistsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class DeletePlaylistUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class EnablePaperTrailBadRequest
|
||||
*
|
||||
* @var ?array<EnablePaperTrailErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class EnablePaperTrailBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class EnablePaperTrailErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class EnablePaperTrailLogErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class EnablePaperTrailUnauthorized
|
||||
*
|
||||
* @var ?array<EnablePaperTrailLogErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailLogErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\EnablePaperTrailLogErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class EnablePaperTrailUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class Errors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetAllLibrariesBadRequest
|
||||
*
|
||||
* @var ?array<GetAllLibrariesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetAllLibrariesBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetAllLibrariesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetAllLibrariesLibraryErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetAllLibrariesUnauthorized
|
||||
*
|
||||
* @var ?array<GetAllLibrariesLibraryErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesLibraryErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAllLibrariesLibraryErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetAllLibrariesUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetAvailableClientsBadRequest
|
||||
*
|
||||
* @var ?array<GetAvailableClientsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetAvailableClientsBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetAvailableClientsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetAvailableClientsServerErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetAvailableClientsUnauthorized
|
||||
*
|
||||
* @var ?array<GetAvailableClientsServerErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsServerErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetAvailableClientsServerErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetAvailableClientsUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetBandwidthStatisticsBadRequest
|
||||
*
|
||||
* @var ?array<GetBandwidthStatisticsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetBandwidthStatisticsBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetBandwidthStatisticsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetBandwidthStatisticsStatisticsErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetBandwidthStatisticsUnauthorized
|
||||
*
|
||||
* @var ?array<GetBandwidthStatisticsStatisticsErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsStatisticsErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBandwidthStatisticsStatisticsErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetBandwidthStatisticsUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetBannerImageBadRequest
|
||||
*
|
||||
* @var ?array<GetBannerImageErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetBannerImageBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetBannerImageErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetBannerImageMediaErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetBannerImageUnauthorized
|
||||
*
|
||||
* @var ?array<GetBannerImageMediaErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageMediaErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetBannerImageMediaErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetBannerImageUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetButlerTasksBadRequest
|
||||
*
|
||||
* @var ?array<GetButlerTasksErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetButlerTasksBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetButlerTasksButlerErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetButlerTasksErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetButlerTasksUnauthorized
|
||||
*
|
||||
* @var ?array<GetButlerTasksButlerErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksButlerErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetButlerTasksButlerErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetButlerTasksUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetCompanionsDataBadRequest
|
||||
*
|
||||
* @var ?array<GetCompanionsDataErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetCompanionsDataBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetCompanionsDataErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetCompanionsDataPlexErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetCompanionsDataUnauthorized
|
||||
*
|
||||
* @var ?array<GetCompanionsDataPlexErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataPlexErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetCompanionsDataPlexErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetCompanionsDataUnauthorized
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ class GetDevicesBadRequest
|
||||
*
|
||||
* @var ?array<GetDevicesErrors> $errors
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\JMS\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetDevicesErrors>|null')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('errors')]
|
||||
#[\Speakeasy\Serializer\Annotation\Type('array<\LukeHagar\Plex_API\Models\Errors\GetDevicesErrors>|null')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?array $errors = null;
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ class GetDevicesBadRequest
|
||||
*
|
||||
* @var ?\Psr\Http\Message\ResponseInterface $rawResponse
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\Exclude]
|
||||
#[\Speakeasy\Serializer\Annotation\Exclude]
|
||||
|
||||
public ?\Psr\Http\Message\ResponseInterface $rawResponse = null;
|
||||
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetDevicesErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,24 +15,24 @@ class GetDevicesServerErrors
|
||||
*
|
||||
* @var ?int $code
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('code')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('code')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $code = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?string $message
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('message')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('message')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?string $message = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var ?int $status
|
||||
*/
|
||||
#[\JMS\Serializer\Annotation\SerializedName('status')]
|
||||
#[\JMS\Serializer\Annotation\SkipWhenNull]
|
||||
#[\Speakeasy\Serializer\Annotation\SerializedName('status')]
|
||||
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
|
||||
public ?int $status = null;
|
||||
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user