ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0

This commit is contained in:
speakeasybot
2024-10-04 00:27:05 +00:00
parent 2e4350c8c4
commit 025b6c4640
108 changed files with 3282 additions and 7524 deletions

View File

@@ -4,37 +4,17 @@
package dev.plexapi.sdk.models.operations;
import dev.plexapi.sdk.utils.Options;
import dev.plexapi.sdk.utils.RetryConfig;
import dev.plexapi.sdk.utils.Utils;
import java.util.Optional;
public class GetButlerTasksRequestBuilder {
private Optional<RetryConfig> retryConfig = Optional.empty();
private final SDKMethodInterfaces.MethodCallGetButlerTasks sdk;
public GetButlerTasksRequestBuilder(SDKMethodInterfaces.MethodCallGetButlerTasks sdk) {
this.sdk = sdk;
}
public GetButlerTasksRequestBuilder retryConfig(RetryConfig retryConfig) {
Utils.checkNotNull(retryConfig, "retryConfig");
this.retryConfig = Optional.of(retryConfig);
return this;
}
public GetButlerTasksRequestBuilder retryConfig(Optional<RetryConfig> retryConfig) {
Utils.checkNotNull(retryConfig, "retryConfig");
this.retryConfig = retryConfig;
return this;
}
public GetButlerTasksResponse call() throws Exception {
Optional<Options> options = Optional.of(Options.builder()
.retryConfig(retryConfig)
.build());
return sdk.getButlerTasks(
options);
return sdk.getButlerTasksDirect();
}
}