public interface IThumbnailRequest extends IHttpRequest
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<Thumbnail> callback)
Delete this item from the service
|
IThumbnailRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Thumbnail |
get()
Gets the Thumbnail from the service
|
void |
get(ICallback<Thumbnail> callback)
Gets the Thumbnail from the service
|
Thumbnail |
patch(Thumbnail sourceThumbnail)
Patches this Thumbnail with a source
|
void |
patch(Thumbnail sourceThumbnail,
ICallback<Thumbnail> callback)
Patches this Thumbnail with a source
|
Thumbnail |
post(Thumbnail newThumbnail)
Posts a Thumbnail with a new object
|
void |
post(Thumbnail newThumbnail,
ICallback<Thumbnail> callback)
Posts a Thumbnail with a new object
|
IThumbnailRequest |
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<Thumbnail> callback)
callback
- the callback to be called after success or failureThumbnail get() throws ClientException
ClientException
- this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<Thumbnail> callback)
callback
- the callback when the deletion action has completedvoid delete() throws ClientException
ClientException
- if there was an exception during the delete operationvoid patch(Thumbnail sourceThumbnail, ICallback<Thumbnail> callback)
sourceThumbnail
- the source object with updatescallback
- the callback to be called after success or failureThumbnail patch(Thumbnail sourceThumbnail) throws ClientException
sourceThumbnail
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonvoid post(Thumbnail newThumbnail, ICallback<Thumbnail> callback)
newThumbnail
- the new object to createcallback
- the callback to be called after success or failureThumbnail post(Thumbnail newThumbnail) throws ClientException
newThumbnail
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonIThumbnailRequest select(java.lang.String value)
value
- the select clauseIThumbnailRequest expand(java.lang.String value)
value
- the expand clause