public interface IDataPolicyOperationRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super DataPolicyOperation> callback)
Delete this item from the service
|
IDataPolicyOperationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DataPolicyOperation |
get()
Gets the DataPolicyOperation from the service
|
void |
get(ICallback<? super DataPolicyOperation> callback)
Gets the DataPolicyOperation from the service
|
DataPolicyOperation |
patch(DataPolicyOperation sourceDataPolicyOperation)
Patches this DataPolicyOperation with a source
|
void |
patch(DataPolicyOperation sourceDataPolicyOperation,
ICallback<? super DataPolicyOperation> callback)
Patches this DataPolicyOperation with a source
|
DataPolicyOperation |
post(DataPolicyOperation newDataPolicyOperation)
Posts a DataPolicyOperation with a new object
|
void |
post(DataPolicyOperation newDataPolicyOperation,
ICallback<? super DataPolicyOperation> callback)
Posts a DataPolicyOperation with a new object
|
DataPolicyOperation |
put(DataPolicyOperation newDataPolicyOperation)
Posts a DataPolicyOperation with a new object
|
void |
put(DataPolicyOperation newDataPolicyOperation,
ICallback<? super DataPolicyOperation> callback)
Posts a DataPolicyOperation with a new object
|
IDataPolicyOperationRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
void get(ICallback<? super DataPolicyOperation> callback)
callback
- the callback to be called after success or failureDataPolicyOperation get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super DataPolicyOperation> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(DataPolicyOperation sourceDataPolicyOperation, ICallback<? super DataPolicyOperation> callback)
sourceDataPolicyOperation
- the source object with updatescallback
- the callback to be called after success or failureDataPolicyOperation patch(DataPolicyOperation sourceDataPolicyOperation) throws ClientException
sourceDataPolicyOperation
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(DataPolicyOperation newDataPolicyOperation, ICallback<? super DataPolicyOperation> callback)
newDataPolicyOperation
- the new object to createcallback
- the callback to be called after success or failureDataPolicyOperation post(DataPolicyOperation newDataPolicyOperation) throws ClientException
newDataPolicyOperation
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonvoid put(DataPolicyOperation newDataPolicyOperation, ICallback<? super DataPolicyOperation> callback)
newDataPolicyOperation
- the object to create/updatecallback
- the callback to be called after success or failureDataPolicyOperation put(DataPolicyOperation newDataPolicyOperation) throws ClientException
newDataPolicyOperation
- the object to create/updateClientException
- this exception occurs if the request was unable to complete for any reasonIDataPolicyOperationRequest select(java.lang.String value)
value
- the select clauseIDataPolicyOperationRequest expand(java.lang.String value)
value
- the expand clause