public class WorkbookFunctionsNowRequest extends BaseRequest implements IWorkbookFunctionsNowRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookFunctionsNowRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookFunctionsNow
|
Modifier and Type | Method and Description |
---|---|
IWorkbookFunctionsNowRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookFunctionResult |
post()
Creates the WorkbookFunctionsNow
|
void |
post(ICallback<WorkbookFunctionResult> callback)
Creates the WorkbookFunctionsNow
|
IWorkbookFunctionsNowRequest |
select(java.lang.String value)
Sets the select clause 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
public WorkbookFunctionsNowRequest(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 IWorkbookFunctionsNowRequest
callback
- the callback to be called after success or failurepublic WorkbookFunctionResult post() throws ClientException
post
in interface IWorkbookFunctionsNowRequest
ClientException
- an exception occurs if there was an error while the request was sentpublic IWorkbookFunctionsNowRequest select(java.lang.String value)
select
in interface IWorkbookFunctionsNowRequest
value
- the select clausepublic IWorkbookFunctionsNowRequest expand(java.lang.String value)
expand
in interface IWorkbookFunctionsNowRequest
value
- the expand clause