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