public class WorkbookCommentCollectionRequest extends BaseCollectionRequest<WorkbookCommentCollectionResponse,IWorkbookCommentCollectionPage> implements IWorkbookCommentCollectionRequest
| Constructor and Description |
|---|
WorkbookCommentCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of WorkbookComment
|
| Modifier and Type | Method and Description |
|---|---|
IWorkbookCommentCollectionPage |
buildFromResponse(WorkbookCommentCollectionResponse response) |
IWorkbookCommentCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IWorkbookCommentCollectionPage |
get() |
void |
get(ICallback<IWorkbookCommentCollectionPage> callback) |
WorkbookComment |
post(WorkbookComment newWorkbookComment) |
void |
post(WorkbookComment newWorkbookComment,
ICallback<WorkbookComment> callback) |
IWorkbookCommentCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookCommentCollectionRequest |
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 WorkbookCommentCollectionRequest(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<IWorkbookCommentCollectionPage> callback)
get in interface IWorkbookCommentCollectionRequestpublic IWorkbookCommentCollectionPage get() throws ClientException
get in interface IWorkbookCommentCollectionRequestClientExceptionpublic void post(WorkbookComment newWorkbookComment, ICallback<WorkbookComment> callback)
post in interface IWorkbookCommentCollectionRequestpublic WorkbookComment post(WorkbookComment newWorkbookComment) throws ClientException
post in interface IWorkbookCommentCollectionRequestClientExceptionpublic IWorkbookCommentCollectionRequest expand(java.lang.String value)
expand in interface IWorkbookCommentCollectionRequestvalue - the expand clausepublic IWorkbookCommentCollectionRequest select(java.lang.String value)
select in interface IWorkbookCommentCollectionRequestvalue - the select clausepublic IWorkbookCommentCollectionRequest top(int value)
top in interface IWorkbookCommentCollectionRequestvalue - the max number of items to returnpublic IWorkbookCommentCollectionPage buildFromResponse(WorkbookCommentCollectionResponse response)