public static class Page.APIRequestCreateNotification extends APIRequest<Page>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper
Modifier and Type | Field and Description |
---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint
Constructor and Description |
---|
APIRequestCreateNotification(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestCreateNotification(String nodeId, APIContext context)
public Page getLastResponse()
getLastResponse
in class APIRequest<Page>
public Page parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<Page>
APIException
public Page execute() throws APIException
execute
in class APIRequest<Page>
APIException
public Page execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<Page>
APIException
public com.google.common.util.concurrent.ListenableFuture<Page> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<Page> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public Page.APIRequestCreateNotification setParam(String param, Object value)
setParam
in class APIRequest<Page>
public Page.APIRequestCreateNotification setParams(Map<String,Object> params)
setParams
in class APIRequest<Page>
public Page.APIRequestCreateNotification setFiltering(List<Page.EnumFiltering> filtering)
public Page.APIRequestCreateNotification setFiltering(String filtering)
public Page.APIRequestCreateNotification setHref(Object href)
public Page.APIRequestCreateNotification setHref(String href)
public Page.APIRequestCreateNotification setNotifIds(List<String> notifIds)
public Page.APIRequestCreateNotification setNotifIds(String notifIds)
public Page.APIRequestCreateNotification setRead(Boolean read)
public Page.APIRequestCreateNotification setRead(String read)
public Page.APIRequestCreateNotification setRef(String ref)
public Page.APIRequestCreateNotification setSeen(Boolean seen)
public Page.APIRequestCreateNotification setSeen(String seen)
public Page.APIRequestCreateNotification setTemplate(Object template)
public Page.APIRequestCreateNotification setTemplate(String template)
public Page.APIRequestCreateNotification setType(Page.EnumType type)
public Page.APIRequestCreateNotification setType(String type)
public Page.APIRequestCreateNotification requestAllFields()
public Page.APIRequestCreateNotification requestAllFields(boolean value)
public Page.APIRequestCreateNotification requestFields(List<String> fields)
requestFields
in class APIRequest<Page>
public Page.APIRequestCreateNotification requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<Page>
public Page.APIRequestCreateNotification requestField(String field)
requestField
in class APIRequest<Page>
public Page.APIRequestCreateNotification requestField(String field, boolean value)
requestField
in class APIRequest<Page>
Copyright © 2020. All rights reserved.