public class DataPolicyOperationCollectionRequest extends BaseCollectionRequest<DataPolicyOperationCollectionResponse,IDataPolicyOperationCollectionPage> implements IDataPolicyOperationCollectionRequest
| Constructor and Description |
|---|
DataPolicyOperationCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DataPolicyOperation
|
| Modifier and Type | Method and Description |
|---|---|
IDataPolicyOperationCollectionPage |
buildFromResponse(DataPolicyOperationCollectionResponse response) |
IDataPolicyOperationCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDataPolicyOperationCollectionPage |
get() |
void |
get(ICallback<IDataPolicyOperationCollectionPage> callback) |
DataPolicyOperation |
post(DataPolicyOperation newDataPolicyOperation) |
void |
post(DataPolicyOperation newDataPolicyOperation,
ICallback<DataPolicyOperation> callback) |
IDataPolicyOperationCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDataPolicyOperationCollectionRequest |
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 DataPolicyOperationCollectionRequest(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<IDataPolicyOperationCollectionPage> callback)
get in interface IDataPolicyOperationCollectionRequestpublic IDataPolicyOperationCollectionPage get() throws ClientException
get in interface IDataPolicyOperationCollectionRequestClientExceptionpublic void post(DataPolicyOperation newDataPolicyOperation, ICallback<DataPolicyOperation> callback)
post in interface IDataPolicyOperationCollectionRequestpublic DataPolicyOperation post(DataPolicyOperation newDataPolicyOperation) throws ClientException
post in interface IDataPolicyOperationCollectionRequestClientExceptionpublic IDataPolicyOperationCollectionRequest expand(java.lang.String value)
expand in interface IDataPolicyOperationCollectionRequestvalue - the expand clausepublic IDataPolicyOperationCollectionRequest select(java.lang.String value)
select in interface IDataPolicyOperationCollectionRequestvalue - the select clausepublic IDataPolicyOperationCollectionRequest top(int value)
top in interface IDataPolicyOperationCollectionRequestvalue - the max number of items to returnpublic IDataPolicyOperationCollectionPage buildFromResponse(DataPolicyOperationCollectionResponse response)