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, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public 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 IExtensionCollectionRequest
public IExtensionCollectionPage get() throws ClientException
get
in interface IExtensionCollectionRequest
ClientException
public void post(Extension newExtension, ICallback<? super Extension> callback)
post
in interface IExtensionCollectionRequest
public Extension post(Extension newExtension) throws ClientException
post
in interface IExtensionCollectionRequest
ClientException
public IExtensionCollectionRequest expand(java.lang.String value)
expand
in interface IExtensionCollectionRequest
value
- the expand clausepublic IExtensionCollectionRequest filter(java.lang.String value)
filter
in interface IExtensionCollectionRequest
value
- the filter clausepublic IExtensionCollectionRequest orderBy(java.lang.String value)
orderBy
in interface IExtensionCollectionRequest
value
- the order by clausepublic IExtensionCollectionRequest select(java.lang.String value)
select
in interface IExtensionCollectionRequest
value
- the select clausepublic IExtensionCollectionRequest top(int value)
top
in interface IExtensionCollectionRequest
value
- the max number of items to returnpublic IExtensionCollectionRequest skip(int value)
skip
in interface IExtensionCollectionRequest
value
- of the number of items to skippublic IExtensionCollectionRequest skipToken(java.lang.String skipToken)
skipToken
in interface IExtensionCollectionRequest
skipToken
- - Token for paginationpublic IExtensionCollectionPage buildFromResponse(ExtensionCollectionResponse response)