mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-07 04:20:49 +00:00
regerated and working on publishing
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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.Integer;
|
||||
|
||||
public class GetSearchLibraryRequestBuilder {
|
||||
|
||||
private Integer sectionKey;
|
||||
private QueryParamType type;
|
||||
private final SDKMethodInterfaces.MethodCallGetSearchLibrary sdk;
|
||||
|
||||
public GetSearchLibraryRequestBuilder(SDKMethodInterfaces.MethodCallGetSearchLibrary sdk) {
|
||||
this.sdk = sdk;
|
||||
}
|
||||
|
||||
public GetSearchLibraryRequestBuilder sectionKey(int sectionKey) {
|
||||
Utils.checkNotNull(sectionKey, "sectionKey");
|
||||
this.sectionKey = sectionKey;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetSearchLibraryRequestBuilder type(dev.plexapi.sdk.models.operations.QueryParamType type) {
|
||||
Utils.checkNotNull(type, "type");
|
||||
this.type = type;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetSearchLibraryResponse call() throws Exception {
|
||||
|
||||
return sdk.getSearchLibrary(
|
||||
sectionKey,
|
||||
type);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user