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.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;
|
||||
@@ -38,11 +37,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;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Hubs are a structured two-dimensional container for media, generally represented by multiple horizontal rows.
|
||||
*
|
||||
*/
|
||||
public class Hubs implements
|
||||
MethodCallGetGlobalHubs,
|
||||
@@ -58,7 +58,9 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get Global Hubs
|
||||
* Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* <p>Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetGlobalHubsRequestBuilder getGlobalHubs() {
|
||||
@@ -67,7 +69,9 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get Global Hubs
|
||||
* Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* <p>Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -77,7 +81,9 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get Global Hubs
|
||||
* Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* <p>Get Global Hubs filtered by the parameters provided.
|
||||
*
|
||||
* @param count The number of items to return with each hub.
|
||||
* @param onlyTransient Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added).
|
||||
* @return The response from the API call
|
||||
@@ -117,6 +123,7 @@ public class Hubs implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getGlobalHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -128,6 +135,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getGlobalHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -137,6 +145,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getGlobalHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -146,6 +155,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getGlobalHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -239,7 +249,8 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get Recently Added
|
||||
* This endpoint will return the recently added content.
|
||||
*
|
||||
* <p>This endpoint will return the recently added content.
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
@@ -249,7 +260,8 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get Recently Added
|
||||
* This endpoint will return the recently added content.
|
||||
*
|
||||
* <p>This endpoint will return the recently added content.
|
||||
*
|
||||
* @param request The request object containing all of the parameters for the API call.
|
||||
* @return The response from the API call
|
||||
@@ -281,6 +293,7 @@ public class Hubs implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"get-recently-added",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -292,6 +305,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-recently-added",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -301,6 +315,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"get-recently-added",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -310,6 +325,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"get-recently-added",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -371,7 +387,8 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get library specific hubs
|
||||
* This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* <p>This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
@@ -381,7 +398,8 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get library specific hubs
|
||||
* This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* <p>This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* @param sectionId the Id of the library to query
|
||||
* @return The response from the API call
|
||||
@@ -394,7 +412,8 @@ public class Hubs implements
|
||||
|
||||
/**
|
||||
* Get library specific hubs
|
||||
* This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* <p>This endpoint will return a list of library specific hubs
|
||||
*
|
||||
* @param sectionId the Id of the library to query
|
||||
* @param count The number of items to return with each hub.
|
||||
@@ -440,6 +459,7 @@ public class Hubs implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getLibraryHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -451,6 +471,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getLibraryHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -460,6 +481,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getLibraryHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -469,6 +491,7 @@ public class Hubs implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getLibraryHubs",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
|
||||
Reference in New Issue
Block a user