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