public interface IAlertRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super Alert> callback)
Delete this item from the service
|
IAlertRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Alert |
get()
Gets the Alert from the service
|
void |
get(ICallback<? super Alert> callback)
Gets the Alert from the service
|
Alert |
patch(Alert sourceAlert)
Patches this Alert with a source
|
void |
patch(Alert sourceAlert,
ICallback<? super Alert> callback)
Patches this Alert with a source
|
Alert |
post(Alert newAlert)
Posts a Alert with a new object
|
void |
post(Alert newAlert,
ICallback<? super Alert> callback)
Posts a Alert with a new object
|
Alert |
put(Alert newAlert)
Posts a Alert with a new object
|
void |
put(Alert newAlert,
ICallback<? super Alert> callback)
Posts a Alert with a new object
|
IAlertRequest |
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, withHttpMethodvoid get(ICallback<? super Alert> callback)
callback - the callback to be called after success or failureAlert get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super Alert> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(Alert sourceAlert, ICallback<? super Alert> callback)
sourceAlert - the source object with updatescallback - the callback to be called after success or failureAlert patch(Alert sourceAlert) throws ClientException
sourceAlert - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(Alert newAlert, ICallback<? super Alert> callback)
newAlert - the new object to createcallback - the callback to be called after success or failureAlert post(Alert newAlert) throws ClientException
newAlert - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(Alert newAlert, ICallback<? super Alert> callback)
newAlert - the object to create/updatecallback - the callback to be called after success or failureAlert put(Alert newAlert) throws ClientException
newAlert - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIAlertRequest select(java.lang.String value)
value - the select clauseIAlertRequest expand(java.lang.String value)
value - the expand clause