mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 12:37:47 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
|
||||
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.lang.Double;
|
||||
import java.lang.String;
|
||||
@@ -15,7 +13,6 @@ public class GetFileHashRequestBuilder {
|
||||
|
||||
private String url;
|
||||
private Optional<Double> type = Optional.empty();
|
||||
private Optional<RetryConfig> retryConfig = Optional.empty();
|
||||
private final SDKMethodInterfaces.MethodCallGetFileHash sdk;
|
||||
|
||||
public GetFileHashRequestBuilder(SDKMethodInterfaces.MethodCallGetFileHash sdk) {
|
||||
@@ -39,26 +36,11 @@ public class GetFileHashRequestBuilder {
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetFileHashRequestBuilder retryConfig(RetryConfig retryConfig) {
|
||||
Utils.checkNotNull(retryConfig, "retryConfig");
|
||||
this.retryConfig = Optional.of(retryConfig);
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetFileHashRequestBuilder retryConfig(Optional<RetryConfig> retryConfig) {
|
||||
Utils.checkNotNull(retryConfig, "retryConfig");
|
||||
this.retryConfig = retryConfig;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetFileHashResponse call() throws Exception {
|
||||
Optional<Options> options = Optional.of(Options.builder()
|
||||
.retryConfig(retryConfig)
|
||||
.build());
|
||||
|
||||
return sdk.getFileHash(
|
||||
url,
|
||||
type,
|
||||
options);
|
||||
type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user