ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2

This commit is contained in:
speakeasybot
2025-01-25 00:12:04 +00:00
parent 24ee36b8f7
commit 5e259248cd
30 changed files with 1062 additions and 813 deletions

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
php:
version: 0.12.1
version: 0.12.3
additionalDependencies:
autoload: {}
autoload-dev: {}

View File

@@ -9,19 +9,19 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:28e2213b78ff9c789846a4a0b7ab9fb219079a1699d44b22d28474efc4f48eac
sourceBlobDigest: sha256:fa76c39de0ff801844dd56a76c26ab6ca88695fc9b42bb9ff9a8aab5b2b21277
sourceRevisionDigest: sha256:b146684d2d813daa8ba29e432a12334838753d0b20183beca8178a74ec4d895a
sourceBlobDigest: sha256:58f51c4319fcda931d63950fd926e8650e20a2e1375e356bf3a930111e246a58
tags:
- latest
- speakeasy-sdk-regen-1734912607
- speakeasy-sdk-regen-1737763784
targets:
plexphp:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:28e2213b78ff9c789846a4a0b7ab9fb219079a1699d44b22d28474efc4f48eac
sourceBlobDigest: sha256:fa76c39de0ff801844dd56a76c26ab6ca88695fc9b42bb9ff9a8aab5b2b21277
sourceRevisionDigest: sha256:b146684d2d813daa8ba29e432a12334838753d0b20183beca8178a74ec4d895a
sourceBlobDigest: sha256:58f51c4319fcda931d63950fd926e8650e20a2e1375e356bf3a930111e246a58
codeSamplesNamespace: code-samples-php-plexphp
codeSamplesRevisionDigest: sha256:d66544dc09355764bc85a26226e281fd0c456ce018966e737b99de0e9409e653
codeSamplesRevisionDigest: sha256:97d4afca391cfb5ec555147109fab7b7e79bcb68a58be3e0ef161fa1527baae9
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -47,6 +47,7 @@ The following SDKs are generated from the OpenAPI Specification. They are automa
* [SDKs](#sdks)
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Authentication](#authentication)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
@@ -95,6 +96,43 @@ if ($response->object !== null) {
```
<!-- End SDK Example Usage [usage] -->
<!-- Start Authentication [security] -->
## Authentication
### Per-Client Security Schemes
This SDK supports the following security scheme globally:
| Name | Type | Scheme |
| ------------- | ------ | ------- |
| `accessToken` | apiKey | API key |
To authenticate with the API the `accessToken` parameter must be set when initializing the SDK. For example:
```php
declare(strict_types=1);
require 'vendor/autoload.php';
use LukeHagar\Plex_API;
$sdk = Plex_API\PlexAPI::builder()
->setSecurity(
'<YOUR_API_KEY_HERE>'
)
->build();
$response = $sdk->server->getMediaProviders(
xPlexToken: 'CV5xoxjTpFKUzBTShsaf'
);
if ($response->object !== null) {
// handle response
}
```
<!-- End Authentication [security] -->
<!-- Start Available Resources and Operations [operations] -->
## Available Resources and Operations

View File

@@ -732,4 +732,14 @@ Based on:
### Generated
- [php v0.12.1] .
### Releases
- [Composer v0.12.1] https://packagist.org/packages/lukehagar/plex-api#v0.12.1 - .
- [Composer v0.12.1] https://packagist.org/packages/lukehagar/plex-api#v0.12.1 - .
## 2025-01-25 00:09:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.459.2 (2.483.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v0.12.3] .
### Releases
- [Composer v0.12.3] https://packagist.org/packages/lukehagar/plex-api#v0.12.3 - .

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -24,7 +24,9 @@
| `year` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `seasonCount` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `tagline` | *?string* | :heavy_minus_sign: | N/A | Return to Pandora. |
| `flattenSeasons` | [?Operations\GetLibraryItemsFlattenSeasons](../../Models/Operations/GetLibraryItemsFlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 |
| `flattenSeasons` | [?Operations\GetLibraryItemsFlattenSeasons](../../Models/Operations/GetLibraryItemsFlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\GetLibraryItemsEpisodeSort](../../Models/Operations/GetLibraryItemsEpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\GetLibraryItemsEnableCreditsMarkerGeneration](../../Models/Operations/GetLibraryItemsEnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\GetLibraryItemsShowOrdering](../../Models/Operations/GetLibraryItemsShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>tvdbAiring = TheTVDB (Aired),<br/>tvdbDvd = TheTVDB (DVD),<br/>tvdbAbsolute = TheTVDB (Absolute)).<br/> | tvdbDvd |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 |

View File

@@ -24,7 +24,9 @@
| `year` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `seasonCount` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `tagline` | *?string* | :heavy_minus_sign: | N/A | Return to Pandora. |
| `flattenSeasons` | [?Operations\FlattenSeasons](../../Models/Operations/FlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 |
| `flattenSeasons` | [?Operations\FlattenSeasons](../../Models/Operations/FlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\EpisodeSort](../../Models/Operations/EpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\EnableCreditsMarkerGeneration](../../Models/Operations/EnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\ShowOrdering](../../Models/Operations/ShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>tvdbAiring = TheTVDB (Aired),<br/>tvdbDvd = TheTVDB (DVD),<br/>tvdbAbsolute = TheTVDB (Absolute)).<br/> | tvdbDvd |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 |

View File

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

View File

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

View File

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

View File

@@ -24,7 +24,9 @@
| `year` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `seasonCount` | *?int* | :heavy_minus_sign: | N/A | 2022 |
| `tagline` | *?string* | :heavy_minus_sign: | N/A | Return to Pandora. |
| `flattenSeasons` | [?Operations\GetSearchAllLibrariesFlattenSeasons](../../Models/Operations/GetSearchAllLibrariesFlattenSeasons.md) | :heavy_minus_sign: | N/A | 1 |
| `flattenSeasons` | [?Operations\GetSearchAllLibrariesFlattenSeasons](../../Models/Operations/GetSearchAllLibrariesFlattenSeasons.md) | :heavy_minus_sign: | Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). | 1 |
| `episodeSort` | [?Operations\GetSearchAllLibrariesEpisodeSort](../../Models/Operations/GetSearchAllLibrariesEpisodeSort.md) | :heavy_minus_sign: | Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first). | 0 |
| `enableCreditsMarkerGeneration` | [?Operations\GetSearchAllLibrariesEnableCreditsMarkerGeneration](../../Models/Operations/GetSearchAllLibrariesEnableCreditsMarkerGeneration.md) | :heavy_minus_sign: | Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled). | -1 |
| `showOrdering` | [?Operations\GetSearchAllLibrariesShowOrdering](../../Models/Operations/GetSearchAllLibrariesShowOrdering.md) | :heavy_minus_sign: | Setting that indicates the episode ordering for the show<br/>None = Library default,<br/>tmdbAiring = The Movie Database (Aired),<br/>tvdbAiring = TheTVDB (Aired),<br/>tvdbDvd = TheTVDB (DVD),<br/>tvdbAbsolute = TheTVDB (Absolute)).<br/> | tvdbDvd |
| `thumb` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/thumb/1703239236 |
| `art` | *?string* | :heavy_minus_sign: | N/A | /library/metadata/58683/art/1703239236 |

View File

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

View File

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

View File

@@ -9,8 +9,10 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). */
enum FlattenSeasons: string
{
case False = '0';
case True = '1';
case LibraryDefault = '-1';
case Hide = '0';
case Show = '1';
}

View File

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

View File

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

View File

@@ -9,8 +9,10 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). */
enum GetLibraryItemsFlattenSeasons: string
{
case False = '0';
case True = '1';
case LibraryDefault = '-1';
case Hide = '0';
case Show = '1';
}

View File

@@ -165,6 +165,36 @@ class GetLibraryItemsMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tagline = null;
/**
* Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
*
* @var ?GetLibraryItemsFlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsFlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsFlattenSeasons $flattenSeasons = null;
/**
* Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
*
* @var ?GetLibraryItemsEpisodeSort $episodeSort
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('episodeSort')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsEpisodeSort|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsEpisodeSort $episodeSort = null;
/**
* Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
*
* @var ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('enableCreditsMarkerGeneration')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsEnableCreditsMarkerGeneration|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null;
/**
* Setting that indicates the episode ordering for the show
*
@@ -637,15 +667,6 @@ class GetLibraryItemsMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentTheme = null;
/**
*
* @var ?GetLibraryItemsFlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetLibraryItemsFlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetLibraryItemsFlattenSeasons $flattenSeasons = null;
/**
* @param string $ratingKey
* @param string $key
@@ -667,6 +688,8 @@ class GetLibraryItemsMetadata
* @param ?int $seasonCount
* @param ?string $tagline
* @param ?GetLibraryItemsFlattenSeasons $flattenSeasons
* @param ?GetLibraryItemsEpisodeSort $episodeSort
* @param ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @param ?GetLibraryItemsShowOrdering $showOrdering
* @param ?string $thumb
* @param ?string $art
@@ -722,7 +745,7 @@ class GetLibraryItemsMetadata
* @param ?string $parentThumb
* @param ?string $parentTheme
*/
public function __construct(string $ratingKey, string $key, string $guid, GetLibraryItemsLibraryType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?GetLibraryItemsShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetLibraryItemsUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null, ?GetLibraryItemsFlattenSeasons $flattenSeasons = GetLibraryItemsFlattenSeasons::False)
public function __construct(string $ratingKey, string $key, string $guid, GetLibraryItemsLibraryType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?GetLibraryItemsFlattenSeasons $flattenSeasons = null, ?GetLibraryItemsEpisodeSort $episodeSort = null, ?GetLibraryItemsEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null, ?GetLibraryItemsShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetLibraryItemsUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null)
{
$this->ratingKey = $ratingKey;
$this->key = $key;
@@ -743,6 +766,9 @@ class GetLibraryItemsMetadata
$this->year = $year;
$this->seasonCount = $seasonCount;
$this->tagline = $tagline;
$this->flattenSeasons = $flattenSeasons;
$this->episodeSort = $episodeSort;
$this->enableCreditsMarkerGeneration = $enableCreditsMarkerGeneration;
$this->showOrdering = $showOrdering;
$this->thumb = $thumb;
$this->art = $art;
@@ -797,6 +823,5 @@ class GetLibraryItemsMetadata
$this->parentYear = $parentYear;
$this->parentThumb = $parentThumb;
$this->parentTheme = $parentTheme;
$this->flattenSeasons = $flattenSeasons;
}
}

View File

@@ -165,6 +165,36 @@ class GetRecentlyAddedMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tagline = null;
/**
* Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
*
* @var ?FlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\FlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?FlattenSeasons $flattenSeasons = null;
/**
* Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
*
* @var ?EpisodeSort $episodeSort
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('episodeSort')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\EpisodeSort|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?EpisodeSort $episodeSort = null;
/**
* Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
*
* @var ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('enableCreditsMarkerGeneration')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\EnableCreditsMarkerGeneration|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null;
/**
* Setting that indicates the episode ordering for the show
*
@@ -637,15 +667,6 @@ class GetRecentlyAddedMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentTheme = null;
/**
*
* @var ?FlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\FlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?FlattenSeasons $flattenSeasons = null;
/**
* @param string $ratingKey
* @param string $key
@@ -667,6 +688,8 @@ class GetRecentlyAddedMetadata
* @param ?int $seasonCount
* @param ?string $tagline
* @param ?FlattenSeasons $flattenSeasons
* @param ?EpisodeSort $episodeSort
* @param ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @param ?ShowOrdering $showOrdering
* @param ?string $thumb
* @param ?string $art
@@ -722,7 +745,7 @@ class GetRecentlyAddedMetadata
* @param ?string $parentThumb
* @param ?string $parentTheme
*/
public function __construct(string $ratingKey, string $key, string $guid, GetRecentlyAddedHubsType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?ShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?UltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null, ?FlattenSeasons $flattenSeasons = FlattenSeasons::False)
public function __construct(string $ratingKey, string $key, string $guid, GetRecentlyAddedHubsType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?FlattenSeasons $flattenSeasons = null, ?EpisodeSort $episodeSort = null, ?EnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null, ?ShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?UltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null)
{
$this->ratingKey = $ratingKey;
$this->key = $key;
@@ -743,6 +766,9 @@ class GetRecentlyAddedMetadata
$this->year = $year;
$this->seasonCount = $seasonCount;
$this->tagline = $tagline;
$this->flattenSeasons = $flattenSeasons;
$this->episodeSort = $episodeSort;
$this->enableCreditsMarkerGeneration = $enableCreditsMarkerGeneration;
$this->showOrdering = $showOrdering;
$this->thumb = $thumb;
$this->art = $art;
@@ -797,6 +823,5 @@ class GetRecentlyAddedMetadata
$this->parentYear = $parentYear;
$this->parentThumb = $parentThumb;
$this->parentTheme = $parentTheme;
$this->flattenSeasons = $flattenSeasons;
}
}

View File

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

View File

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

View File

@@ -9,8 +9,10 @@ declare(strict_types=1);
namespace LukeHagar\Plex_API\Models\Operations;
/** Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show). */
enum GetSearchAllLibrariesFlattenSeasons: string
{
case False = '0';
case True = '1';
case LibraryDefault = '-1';
case Hide = '0';
case Show = '1';
}

View File

@@ -165,6 +165,36 @@ class GetSearchAllLibrariesMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $tagline = null;
/**
* Setting that indicates if seasons are set to hidden for the show. (-1 = Library default, 0 = Hide, 1 = Show).
*
* @var ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetSearchAllLibrariesFlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons = null;
/**
* Setting that indicates how episodes are sorted for the show. (-1 = Library default, 0 = Oldest first, 1 = Newest first).
*
* @var ?GetSearchAllLibrariesEpisodeSort $episodeSort
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('episodeSort')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetSearchAllLibrariesEpisodeSort|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetSearchAllLibrariesEpisodeSort $episodeSort = null;
/**
* Setting that indicates if credits markers detection is enabled. (-1 = Library default, 0 = Disabled).
*
* @var ?GetSearchAllLibrariesEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('enableCreditsMarkerGeneration')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetSearchAllLibrariesEnableCreditsMarkerGeneration|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetSearchAllLibrariesEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null;
/**
* Setting that indicates the episode ordering for the show
*
@@ -637,15 +667,6 @@ class GetSearchAllLibrariesMetadata
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?string $parentTheme = null;
/**
*
* @var ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons
*/
#[\Speakeasy\Serializer\Annotation\SerializedName('flattenSeasons')]
#[\Speakeasy\Serializer\Annotation\Type('\LukeHagar\Plex_API\Models\Operations\GetSearchAllLibrariesFlattenSeasons|null')]
#[\Speakeasy\Serializer\Annotation\SkipWhenNull]
public ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons = null;
/**
* @param string $ratingKey
* @param string $key
@@ -667,6 +688,8 @@ class GetSearchAllLibrariesMetadata
* @param ?int $seasonCount
* @param ?string $tagline
* @param ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons
* @param ?GetSearchAllLibrariesEpisodeSort $episodeSort
* @param ?GetSearchAllLibrariesEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration
* @param ?GetSearchAllLibrariesShowOrdering $showOrdering
* @param ?string $thumb
* @param ?string $art
@@ -722,7 +745,7 @@ class GetSearchAllLibrariesMetadata
* @param ?string $parentThumb
* @param ?string $parentTheme
*/
public function __construct(string $ratingKey, string $key, string $guid, GetSearchAllLibrariesType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?GetSearchAllLibrariesShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetSearchAllLibrariesUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null, ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons = GetSearchAllLibrariesFlattenSeasons::False)
public function __construct(string $ratingKey, string $key, string $guid, GetSearchAllLibrariesType $type, string $title, string $summary, int $addedAt, ?string $studio = null, ?bool $skipChildren = null, ?int $librarySectionID = null, ?string $librarySectionTitle = null, ?string $librarySectionKey = null, ?string $slug = null, ?string $contentRating = null, ?float $rating = null, ?float $audienceRating = null, ?int $year = null, ?int $seasonCount = null, ?string $tagline = null, ?GetSearchAllLibrariesFlattenSeasons $flattenSeasons = null, ?GetSearchAllLibrariesEpisodeSort $episodeSort = null, ?GetSearchAllLibrariesEnableCreditsMarkerGeneration $enableCreditsMarkerGeneration = null, ?GetSearchAllLibrariesShowOrdering $showOrdering = null, ?string $thumb = null, ?string $art = null, ?string $banner = null, ?int $duration = null, ?LocalDate $originallyAvailableAt = null, ?int $updatedAt = null, ?string $audienceRatingImage = null, ?string $chapterSource = null, ?string $primaryExtraKey = null, ?string $ratingImage = null, ?string $grandparentRatingKey = null, ?string $grandparentGuid = null, ?string $grandparentKey = null, ?string $grandparentTitle = null, ?string $grandparentThumb = null, ?string $parentSlug = null, ?string $grandparentSlug = null, ?string $grandparentArt = null, ?string $grandparentTheme = null, ?array $media = null, ?array $genre = null, ?array $country = null, ?array $director = null, ?array $writer = null, ?array $collection = null, ?array $role = null, ?array $location = null, ?array $mediaGuid = null, ?GetSearchAllLibrariesUltraBlurColors $ultraBlurColors = null, ?array $metaDataRating = null, ?array $image = null, ?string $titleSort = null, ?int $viewCount = null, ?int $lastViewedAt = null, ?string $originalTitle = null, ?int $viewOffset = null, ?int $skipCount = null, ?int $index = null, ?string $theme = null, ?int $leafCount = null, ?int $viewedLeafCount = null, ?int $childCount = null, ?string $hasPremiumExtras = null, ?string $hasPremiumPrimaryExtra = null, ?string $parentRatingKey = null, ?string $parentGuid = null, ?string $parentStudio = null, ?string $parentKey = null, ?string $parentTitle = null, ?int $parentIndex = null, ?int $parentYear = null, ?string $parentThumb = null, ?string $parentTheme = null)
{
$this->ratingKey = $ratingKey;
$this->key = $key;
@@ -743,6 +766,9 @@ class GetSearchAllLibrariesMetadata
$this->year = $year;
$this->seasonCount = $seasonCount;
$this->tagline = $tagline;
$this->flattenSeasons = $flattenSeasons;
$this->episodeSort = $episodeSort;
$this->enableCreditsMarkerGeneration = $enableCreditsMarkerGeneration;
$this->showOrdering = $showOrdering;
$this->thumb = $thumb;
$this->art = $art;
@@ -797,6 +823,5 @@ class GetSearchAllLibrariesMetadata
$this->parentYear = $parentYear;
$this->parentThumb = $parentThumb;
$this->parentTheme = $parentTheme;
$this->flattenSeasons = $flattenSeasons;
}
}

View File

@@ -35,11 +35,11 @@ class SDKConfiguration
public string $openapiDocVersion = '0.0.3';
public string $sdkVersion = '0.12.1';
public string $sdkVersion = '0.12.3';
public string $genVersion = '2.483.1';
public string $userAgent = 'speakeasy-sdk/php 0.12.1 2.483.1 0.0.3 lukehagar/plex-api';
public string $userAgent = 'speakeasy-sdk/php 0.12.3 2.483.1 0.0.3 lukehagar/plex-api';
public ?RetryConfig $retryConfig = null;