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