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.555.2
This commit is contained in:
@@ -126,7 +126,7 @@ public class Playlists implements
|
||||
public CreatePlaylistResponse createPlaylist(
|
||||
CreatePlaylistRequest request) throws Exception {
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
_baseUrl,
|
||||
"/playlists");
|
||||
@@ -141,14 +141,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"createPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -161,6 +162,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"createPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -171,6 +173,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"createPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -181,6 +184,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"createPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -317,7 +321,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
_baseUrl,
|
||||
"/playlists");
|
||||
@@ -332,14 +336,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylists",
|
||||
Optional.of(List.of()),
|
||||
@@ -352,6 +357,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylists",
|
||||
Optional.of(List.of()),
|
||||
@@ -362,6 +368,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylists",
|
||||
Optional.of(List.of()),
|
||||
@@ -372,6 +379,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylists",
|
||||
Optional.of(List.of()),
|
||||
@@ -495,7 +503,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
GetPlaylistRequest.class,
|
||||
_baseUrl,
|
||||
@@ -507,14 +515,15 @@ public class Playlists implements
|
||||
.addHeader("user-agent",
|
||||
SDKConfiguration.USER_AGENT);
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -527,6 +536,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -537,6 +547,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -547,6 +558,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -668,7 +680,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
DeletePlaylistRequest.class,
|
||||
_baseUrl,
|
||||
@@ -680,14 +692,15 @@ public class Playlists implements
|
||||
.addHeader("user-agent",
|
||||
SDKConfiguration.USER_AGENT);
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"deletePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -700,6 +713,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"deletePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -710,6 +724,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"deletePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -720,6 +735,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"deletePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -850,7 +866,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
UpdatePlaylistRequest.class,
|
||||
_baseUrl,
|
||||
@@ -867,14 +883,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"updatePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -887,6 +904,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"updatePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -897,6 +915,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"updatePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -907,6 +926,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"updatePlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -1032,7 +1052,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
GetPlaylistContentsRequest.class,
|
||||
_baseUrl,
|
||||
@@ -1049,14 +1069,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1069,6 +1090,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1079,6 +1101,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1089,6 +1112,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"getPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1210,7 +1234,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
ClearPlaylistContentsRequest.class,
|
||||
_baseUrl,
|
||||
@@ -1222,14 +1246,15 @@ public class Playlists implements
|
||||
.addHeader("user-agent",
|
||||
SDKConfiguration.USER_AGENT);
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"clearPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1242,6 +1267,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"clearPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1252,6 +1278,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"clearPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1262,6 +1289,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"clearPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1397,7 +1425,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
AddPlaylistContentsRequest.class,
|
||||
_baseUrl,
|
||||
@@ -1414,14 +1442,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"addPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1434,6 +1463,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"addPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1444,6 +1474,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"addPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1454,6 +1485,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"addPlaylistContents",
|
||||
Optional.of(List.of()),
|
||||
@@ -1591,7 +1623,7 @@ public class Playlists implements
|
||||
.build();
|
||||
|
||||
String _baseUrl = Utils.templateUrl(
|
||||
this.sdkConfiguration.serverUrl, this.sdkConfiguration.getServerVariableDefaults());
|
||||
this.sdkConfiguration.serverUrl(), this.sdkConfiguration.getServerVariableDefaults());
|
||||
String _url = Utils.generateURL(
|
||||
_baseUrl,
|
||||
"/playlists/upload");
|
||||
@@ -1606,14 +1638,15 @@ public class Playlists implements
|
||||
request,
|
||||
null));
|
||||
|
||||
Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
|
||||
Optional<SecuritySource> _hookSecuritySource = Optional.of(this.sdkConfiguration.securitySource());
|
||||
Utils.configureSecurity(_req,
|
||||
this.sdkConfiguration.securitySource.getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.defaultClient;
|
||||
this.sdkConfiguration.securitySource().getSecurity());
|
||||
HTTPClient _client = this.sdkConfiguration.client();
|
||||
HttpRequest _r =
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"uploadPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -1626,6 +1659,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"uploadPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -1636,6 +1670,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"uploadPlaylist",
|
||||
Optional.of(List.of()),
|
||||
@@ -1646,6 +1681,7 @@ public class Playlists implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
this.sdkConfiguration,
|
||||
_baseUrl,
|
||||
"uploadPlaylist",
|
||||
Optional.of(List.of()),
|
||||
|
||||
Reference in New Issue
Block a user