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
|
ICommsOperationCollectionPage |
get() |
void |
get(ICallback<ICommsOperationCollectionPage> callback) |
CommsOperation |
post(CommsOperation newCommsOperation) |
void |
post(CommsOperation newCommsOperation,
ICallback<CommsOperation> callback) |
ICommsOperationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ICommsOperationCollectionRequest |
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 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<ICommsOperationCollectionPage> callback)
get in interface ICommsOperationCollectionRequestpublic ICommsOperationCollectionPage get() throws ClientException
get in interface ICommsOperationCollectionRequestClientExceptionpublic void post(CommsOperation newCommsOperation, ICallback<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 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 ICommsOperationCollectionPage buildFromResponse(CommsOperationCollectionResponse response)