public static class Album.APIRequestCreateComment 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 |
|---|
APIRequestCreateComment(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 APIRequestCreateComment(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 Album.APIRequestCreateComment setParam(String param, Object value)
setParam in class APIRequest<Comment>public Album.APIRequestCreateComment setParams(Map<String,Object> params)
setParams in class APIRequest<Comment>public Album.APIRequestCreateComment setAttachmentId(String attachmentId)
public Album.APIRequestCreateComment setAttachmentShareUrl(String attachmentShareUrl)
public Album.APIRequestCreateComment setAttachmentUrl(String attachmentUrl)
public Album.APIRequestCreateComment setCommentPrivacyValue(Comment.EnumCommentPrivacyValue commentPrivacyValue)
public Album.APIRequestCreateComment setCommentPrivacyValue(String commentPrivacyValue)
public Album.APIRequestCreateComment setFacepileMentionedIds(List<String> facepileMentionedIds)
public Album.APIRequestCreateComment setFacepileMentionedIds(String facepileMentionedIds)
public Album.APIRequestCreateComment setFeedbackSource(String feedbackSource)
public Album.APIRequestCreateComment setIsOffline(Boolean isOffline)
public Album.APIRequestCreateComment setIsOffline(String isOffline)
public Album.APIRequestCreateComment setMessage(String message)
public Album.APIRequestCreateComment setNectarModule(String nectarModule)
public Album.APIRequestCreateComment setObjectId(String objectId)
public Album.APIRequestCreateComment setParentCommentId(Object parentCommentId)
public Album.APIRequestCreateComment setParentCommentId(String parentCommentId)
public Album.APIRequestCreateComment setText(String text)
public Album.APIRequestCreateComment setTracking(String tracking)
public Album.APIRequestCreateComment requestAllFields()
public Album.APIRequestCreateComment requestAllFields(boolean value)
public Album.APIRequestCreateComment requestFields(List<String> fields)
requestFields in class APIRequest<Comment>public Album.APIRequestCreateComment requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Comment>public Album.APIRequestCreateComment requestField(String field)
requestField in class APIRequest<Comment>public Album.APIRequestCreateComment requestField(String field, boolean value)
requestField in class APIRequest<Comment>Copyright © 2020. All rights reserved.