public static class Comment.APIRequestUpdate extends APIRequest<Comment>
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 |
|---|
APIRequestUpdate(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 APIRequestUpdate(String nodeId, APIContext context)
public Comment getLastResponse()
getLastResponse in class APIRequest<Comment>public Comment parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Comment>APIExceptionpublic Comment execute() throws APIException
execute in class APIRequest<Comment>APIExceptionpublic Comment execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Comment>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Comment> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Comment> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic Comment.APIRequestUpdate setParam(String param, Object value)
setParam in class APIRequest<Comment>public Comment.APIRequestUpdate setParams(Map<String,Object> params)
setParams in class APIRequest<Comment>public Comment.APIRequestUpdate setAttachmentId(String attachmentId)
public Comment.APIRequestUpdate setAttachmentShareUrl(String attachmentShareUrl)
public Comment.APIRequestUpdate setAttachmentUrl(String attachmentUrl)
public Comment.APIRequestUpdate setIsHidden(Boolean isHidden)
public Comment.APIRequestUpdate setIsHidden(String isHidden)
public Comment.APIRequestUpdate setMessage(String message)
public Comment.APIRequestUpdate requestAllFields()
public Comment.APIRequestUpdate requestAllFields(boolean value)
public Comment.APIRequestUpdate requestFields(List<String> fields)
requestFields in class APIRequest<Comment>public Comment.APIRequestUpdate requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Comment>public Comment.APIRequestUpdate requestField(String field)
requestField in class APIRequest<Comment>public Comment.APIRequestUpdate requestField(String field, boolean value)
requestField in class APIRequest<Comment>Copyright © 2020. All rights reserved.