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
|
ISharedInsightCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
ISharedInsightCollectionPage |
get() |
void |
get(ICallback<? super ISharedInsightCollectionPage> callback) |
ISharedInsightCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
SharedInsight |
post(SharedInsight newSharedInsight) |
void |
post(SharedInsight newSharedInsight,
ICallback<? super SharedInsight> callback) |
ISharedInsightCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISharedInsightCollectionRequest |
skip(int value)
Sets the skip value for the request
|
ISharedInsightCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
ISharedInsightCollectionRequest |
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 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<? super ISharedInsightCollectionPage> callback)
get in interface ISharedInsightCollectionRequestpublic ISharedInsightCollectionPage get() throws ClientException
get in interface ISharedInsightCollectionRequestClientExceptionpublic void post(SharedInsight newSharedInsight, ICallback<? super 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 filter(java.lang.String value)
filter in interface ISharedInsightCollectionRequestvalue - the filter clausepublic ISharedInsightCollectionRequest orderBy(java.lang.String value)
orderBy in interface ISharedInsightCollectionRequestvalue - the order by 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 ISharedInsightCollectionRequest skip(int value)
skip in interface ISharedInsightCollectionRequestvalue - of the number of items to skippublic ISharedInsightCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface ISharedInsightCollectionRequestskipToken - - Token for paginationpublic ISharedInsightCollectionPage buildFromResponse(SharedInsightCollectionResponse response)