public static class IGMedia.APIRequestCreateComment extends APIRequest<IGComment>
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 IGComment getLastResponse()
getLastResponse in class APIRequest<IGComment>public IGComment parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<IGComment>APIExceptionpublic IGComment execute() throws APIException
execute in class APIRequest<IGComment>APIExceptionpublic IGComment execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<IGComment>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<IGComment> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<IGComment> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic IGMedia.APIRequestCreateComment setParam(String param, Object value)
setParam in class APIRequest<IGComment>public IGMedia.APIRequestCreateComment setParams(Map<String,Object> params)
setParams in class APIRequest<IGComment>public IGMedia.APIRequestCreateComment setMessage(String message)
public IGMedia.APIRequestCreateComment requestAllFields()
public IGMedia.APIRequestCreateComment requestAllFields(boolean value)
public IGMedia.APIRequestCreateComment requestFields(List<String> fields)
requestFields in class APIRequest<IGComment>public IGMedia.APIRequestCreateComment requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<IGComment>public IGMedia.APIRequestCreateComment requestField(String field)
requestField in class APIRequest<IGComment>public IGMedia.APIRequestCreateComment requestField(String field, boolean value)
requestField in class APIRequest<IGComment>Copyright © 2020. All rights reserved.