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