public class TrendingCollectionRequest extends BaseCollectionRequest<TrendingCollectionResponse,ITrendingCollectionPage> implements ITrendingCollectionRequest
| Constructor and Description |
|---|
TrendingCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Trending
|
| Modifier and Type | Method and Description |
|---|---|
ITrendingCollectionPage |
buildFromResponse(TrendingCollectionResponse response) |
ITrendingCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ITrendingCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ITrendingCollectionPage |
get() |
void |
get(ICallback<? super ITrendingCollectionPage> callback) |
ITrendingCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Trending |
post(Trending newTrending) |
void |
post(Trending newTrending,
ICallback<? super Trending> callback) |
ITrendingCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ITrendingCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ITrendingCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ITrendingCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic TrendingCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super ITrendingCollectionPage> callback)
get in interface ITrendingCollectionRequestpublic ITrendingCollectionPage get() throws ClientException
get in interface ITrendingCollectionRequestClientExceptionpublic void post(Trending newTrending, ICallback<? super Trending> callback)
post in interface ITrendingCollectionRequestpublic Trending post(Trending newTrending) throws ClientException
post in interface ITrendingCollectionRequestClientExceptionpublic ITrendingCollectionRequest expand(java.lang.String value)
expand in interface ITrendingCollectionRequestvalue - the expand clausepublic ITrendingCollectionRequest filter(java.lang.String value)
filter in interface ITrendingCollectionRequestvalue - the filter clausepublic ITrendingCollectionRequest orderBy(java.lang.String value)
orderBy in interface ITrendingCollectionRequestvalue - the order by clausepublic ITrendingCollectionRequest select(java.lang.String value)
select in interface ITrendingCollectionRequestvalue - the select clausepublic ITrendingCollectionRequest top(int value)
top in interface ITrendingCollectionRequestvalue - the max number of items to returnpublic ITrendingCollectionRequest skip(int value)
skip in interface ITrendingCollectionRequestvalue - of the number of items to skippublic ITrendingCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ITrendingCollectionRequestskipToken - - Token for paginationpublic ITrendingCollectionPage buildFromResponse(TrendingCollectionResponse response)