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;
|
||||
@@ -29,7 +28,9 @@ 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;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Activities are awesome. They provide a way to monitor and control asynchronous operations on the server. In order to receive real-time updates for activities, a client would normally subscribe via either EventSource or Websocket endpoints.
|
||||
@@ -39,7 +40,6 @@ import java.util.Optional;
|
||||
* - They must contain an `type` which is used by clients to distinguish the specific activity.
|
||||
* - They may contain a `Context` object with attributes which associate the activity with various specific entities (items, libraries, etc.)
|
||||
* - The may contain a `Response` object which attributes which represent the result of the asynchronous operation.
|
||||
*
|
||||
*/
|
||||
public class Activities implements
|
||||
MethodCallGetServerActivities,
|
||||
@@ -54,7 +54,9 @@ public class Activities implements
|
||||
|
||||
/**
|
||||
* Get Server Activities
|
||||
* Get Server Activities
|
||||
*
|
||||
* <p>Get Server Activities
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public GetServerActivitiesRequestBuilder getServerActivities() {
|
||||
@@ -63,7 +65,9 @@ public class Activities implements
|
||||
|
||||
/**
|
||||
* Get Server Activities
|
||||
* Get Server Activities
|
||||
*
|
||||
* <p>Get Server Activities
|
||||
*
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
*/
|
||||
@@ -87,6 +91,7 @@ public class Activities implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"getServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -98,6 +103,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -107,6 +113,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"getServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -116,6 +123,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"getServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -209,7 +217,9 @@ public class Activities implements
|
||||
|
||||
/**
|
||||
* Cancel Server Activities
|
||||
* Cancel Server Activities
|
||||
*
|
||||
* <p>Cancel Server Activities
|
||||
*
|
||||
* @return The call builder
|
||||
*/
|
||||
public CancelServerActivitiesRequestBuilder cancelServerActivities() {
|
||||
@@ -218,7 +228,9 @@ public class Activities implements
|
||||
|
||||
/**
|
||||
* Cancel Server Activities
|
||||
* Cancel Server Activities
|
||||
*
|
||||
* <p>Cancel Server Activities
|
||||
*
|
||||
* @param activityUUID The UUID of the activity to cancel.
|
||||
* @return The response from the API call
|
||||
* @throws Exception if the API call fails
|
||||
@@ -252,6 +264,7 @@ public class Activities implements
|
||||
sdkConfiguration.hooks()
|
||||
.beforeRequest(
|
||||
new BeforeRequestContextImpl(
|
||||
_baseUrl,
|
||||
"cancelServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -263,6 +276,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"cancelServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -272,6 +286,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterSuccess(
|
||||
new AfterSuccessContextImpl(
|
||||
_baseUrl,
|
||||
"cancelServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
@@ -281,6 +296,7 @@ public class Activities implements
|
||||
_httpRes = sdkConfiguration.hooks()
|
||||
.afterError(
|
||||
new AfterErrorContextImpl(
|
||||
_baseUrl,
|
||||
"cancelServerActivities",
|
||||
Optional.of(List.of()),
|
||||
_hookSecuritySource),
|
||||
|
||||
Reference in New Issue
Block a user