regerated and working on publishing

This commit is contained in:
Luke Hagar
2024-09-08 02:40:34 +00:00
parent 02ce124a6b
commit ac5716c20d
1312 changed files with 65980 additions and 37728 deletions

View File

@@ -0,0 +1,46 @@
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
package dev.plexapi.sdk.models.operations;
import dev.plexapi.sdk.utils.Utils;
import java.lang.Double;
import java.lang.String;
import java.util.Optional;
public class GetFileHashRequestBuilder {
private String url;
private Optional<Double> type = Optional.empty();
private final SDKMethodInterfaces.MethodCallGetFileHash sdk;
public GetFileHashRequestBuilder(SDKMethodInterfaces.MethodCallGetFileHash sdk) {
this.sdk = sdk;
}
public GetFileHashRequestBuilder url(java.lang.String url) {
Utils.checkNotNull(url, "url");
this.url = url;
return this;
}
public GetFileHashRequestBuilder type(double type) {
Utils.checkNotNull(type, "type");
this.type = Optional.of(type);
return this;
}
public GetFileHashRequestBuilder type(java.util.Optional<java.lang.Double> type) {
Utils.checkNotNull(type, "type");
this.type = type;
return this;
}
public GetFileHashResponse call() throws Exception {
return sdk.getFileHash(
url,
type);
}
}