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