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