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,50 @@
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
package dev.plexapi.sdk.models.operations;
import dev.plexapi.sdk.utils.Utils;
import java.util.Optional;
public class ApplyUpdatesRequestBuilder {
private Optional<? extends Tonight> tonight = Optional.empty();
private Optional<? extends Skip> skip = Optional.empty();
private final SDKMethodInterfaces.MethodCallApplyUpdates sdk;
public ApplyUpdatesRequestBuilder(SDKMethodInterfaces.MethodCallApplyUpdates sdk) {
this.sdk = sdk;
}
public ApplyUpdatesRequestBuilder tonight(dev.plexapi.sdk.models.operations.Tonight tonight) {
Utils.checkNotNull(tonight, "tonight");
this.tonight = Optional.of(tonight);
return this;
}
public ApplyUpdatesRequestBuilder tonight(java.util.Optional<? extends dev.plexapi.sdk.models.operations.Tonight> tonight) {
Utils.checkNotNull(tonight, "tonight");
this.tonight = tonight;
return this;
}
public ApplyUpdatesRequestBuilder skip(dev.plexapi.sdk.models.operations.Skip skip) {
Utils.checkNotNull(skip, "skip");
this.skip = Optional.of(skip);
return this;
}
public ApplyUpdatesRequestBuilder skip(java.util.Optional<? extends dev.plexapi.sdk.models.operations.Skip> skip) {
Utils.checkNotNull(skip, "skip");
this.skip = skip;
return this;
}
public ApplyUpdatesResponse call() throws Exception {
return sdk.applyUpdates(
tonight,
skip);
}
}