mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-10 04:20:58 +00:00
regerated and working on publishing
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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.String;
|
||||
|
||||
public class GetSearchResultsRequestBuilder {
|
||||
|
||||
private String query;
|
||||
private final SDKMethodInterfaces.MethodCallGetSearchResults sdk;
|
||||
|
||||
public GetSearchResultsRequestBuilder(SDKMethodInterfaces.MethodCallGetSearchResults sdk) {
|
||||
this.sdk = sdk;
|
||||
}
|
||||
|
||||
public GetSearchResultsRequestBuilder query(java.lang.String query) {
|
||||
Utils.checkNotNull(query, "query");
|
||||
this.query = query;
|
||||
return this;
|
||||
}
|
||||
|
||||
public GetSearchResultsResponse call() throws Exception {
|
||||
|
||||
return sdk.getSearchResults(
|
||||
query);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user