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