mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-07 04:20:49 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.526.6
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/*
|
||||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
*/
|
||||
|
||||
package dev.plexapi.sdk;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
@@ -64,11 +63,12 @@ import java.lang.String;
|
||||
import java.net.http.HttpRequest;
|
||||
import java.net.http.HttpResponse;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.Optional;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Operations against the Plex Media Server System.
|
||||
*
|
||||
*/
|
||||
public class Server implements
|
||||
MethodCallGetServerCapabilities,
|
||||
@@ -90,7 +90,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Capabilities
|
||||
* Get Server Capabilities
|
||||
*
|
||||
* <p>Get Server Capabilities
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetServerCapabilitiesRequestBuilder getServerCapabilities() {
|
||||
@@ -99,7 +101,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Capabilities
|
||||
* Get Server Capabilities
|
||||
*
|
||||
* <p>Get Server Capabilities
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -123,6 +127,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getServerCapabilities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -134,6 +139,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerCapabilities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -143,6 +149,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getServerCapabilities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -152,6 +159,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerCapabilities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -245,7 +253,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Preferences
|
||||
* Get Server Preferences
|
||||
*
|
||||
* <p>Get Server Preferences
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetServerPreferencesRequestBuilder getServerPreferences() {
|
||||
@@ -254,7 +264,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Preferences
|
||||
* Get Server Preferences
|
||||
*
|
||||
* <p>Get Server Preferences
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -278,6 +290,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getServerPreferences",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -289,6 +302,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerPreferences",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -298,6 +312,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getServerPreferences",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -307,6 +322,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerPreferences",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -400,7 +416,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Available Clients
|
||||
* Get Available Clients
|
||||
*
|
||||
* <p>Get Available Clients
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetAvailableClientsRequestBuilder getAvailableClients() {
|
||||
@@ -409,7 +427,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Available Clients
|
||||
* Get Available Clients
|
||||
*
|
||||
* <p>Get Available Clients
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -433,6 +453,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getAvailableClients",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -444,6 +465,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getAvailableClients",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -453,6 +475,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getAvailableClients",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -462,6 +485,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getAvailableClients",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -555,7 +579,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Devices
|
||||
* Get Devices
|
||||
*
|
||||
* <p>Get Devices
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetDevicesRequestBuilder getDevices() {
|
||||
@@ -564,7 +590,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Devices
|
||||
* Get Devices
|
||||
*
|
||||
* <p>Get Devices
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -588,6 +616,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getDevices",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -599,6 +628,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getDevices",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -608,6 +638,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getDevices",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -617,6 +648,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getDevices",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -710,7 +742,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Identity
|
||||
* This request is useful to determine if the server is online or offline
|
||||
*
|
||||
* <p>This request is useful to determine if the server is online or offline
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetServerIdentityRequestBuilder getServerIdentity() {
|
||||
@@ -719,7 +753,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server Identity
|
||||
* This request is useful to determine if the server is online or offline
|
||||
*
|
||||
* <p>This request is useful to determine if the server is online or offline
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -740,6 +776,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"get-server-identity",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -751,6 +788,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-server-identity",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -760,6 +798,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"get-server-identity",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -769,6 +808,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-server-identity",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -846,7 +886,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get MyPlex Account
|
||||
* Returns MyPlex Account Information
|
||||
*
|
||||
* <p>Returns MyPlex Account Information
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetMyPlexAccountRequestBuilder getMyPlexAccount() {
|
||||
@@ -855,7 +897,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get MyPlex Account
|
||||
* Returns MyPlex Account Information
|
||||
*
|
||||
* <p>Returns MyPlex Account Information
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -879,6 +923,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getMyPlexAccount",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -890,6 +935,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getMyPlexAccount",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -899,6 +945,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getMyPlexAccount",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -908,6 +955,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getMyPlexAccount",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1001,7 +1049,8 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get a Resized Photo
|
||||
* Plex's Photo transcoder is used throughout the service to serve images at specified sizes.
|
||||
*
|
||||
* <p>Plex's Photo transcoder is used throughout the service to serve images at specified sizes.
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
@@ -1011,7 +1060,8 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get a Resized Photo
|
||||
* Plex's Photo transcoder is used throughout the service to serve images at specified sizes.
|
||||
*
|
||||
* <p>Plex's Photo transcoder is used throughout the service to serve images at specified sizes.
|
||||
*
|
||||
* @param request The request object containing all of the parameters for the API call.
|
||||
* @return The response from the API call
|
||||
@@ -1043,6 +1093,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getResizedPhoto",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1054,6 +1105,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getResizedPhoto",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1063,6 +1115,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getResizedPhoto",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1072,6 +1125,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getResizedPhoto",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1154,7 +1208,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Media Providers
|
||||
* Retrieves media providers and their features from the Plex server.
|
||||
*
|
||||
* <p>Retrieves media providers and their features from the Plex server.
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetMediaProvidersRequestBuilder getMediaProviders() {
|
||||
@@ -1163,7 +1219,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Media Providers
|
||||
* Retrieves media providers and their features from the Plex server.
|
||||
*
|
||||
* <p>Retrieves media providers and their features from the Plex server.
|
||||
*
|
||||
* @param xPlexToken An authentication token, obtained from plex.tv
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
@@ -1196,6 +1254,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"get-media-providers",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1207,6 +1266,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-media-providers",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1216,6 +1276,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"get-media-providers",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1225,6 +1286,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-media-providers",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1318,7 +1380,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server List
|
||||
* Get Server List
|
||||
*
|
||||
* <p>Get Server List
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetServerListRequestBuilder getServerList() {
|
||||
@@ -1327,7 +1391,9 @@ public class Server implements
|
||||
|
||||
/**
|
||||
* Get Server List
|
||||
* Get Server List
|
||||
*
|
||||
* <p>Get Server List
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -1351,6 +1417,7 @@ public class Server implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getServerList",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1362,6 +1429,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerList",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1371,6 +1439,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getServerList",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -1380,6 +1449,7 @@ public class Server implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerList",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
|
||||
Reference in New Issue
Block a user