public class UsedInsightCollectionRequest extends BaseCollectionRequest<UsedInsightCollectionResponse,IUsedInsightCollectionPage> implements IUsedInsightCollectionRequest
| Constructor and Description |
|---|
UsedInsightCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of UsedInsight
|
| Modifier and Type | Method and Description |
|---|---|
IUsedInsightCollectionPage |
buildFromResponse(UsedInsightCollectionResponse response) |
IUsedInsightCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IUsedInsightCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IUsedInsightCollectionPage |
get() |
void |
get(ICallback<? super IUsedInsightCollectionPage> callback) |
IUsedInsightCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
UsedInsight |
post(UsedInsight newUsedInsight) |
void |
post(UsedInsight newUsedInsight,
ICallback<? super UsedInsight> callback) |
IUsedInsightCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IUsedInsightCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IUsedInsightCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IUsedInsightCollectionRequest |
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 UsedInsightCollectionRequest(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 IUsedInsightCollectionPage> callback)
get in interface IUsedInsightCollectionRequestpublic IUsedInsightCollectionPage get() throws ClientException
get in interface IUsedInsightCollectionRequestClientExceptionpublic void post(UsedInsight newUsedInsight, ICallback<? super UsedInsight> callback)
post in interface IUsedInsightCollectionRequestpublic UsedInsight post(UsedInsight newUsedInsight) throws ClientException
post in interface IUsedInsightCollectionRequestClientExceptionpublic IUsedInsightCollectionRequest expand(java.lang.String value)
expand in interface IUsedInsightCollectionRequestvalue - the expand clausepublic IUsedInsightCollectionRequest filter(java.lang.String value)
filter in interface IUsedInsightCollectionRequestvalue - the filter clausepublic IUsedInsightCollectionRequest orderBy(java.lang.String value)
orderBy in interface IUsedInsightCollectionRequestvalue - the order by clausepublic IUsedInsightCollectionRequest select(java.lang.String value)
select in interface IUsedInsightCollectionRequestvalue - the select clausepublic IUsedInsightCollectionRequest top(int value)
top in interface IUsedInsightCollectionRequestvalue - the max number of items to returnpublic IUsedInsightCollectionRequest skip(int value)
skip in interface IUsedInsightCollectionRequestvalue - of the number of items to skippublic IUsedInsightCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IUsedInsightCollectionRequestskipToken - - Token for paginationpublic IUsedInsightCollectionPage buildFromResponse(UsedInsightCollectionResponse response)