ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0

This commit is contained in:
speakeasybot
2024-10-03 00:28:29 +00:00
parent fa542f04e1
commit 2e4350c8c4
247 changed files with 21314 additions and 5695 deletions

View File

@@ -4,6 +4,8 @@
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;
@@ -13,6 +15,7 @@ public class GetMetadataChildrenRequestBuilder {
private Double ratingKey;
private Optional<String> includeElements = Optional.empty();
private Optional<RetryConfig> retryConfig = Optional.empty();
private final SDKMethodInterfaces.MethodCallGetMetadataChildren sdk;
public GetMetadataChildrenRequestBuilder(SDKMethodInterfaces.MethodCallGetMetadataChildren sdk) {
@@ -36,11 +39,26 @@ public class GetMetadataChildrenRequestBuilder {
this.includeElements = includeElements;
return this;
}
public GetMetadataChildrenRequestBuilder retryConfig(RetryConfig retryConfig) {
Utils.checkNotNull(retryConfig, "retryConfig");
this.retryConfig = Optional.of(retryConfig);
return this;
}
public GetMetadataChildrenRequestBuilder retryConfig(Optional<RetryConfig> retryConfig) {
Utils.checkNotNull(retryConfig, "retryConfig");
this.retryConfig = retryConfig;
return this;
}
public GetMetadataChildrenResponse call() throws Exception {
Optional<Options> options = Optional.of(Options.builder()
.retryConfig(retryConfig)
.build());
return sdk.getMetadataChildren(
ratingKey,
includeElements);
includeElements,
options);
}
}