public class CommsOperationCollectionRequest extends BaseCollectionRequest<CommsOperationCollectionResponse,ICommsOperationCollectionPage> implements ICommsOperationCollectionRequest
| Constructor and Description |
|---|
CommsOperationCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of CommsOperation
|
| Modifier and Type | Method and Description |
|---|---|
ICommsOperationCollectionPage |
buildFromResponse(CommsOperationCollectionResponse response) |
ICommsOperationCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ICommsOperationCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ICommsOperationCollectionPage |
get() |
void |
get(ICallback<? super ICommsOperationCollectionPage> callback) |
ICommsOperationCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
CommsOperation |
post(CommsOperation newCommsOperation) |
void |
post(CommsOperation newCommsOperation,
ICallback<? super CommsOperation> callback) |
ICommsOperationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICommsOperationCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ICommsOperationCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ICommsOperationCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic CommsOperationCollectionRequest(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<? super ICommsOperationCollectionPage> callback)
get in interface ICommsOperationCollectionRequestpublic ICommsOperationCollectionPage get() throws ClientException
get in interface ICommsOperationCollectionRequestClientExceptionpublic void post(CommsOperation newCommsOperation, ICallback<? super CommsOperation> callback)
post in interface ICommsOperationCollectionRequestpublic CommsOperation post(CommsOperation newCommsOperation) throws ClientException
post in interface ICommsOperationCollectionRequestClientExceptionpublic ICommsOperationCollectionRequest expand(java.lang.String value)
expand in interface ICommsOperationCollectionRequestvalue - the expand clausepublic ICommsOperationCollectionRequest filter(java.lang.String value)
filter in interface ICommsOperationCollectionRequestvalue - the filter clausepublic ICommsOperationCollectionRequest orderBy(java.lang.String value)
orderBy in interface ICommsOperationCollectionRequestvalue - the order by clausepublic ICommsOperationCollectionRequest select(java.lang.String value)
select in interface ICommsOperationCollectionRequestvalue - the select clausepublic ICommsOperationCollectionRequest top(int value)
top in interface ICommsOperationCollectionRequestvalue - the max number of items to returnpublic ICommsOperationCollectionRequest skip(int value)
skip in interface ICommsOperationCollectionRequestvalue - of the number of items to skippublic ICommsOperationCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ICommsOperationCollectionRequestskipToken - - Token for paginationpublic ICommsOperationCollectionPage buildFromResponse(CommsOperationCollectionResponse response)