public class WorkbookFunctionsSmallRequest extends BaseRequest implements IWorkbookFunctionsSmallRequest
| Modifier and Type | Field and Description |
|---|---|
protected WorkbookFunctionsSmallBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
WorkbookFunctionsSmallRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookFunctionsSmall
|
| Modifier and Type | Method and Description |
|---|---|
IWorkbookFunctionsSmallRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookFunctionResult |
post() |
void |
post(ICallback<WorkbookFunctionResult> callback) |
IWorkbookFunctionsSmallRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookFunctionsSmallRequest |
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, setUseCachesprotected final WorkbookFunctionsSmallBody body
public WorkbookFunctionsSmallRequest(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 IWorkbookFunctionsSmallRequestpublic WorkbookFunctionResult post() throws ClientException
post in interface IWorkbookFunctionsSmallRequestClientExceptionpublic IWorkbookFunctionsSmallRequest select(java.lang.String value)
select in interface IWorkbookFunctionsSmallRequestvalue - the select clausepublic IWorkbookFunctionsSmallRequest top(int value)
top in interface IWorkbookFunctionsSmallRequestvalue - the max number of items to returnpublic IWorkbookFunctionsSmallRequest expand(java.lang.String value)
expand in interface IWorkbookFunctionsSmallRequestvalue - the expand clause