public static class Photo.APIRequestCreateLike extends APIRequest<Photo>
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 |
|---|
APIRequestCreateLike(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 APIRequestCreateLike(String nodeId, APIContext context)
public Photo getLastResponse()
getLastResponse in class APIRequest<Photo>public Photo parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Photo>APIExceptionpublic Photo execute() throws APIException
execute in class APIRequest<Photo>APIExceptionpublic Photo execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Photo>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Photo> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Photo> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic Photo.APIRequestCreateLike setParam(String param, Object value)
setParam in class APIRequest<Photo>public Photo.APIRequestCreateLike setParams(Map<String,Object> params)
setParams in class APIRequest<Photo>public Photo.APIRequestCreateLike setFeedbackSource(String feedbackSource)
public Photo.APIRequestCreateLike setNectarModule(String nectarModule)
public Photo.APIRequestCreateLike setNotify(Boolean notify)
public Photo.APIRequestCreateLike setNotify(String notify)
public Photo.APIRequestCreateLike setTracking(String tracking)
public Photo.APIRequestCreateLike requestAllFields()
public Photo.APIRequestCreateLike requestAllFields(boolean value)
public Photo.APIRequestCreateLike requestFields(List<String> fields)
requestFields in class APIRequest<Photo>public Photo.APIRequestCreateLike requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Photo>public Photo.APIRequestCreateLike requestField(String field)
requestField in class APIRequest<Photo>public Photo.APIRequestCreateLike requestField(String field, boolean value)
requestField in class APIRequest<Photo>Copyright © 2020. All rights reserved.