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