public static class User.APIRequestCreateNotification extends APIRequest<User>
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, setUseVideoEndpointpublic APIRequestCreateNotification(String nodeId, APIContext context)
public User getLastResponse()
getLastResponse in class APIRequest<User>public User parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<User>APIExceptionpublic User execute() throws APIException
execute in class APIRequest<User>APIExceptionpublic User execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<User>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<User> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<User> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic User.APIRequestCreateNotification setParam(String param, Object value)
setParam in class APIRequest<User>public User.APIRequestCreateNotification setParams(Map<String,Object> params)
setParams in class APIRequest<User>public User.APIRequestCreateNotification setFiltering(List<User.EnumFiltering> filtering)
public User.APIRequestCreateNotification setFiltering(String filtering)
public User.APIRequestCreateNotification setHref(Object href)
public User.APIRequestCreateNotification setHref(String href)
public User.APIRequestCreateNotification setNotifIds(List<String> notifIds)
public User.APIRequestCreateNotification setNotifIds(String notifIds)
public User.APIRequestCreateNotification setRead(Boolean read)
public User.APIRequestCreateNotification setRead(String read)
public User.APIRequestCreateNotification setRef(String ref)
public User.APIRequestCreateNotification setSeen(Boolean seen)
public User.APIRequestCreateNotification setSeen(String seen)
public User.APIRequestCreateNotification setTemplate(Object template)
public User.APIRequestCreateNotification setTemplate(String template)
public User.APIRequestCreateNotification setType(User.EnumType type)
public User.APIRequestCreateNotification setType(String type)
public User.APIRequestCreateNotification requestAllFields()
public User.APIRequestCreateNotification requestAllFields(boolean value)
public User.APIRequestCreateNotification requestFields(List<String> fields)
requestFields in class APIRequest<User>public User.APIRequestCreateNotification requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<User>public User.APIRequestCreateNotification requestField(String field)
requestField in class APIRequest<User>public User.APIRequestCreateNotification requestField(String field, boolean value)
requestField in class APIRequest<User>Copyright © 2020. All rights reserved.