public class WorkbookFunctionsLookupRequest extends BaseRequest implements IWorkbookFunctionsLookupRequest
Modifier and Type | Field and Description |
---|---|
protected WorkbookFunctionsLookupBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookFunctionsLookupRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookFunctionsLookup
|
Modifier and Type | Method and Description |
---|---|
IWorkbookFunctionsLookupRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookFunctionResult |
post() |
void |
post(ICallback<WorkbookFunctionResult> callback) |
IWorkbookFunctionsLookupRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookFunctionsLookupRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
protected final WorkbookFunctionsLookupBody body
public WorkbookFunctionsLookupRequest(java.lang.String requestUrl, IBaseClient client, java.util.List<? extends Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestpublic void post(ICallback<WorkbookFunctionResult> callback)
post
in interface IWorkbookFunctionsLookupRequest
public WorkbookFunctionResult post() throws ClientException
post
in interface IWorkbookFunctionsLookupRequest
ClientException
public IWorkbookFunctionsLookupRequest select(java.lang.String value)
select
in interface IWorkbookFunctionsLookupRequest
value
- the select clausepublic IWorkbookFunctionsLookupRequest top(int value)
top
in interface IWorkbookFunctionsLookupRequest
value
- the max number of items to returnpublic IWorkbookFunctionsLookupRequest expand(java.lang.String value)
expand
in interface IWorkbookFunctionsLookupRequest
value
- the expand clause