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