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