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