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
|
IUsedInsightCollectionPage |
get() |
void |
get(ICallback<IUsedInsightCollectionPage> callback) |
UsedInsight |
post(UsedInsight newUsedInsight) |
void |
post(UsedInsight newUsedInsight,
ICallback<UsedInsight> callback) |
IUsedInsightCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IUsedInsightCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<IUsedInsightCollectionPage> callback)
get in interface IUsedInsightCollectionRequestpublic IUsedInsightCollectionPage get() throws ClientException
get in interface IUsedInsightCollectionRequestClientExceptionpublic void post(UsedInsight newUsedInsight, ICallback<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 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 IUsedInsightCollectionPage buildFromResponse(UsedInsightCollectionResponse response)