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