public class WorkbookNamedItemCollectionRequest extends BaseCollectionRequest<WorkbookNamedItemCollectionResponse,IWorkbookNamedItemCollectionPage> implements IWorkbookNamedItemCollectionRequest
| Constructor and Description |
|---|
WorkbookNamedItemCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of WorkbookNamedItem
|
| Modifier and Type | Method and Description |
|---|---|
IWorkbookNamedItemCollectionPage |
buildFromResponse(WorkbookNamedItemCollectionResponse response) |
IWorkbookNamedItemCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IWorkbookNamedItemCollectionPage |
get() |
void |
get(ICallback<IWorkbookNamedItemCollectionPage> callback) |
WorkbookNamedItem |
post(WorkbookNamedItem newWorkbookNamedItem) |
void |
post(WorkbookNamedItem newWorkbookNamedItem,
ICallback<WorkbookNamedItem> callback) |
IWorkbookNamedItemCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookNamedItemCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic WorkbookNamedItemCollectionRequest(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 get(ICallback<IWorkbookNamedItemCollectionPage> callback)
get in interface IWorkbookNamedItemCollectionRequestpublic IWorkbookNamedItemCollectionPage get() throws ClientException
get in interface IWorkbookNamedItemCollectionRequestClientExceptionpublic void post(WorkbookNamedItem newWorkbookNamedItem, ICallback<WorkbookNamedItem> callback)
post in interface IWorkbookNamedItemCollectionRequestpublic WorkbookNamedItem post(WorkbookNamedItem newWorkbookNamedItem) throws ClientException
post in interface IWorkbookNamedItemCollectionRequestClientExceptionpublic IWorkbookNamedItemCollectionRequest expand(java.lang.String value)
expand in interface IWorkbookNamedItemCollectionRequestvalue - the expand clausepublic IWorkbookNamedItemCollectionRequest select(java.lang.String value)
select in interface IWorkbookNamedItemCollectionRequestvalue - the select clausepublic IWorkbookNamedItemCollectionRequest top(int value)
top in interface IWorkbookNamedItemCollectionRequestvalue - the max number of items to returnpublic IWorkbookNamedItemCollectionPage buildFromResponse(WorkbookNamedItemCollectionResponse response)