mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 20:47:45 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2
This commit is contained in:
@@ -5,8 +5,8 @@ management:
|
|||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.397.2
|
speakeasyVersion: 1.397.2
|
||||||
generationVersion: 2.415.8
|
generationVersion: 2.415.8
|
||||||
releaseVersion: 0.3.2
|
releaseVersion: 0.3.3
|
||||||
configChecksum: 948a0b278135b05b4e94954d9146736e
|
configChecksum: a6378b080b9448e1abe66db14fe24490
|
||||||
repoURL: https://github.com/LukeHagar/plexjava.git
|
repoURL: https://github.com/LukeHagar/plexjava.git
|
||||||
published: true
|
published: true
|
||||||
features:
|
features:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: true
|
oAuth2ClientCredentialsEnabled: true
|
||||||
java:
|
java:
|
||||||
version: 0.3.2
|
version: 0.3.3
|
||||||
additionalDependencies: []
|
additionalDependencies: []
|
||||||
additionalPlugins: []
|
additionalPlugins: []
|
||||||
artifactID: plexapi
|
artifactID: plexapi
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
speakeasyVersion: 1.392.1
|
speakeasyVersion: 1.397.2
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
my-source:
|
||||||
sourceNamespace: my-source
|
sourceNamespace: my-source
|
||||||
@@ -6,26 +6,32 @@ sources:
|
|||||||
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
plexapi:
|
||||||
|
sourceNamespace: plexapi
|
||||||
|
sourceRevisionDigest: sha256:533fe97486e3fe2d84e890b7bbcdba4543d415e45181386154e011861f6da36f
|
||||||
|
sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- main
|
||||||
targets:
|
targets:
|
||||||
plexjava:
|
plexjava:
|
||||||
source: my-source
|
source: plexapi
|
||||||
sourceNamespace: my-source
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
|
sourceRevisionDigest: sha256:533fe97486e3fe2d84e890b7bbcdba4543d415e45181386154e011861f6da36f
|
||||||
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
|
sourceBlobDigest: sha256:f7e2709f52370dff16c1851a7a4e44a89f2e978e9cae335bffc10625950b3bd9
|
||||||
codeSamplesNamespace: code-samples-java-plexjava
|
codeSamplesNamespace: code-samples-java-plexjava
|
||||||
codeSamplesRevisionDigest: sha256:433262f0bd16ad4072c5c38628e30fd0ee2dcfbdb3547262f0f4d328a6960ede
|
codeSamplesRevisionDigest: sha256:14636d40633d1bfe4265214260f6ed238d889442576562ffc77adf3081337013
|
||||||
outLocation: /home/luke/github/plexjava
|
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
plexapi:
|
||||||
inputs:
|
inputs:
|
||||||
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
|
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
|
||||||
targets:
|
targets:
|
||||||
plexjava:
|
plexjava:
|
||||||
target: java
|
target: java
|
||||||
source: my-source
|
source: plexapi
|
||||||
publish:
|
publish:
|
||||||
java:
|
java:
|
||||||
ossrhUsername: J4dlHj0l
|
ossrhUsername: J4dlHj0l
|
||||||
@@ -35,4 +41,4 @@ workflow:
|
|||||||
codeSamples:
|
codeSamples:
|
||||||
output: codeSamples.yaml
|
output: codeSamples.yaml
|
||||||
registry:
|
registry:
|
||||||
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava
|
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-java-plexjava
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ The samples below show how a published SDK artifact is used:
|
|||||||
|
|
||||||
Gradle:
|
Gradle:
|
||||||
```groovy
|
```groovy
|
||||||
implementation 'dev.plexapi:plexapi:0.3.2'
|
implementation 'dev.plexapi:plexapi:0.3.3'
|
||||||
```
|
```
|
||||||
|
|
||||||
Maven:
|
Maven:
|
||||||
@@ -45,7 +45,7 @@ Maven:
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.plexapi</groupId>
|
<groupId>dev.plexapi</groupId>
|
||||||
<artifactId>plexapi</artifactId>
|
<artifactId>plexapi</artifactId>
|
||||||
<version>0.3.2</version>
|
<version>0.3.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -29,3 +29,13 @@ Based on:
|
|||||||
- [java v0.3.2] .
|
- [java v0.3.2] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Maven Central v0.3.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.2 - .
|
- [Maven Central v0.3.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.2 - .
|
||||||
|
|
||||||
|
## 2024-09-16 18:54:58
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [java v0.3.3] .
|
||||||
|
### Releases
|
||||||
|
- [Maven Central v0.3.3] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.3 - .
|
||||||
@@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.plexapi"
|
group = "dev.plexapi"
|
||||||
version = "0.3.2"
|
version = "0.3.3"
|
||||||
|
|
||||||
sourcesJar {
|
sourcesJar {
|
||||||
archiveBaseName = "plexapi"
|
archiveBaseName = "plexapi"
|
||||||
@@ -101,7 +101,7 @@ publishing {
|
|||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
groupId = 'dev.plexapi'
|
groupId = 'dev.plexapi'
|
||||||
artifactId = 'plexapi'
|
artifactId = 'plexapi'
|
||||||
version = '0.3.2'
|
version = '0.3.3'
|
||||||
|
|
||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
|
|||||||
384
codeSamples.yaml
384
codeSamples.yaml
@@ -31,7 +31,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerCapabilitiesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetServerCapabilitiesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -72,7 +75,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerPreferencesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerPreferencesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetServerPreferencesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -114,7 +120,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.UpdatePlayProgressResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.UpdatePlayProgressBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.UpdatePlayProgressUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -154,7 +163,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.MarkPlayedResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.MarkPlayedBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.MarkPlayedUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -209,7 +221,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTimelineResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTimelineBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetTimelineUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -249,7 +264,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.MarkUnplayedResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.MarkUnplayedBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.MarkUnplayedUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -290,7 +308,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerActivitiesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerActivitiesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetServerActivitiesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -330,7 +351,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.CancelServerActivitiesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.CancelServerActivitiesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.CancelServerActivitiesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -369,7 +393,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StopAllTasksResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StopAllTasksBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StopAllTasksUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -410,7 +437,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetButlerTasksResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetButlerTasksBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetButlerTasksUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -449,7 +479,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StartAllTasksResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StartAllTasksBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StartAllTasksUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -490,7 +523,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StopTaskResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StopTaskBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StopTaskUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -531,7 +567,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StartTaskResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StartTaskBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StartTaskUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -572,7 +611,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetAvailableClientsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetAvailableClientsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetAvailableClientsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -613,7 +655,10 @@ actions:
|
|||||||
if (res.responseBodies().isPresent()) {
|
if (res.responseBodies().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetCompanionsDataResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetCompanionsDataBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetCompanionsDataUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -654,7 +699,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetDevicesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetDevicesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetDevicesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -695,7 +743,10 @@ actions:
|
|||||||
if (res.friends().isPresent()) {
|
if (res.friends().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetUserFriendsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetUserFriendsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetUserFriendsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -735,7 +786,10 @@ actions:
|
|||||||
if (res.geoData().isPresent()) {
|
if (res.geoData().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetGeoDataResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetGeoDataBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetGeoDataUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -776,7 +830,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetHomeDataResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetHomeDataBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetHomeDataUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -820,7 +877,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetGlobalHubsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetGlobalHubsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetGlobalHubsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -862,7 +922,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.PerformSearchResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.PerformSearchBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.PerformSearchUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -904,7 +967,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.PerformVoiceSearchResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.PerformVoiceSearchBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.PerformVoiceSearchUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -949,7 +1015,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetLibraryHubsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryHubsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryHubsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -989,7 +1058,7 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerIdentityResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerIdentityRequestTimeout e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1033,7 +1102,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTopWatchedContentResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTopWatchedContentBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetTopWatchedContentUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1074,7 +1146,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetFileHashResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetFileHashBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetFileHashUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1116,7 +1191,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetMetaDataByRatingKeyResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetMetaDataByRatingKeyBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetMetaDataByRatingKeyUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1168,7 +1246,10 @@ actions:
|
|||||||
if (res.responseStream().isPresent()) {
|
if (res.responseStream().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetBannerImageResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetBannerImageBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetBannerImageUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1211,7 +1292,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetMetadataChildrenResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetMetadataChildrenBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetMetadataChildrenUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1263,7 +1347,10 @@ actions:
|
|||||||
if (res.responseStream().isPresent()) {
|
if (res.responseStream().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetThumbImageResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetThumbImageBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetThumbImageUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1304,7 +1391,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetOnDeckResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetOnDeckBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetOnDeckUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1347,7 +1437,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetRecentlyAddedResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetRecentlyAddedBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetRecentlyAddedUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1388,7 +1481,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetAllLibrariesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetAllLibrariesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetAllLibrariesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1439,7 +1535,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetWatchListResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetWatchListBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetWatchListUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1479,7 +1578,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.DeleteLibraryResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.DeleteLibraryBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.DeleteLibraryUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1523,7 +1625,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetLibraryDetailsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryDetailsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryDetailsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1565,7 +1670,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetRefreshLibraryMetadataResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetRefreshLibraryMetadataBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetRefreshLibraryMetadataUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1609,7 +1717,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetSearchLibraryResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetSearchLibraryBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetSearchLibraryUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1666,7 +1777,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetLibraryItemsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryItemsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetLibraryItemsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1709,7 +1823,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.LogLineResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.LogLineBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.LogLineUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1753,7 +1870,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.LogMultiLineResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.LogMultiLineBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.LogMultiLineUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1792,7 +1912,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.EnablePaperTrailResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.EnablePaperTrailBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.EnablePaperTrailUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1834,7 +1957,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetMediaProvidersResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetMediaProvidersBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetMediaProvidersUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1875,7 +2001,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetMyPlexAccountResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetMyPlexAccountBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetMyPlexAccountUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1916,7 +2045,7 @@ actions:
|
|||||||
GetResizedPhotoRequest req = GetResizedPhotoRequest.builder()
|
GetResizedPhotoRequest req = GetResizedPhotoRequest.builder()
|
||||||
.width(110d)
|
.width(110d)
|
||||||
.height(165d)
|
.height(165d)
|
||||||
.opacity(643869L)
|
.opacity(100L)
|
||||||
.blur(4000d)
|
.blur(4000d)
|
||||||
.minSize(MinSize.ZERO)
|
.minSize(MinSize.ZERO)
|
||||||
.upscale(Upscale.ZERO)
|
.upscale(Upscale.ZERO)
|
||||||
@@ -1928,7 +2057,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetResizedPhotoResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetResizedPhotoBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetResizedPhotoUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -1971,7 +2103,7 @@ actions:
|
|||||||
if (res.authPinContainer().isPresent()) {
|
if (res.authPinContainer().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetPinResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetPinBadRequest e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2013,10 +2145,10 @@ actions:
|
|||||||
if (res.authPinContainer().isPresent()) {
|
if (res.authPinContainer().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTokenByPinIdResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTokenByPinIdBadRequest e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTokenByPinIdPlexResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTokenByPinIdResponseBody e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2061,7 +2193,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2103,7 +2238,7 @@ actions:
|
|||||||
.title("<value>")
|
.title("<value>")
|
||||||
.type(CreatePlaylistQueryParamType.PHOTO)
|
.type(CreatePlaylistQueryParamType.PHOTO)
|
||||||
.smart(Smart.ONE)
|
.smart(Smart.ONE)
|
||||||
.uri("<value>")
|
.uri("https://inborn-brochure.biz")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
CreatePlaylistResponse res = sdk.playlists().createPlaylist()
|
CreatePlaylistResponse res = sdk.playlists().createPlaylist()
|
||||||
@@ -2113,7 +2248,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.CreatePlaylistResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.CreatePlaylistBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.CreatePlaylistUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2155,7 +2293,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.UploadPlaylistResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.UploadPlaylistBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.UploadPlaylistUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2195,7 +2336,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.DeletePlaylistResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.DeletePlaylistBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.DeletePlaylistUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2237,7 +2381,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2279,7 +2426,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.UpdatePlaylistResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.UpdatePlaylistBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.UpdatePlaylistUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2319,7 +2469,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.ClearPlaylistContentsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.ClearPlaylistContentsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.ClearPlaylistContentsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2363,7 +2516,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistContentsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistContentsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetPlaylistContentsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2407,7 +2563,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.AddPlaylistContentsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.AddPlaylistContentsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.AddPlaylistContentsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2430,7 +2589,6 @@ actions:
|
|||||||
|
|
||||||
import dev.plexapi.plexapi.PlexAPI;
|
import dev.plexapi.plexapi.PlexAPI;
|
||||||
import dev.plexapi.plexapi.models.errors.SDKError;
|
import dev.plexapi.plexapi.models.errors.SDKError;
|
||||||
import dev.plexapi.plexapi.models.operations.GetServerResourcesRequest;
|
|
||||||
import dev.plexapi.plexapi.models.operations.GetServerResourcesResponse;
|
import dev.plexapi.plexapi.models.operations.GetServerResourcesResponse;
|
||||||
import dev.plexapi.plexapi.models.operations.IncludeHttps;
|
import dev.plexapi.plexapi.models.operations.IncludeHttps;
|
||||||
import dev.plexapi.plexapi.models.operations.IncludeIPv6;
|
import dev.plexapi.plexapi.models.operations.IncludeIPv6;
|
||||||
@@ -2446,21 +2604,20 @@ actions:
|
|||||||
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
|
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
GetServerResourcesRequest req = GetServerResourcesRequest.builder()
|
GetServerResourcesResponse res = sdk.plex().getServerResources()
|
||||||
.xPlexToken("CV5xoxjTpFKUzBTShsaf")
|
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
|
||||||
.includeHttps(IncludeHttps.ONE)
|
.includeHttps(IncludeHttps.ONE)
|
||||||
.includeRelay(IncludeRelay.ONE)
|
.includeRelay(IncludeRelay.ONE)
|
||||||
.includeIPv6(IncludeIPv6.ONE)
|
.includeIPv6(IncludeIPv6.ONE)
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerResourcesResponse res = sdk.plex().getServerResources()
|
|
||||||
.request(req)
|
|
||||||
.call();
|
.call();
|
||||||
|
|
||||||
if (res.plexDevices().isPresent()) {
|
if (res.plexDevices().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerResourcesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerResourcesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetServerResourcesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2502,7 +2659,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetSearchResultsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetSearchResultsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetSearchResultsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2542,7 +2702,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetSourceConnectionInformationResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetSourceConnectionInformationBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetSourceConnectionInformationUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2585,7 +2748,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTransientTokenResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTransientTokenBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetTransientTokenUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2626,7 +2792,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetServerListResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetServerListBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetServerListUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2668,7 +2837,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetBandwidthStatisticsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetBandwidthStatisticsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetBandwidthStatisticsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2710,7 +2882,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetStatisticsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetStatisticsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetStatisticsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2752,7 +2927,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetResourcesStatisticsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetResourcesStatisticsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetResourcesStatisticsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2793,7 +2971,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetSessionsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetSessionsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetSessionsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2840,7 +3021,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetSessionHistoryResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetSessionHistoryBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetSessionHistoryUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2881,7 +3065,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetTranscodeSessionsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTranscodeSessionsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetTranscodeSessionsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2921,7 +3108,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StopTranscodeSessionResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StopTranscodeSessionBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StopTranscodeSessionUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -2964,7 +3154,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.ApplyUpdatesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.ApplyUpdatesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.ApplyUpdatesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -3005,7 +3198,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.CheckForUpdatesResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.CheckForUpdatesBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.CheckForUpdatesUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -3046,7 +3242,10 @@ actions:
|
|||||||
if (res.object().isPresent()) {
|
if (res.object().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetUpdateStatusResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetUpdateStatusBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetUpdateStatusUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -3063,13 +3262,13 @@ actions:
|
|||||||
update:
|
update:
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: java
|
- lang: java
|
||||||
label: getUserDetails
|
label: getTokenDetails
|
||||||
source: |-
|
source: |-
|
||||||
package hello.world;
|
package hello.world;
|
||||||
|
|
||||||
import dev.plexapi.plexapi.PlexAPI;
|
import dev.plexapi.plexapi.PlexAPI;
|
||||||
import dev.plexapi.plexapi.models.errors.SDKError;
|
import dev.plexapi.plexapi.models.errors.SDKError;
|
||||||
import dev.plexapi.plexapi.models.operations.GetUserDetailsResponse;
|
import dev.plexapi.plexapi.models.operations.GetTokenDetailsResponse;
|
||||||
import java.lang.Exception;
|
import java.lang.Exception;
|
||||||
|
|
||||||
public class Application {
|
public class Application {
|
||||||
@@ -3081,14 +3280,16 @@ actions:
|
|||||||
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
|
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
GetUserDetailsResponse res = sdk.authentication().getUserDetails()
|
GetTokenDetailsResponse res = sdk.authentication().getTokenDetails()
|
||||||
.xPlexToken("CV5xoxjTpFKUzBTShsaf")
|
|
||||||
.call();
|
.call();
|
||||||
|
|
||||||
if (res.userPlexAccount().isPresent()) {
|
if (res.userPlexAccount().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.GetUserDetailsResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.GetTokenDetailsBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.GetTokenDetailsUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -3128,13 +3329,17 @@ actions:
|
|||||||
.requestBody(PostUsersSignInDataRequestBody.builder()
|
.requestBody(PostUsersSignInDataRequestBody.builder()
|
||||||
.login("username@email.com")
|
.login("username@email.com")
|
||||||
.password("password123")
|
.password("password123")
|
||||||
|
.verificationCode("123456")
|
||||||
.build())
|
.build())
|
||||||
.call();
|
.call();
|
||||||
|
|
||||||
if (res.userPlexAccount().isPresent()) {
|
if (res.userPlexAccount().isPresent()) {
|
||||||
// handle response
|
// handle response
|
||||||
}
|
}
|
||||||
} catch (dev.plexapi.plexapi.models.errors.PostUsersSignInDataResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.PostUsersSignInDataBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.PostUsersSignInDataUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
@@ -3194,7 +3399,10 @@ actions:
|
|||||||
.call();
|
.call();
|
||||||
|
|
||||||
// handle response
|
// handle response
|
||||||
} catch (dev.plexapi.plexapi.models.errors.StartUniversalTranscodeResponseBody e) {
|
} catch (dev.plexapi.plexapi.models.errors.StartUniversalTranscodeBadRequest e) {
|
||||||
|
// handle exception
|
||||||
|
throw e;
|
||||||
|
} catch (dev.plexapi.plexapi.models.errors.StartUniversalTranscodeUnauthorized e) {
|
||||||
// handle exception
|
// handle exception
|
||||||
throw e;
|
throw e;
|
||||||
} catch (SDKError e) {
|
} catch (SDKError e) {
|
||||||
|
|||||||
@@ -36,9 +36,9 @@ class SDKConfiguration {
|
|||||||
} };
|
} };
|
||||||
public String language = "java";
|
public String language = "java";
|
||||||
public String openapiDocVersion = "0.0.3";
|
public String openapiDocVersion = "0.0.3";
|
||||||
public String sdkVersion = "0.3.2";
|
public String sdkVersion = "0.3.3";
|
||||||
public String genVersion = "2.415.8";
|
public String genVersion = "2.415.8";
|
||||||
public String userAgent = "speakeasy-sdk/java 0.3.2 2.415.8 0.0.3 dev.plexapi.sdk";
|
public String userAgent = "speakeasy-sdk/java 0.3.3 2.415.8 0.0.3 dev.plexapi.sdk";
|
||||||
|
|
||||||
private Hooks _hooks = createHooks();
|
private Hooks _hooks = createHooks();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user