public class SharedInsightCollectionRequest extends BaseCollectionRequest<SharedInsightCollectionResponse,ISharedInsightCollectionPage> implements ISharedInsightCollectionRequest
| Constructor and Description |
|---|
SharedInsightCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of SharedInsight
|
| Modifier and Type | Method and Description |
|---|---|
ISharedInsightCollectionPage |
buildFromResponse(SharedInsightCollectionResponse response) |
ISharedInsightCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ISharedInsightCollectionPage |
get() |
void |
get(ICallback<ISharedInsightCollectionPage> callback) |
SharedInsight |
post(SharedInsight newSharedInsight) |
void |
post(SharedInsight newSharedInsight,
ICallback<SharedInsight> callback) |
ISharedInsightCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISharedInsightCollectionRequest |
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 SharedInsightCollectionRequest(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<ISharedInsightCollectionPage> callback)
get in interface ISharedInsightCollectionRequestpublic ISharedInsightCollectionPage get() throws ClientException
get in interface ISharedInsightCollectionRequestClientExceptionpublic void post(SharedInsight newSharedInsight, ICallback<SharedInsight> callback)
post in interface ISharedInsightCollectionRequestpublic SharedInsight post(SharedInsight newSharedInsight) throws ClientException
post in interface ISharedInsightCollectionRequestClientExceptionpublic ISharedInsightCollectionRequest expand(java.lang.String value)
expand in interface ISharedInsightCollectionRequestvalue - the expand clausepublic ISharedInsightCollectionRequest select(java.lang.String value)
select in interface ISharedInsightCollectionRequestvalue - the select clausepublic ISharedInsightCollectionRequest top(int value)
top in interface ISharedInsightCollectionRequestvalue - the max number of items to returnpublic ISharedInsightCollectionPage buildFromResponse(SharedInsightCollectionResponse response)