public class LocalizedNotificationMessageCollectionRequest extends BaseCollectionRequest<LocalizedNotificationMessageCollectionResponse,ILocalizedNotificationMessageCollectionPage> implements ILocalizedNotificationMessageCollectionRequest
| Constructor and Description |
|---|
LocalizedNotificationMessageCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of LocalizedNotificationMessage
|
| Modifier and Type | Method and Description |
|---|---|
ILocalizedNotificationMessageCollectionPage |
buildFromResponse(LocalizedNotificationMessageCollectionResponse response) |
ILocalizedNotificationMessageCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ILocalizedNotificationMessageCollectionPage |
get() |
void |
get(ICallback<ILocalizedNotificationMessageCollectionPage> callback) |
LocalizedNotificationMessage |
post(LocalizedNotificationMessage newLocalizedNotificationMessage) |
void |
post(LocalizedNotificationMessage newLocalizedNotificationMessage,
ICallback<LocalizedNotificationMessage> callback) |
ILocalizedNotificationMessageCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ILocalizedNotificationMessageCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic LocalizedNotificationMessageCollectionRequest(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<ILocalizedNotificationMessageCollectionPage> callback)
get in interface ILocalizedNotificationMessageCollectionRequestpublic ILocalizedNotificationMessageCollectionPage get() throws ClientException
get in interface ILocalizedNotificationMessageCollectionRequestClientExceptionpublic void post(LocalizedNotificationMessage newLocalizedNotificationMessage, ICallback<LocalizedNotificationMessage> callback)
post in interface ILocalizedNotificationMessageCollectionRequestpublic LocalizedNotificationMessage post(LocalizedNotificationMessage newLocalizedNotificationMessage) throws ClientException
post in interface ILocalizedNotificationMessageCollectionRequestClientExceptionpublic ILocalizedNotificationMessageCollectionRequest expand(java.lang.String value)
expand in interface ILocalizedNotificationMessageCollectionRequestvalue - the expand clausepublic ILocalizedNotificationMessageCollectionRequest select(java.lang.String value)
select in interface ILocalizedNotificationMessageCollectionRequestvalue - the select clausepublic ILocalizedNotificationMessageCollectionRequest top(int value)
top in interface ILocalizedNotificationMessageCollectionRequestvalue - the max number of items to returnpublic ILocalizedNotificationMessageCollectionPage buildFromResponse(LocalizedNotificationMessageCollectionResponse response)