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