ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5

This commit is contained in:
speakeasybot
2024-09-28 00:26:45 +00:00
parent fbca010d26
commit 10a61122c2
42 changed files with 6551 additions and 88 deletions

View File

@@ -375,6 +375,7 @@ package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetTokenByPinIdBadRequest;
import dev.plexapi.sdk.models.errors.GetTokenByPinIdResponseBody;
import dev.plexapi.sdk.models.operations.GetTokenByPinIdRequest;
import dev.plexapi.sdk.models.operations.GetTokenByPinIdResponse;
import java.lang.Exception;
@@ -390,8 +391,12 @@ public class Application {
.deviceName("Linux")
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
GetTokenByPinIdRequest req = GetTokenByPinIdRequest.builder()
.pinID(408895L)
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
.request(req)
.call();
if (res.authPinContainer().isPresent()) {
@@ -403,10 +408,10 @@ public class Application {
### Parameters
| Parameter | Type | Required | Description |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| `pinID` | *long* | :heavy_check_mark: | The PinID to retrieve an access token for |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. |
| Parameter | Type | Required | Description |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| `request` | [GetTokenByPinIdRequest](../../models/operations/GetTokenByPinIdRequest.md) | :heavy_check_mark: | The request object to use for the request. |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. |
### Response