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