public static class OutcomePredictionPoint.APIRequestGet extends APIRequest<OutcomePredictionPoint>
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 |
---|
APIRequestGet(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 APIRequestGet(String nodeId, APIContext context)
public OutcomePredictionPoint getLastResponse()
getLastResponse
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint parseResponse(String response) throws APIException
parseResponse
in class APIRequest<OutcomePredictionPoint>
APIException
public OutcomePredictionPoint execute() throws APIException
execute
in class APIRequest<OutcomePredictionPoint>
APIException
public OutcomePredictionPoint execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<OutcomePredictionPoint>
APIException
public com.google.common.util.concurrent.ListenableFuture<OutcomePredictionPoint> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<OutcomePredictionPoint> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public OutcomePredictionPoint.APIRequestGet setParam(String param, Object value)
setParam
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet setParams(Map<String,Object> params)
setParams
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet requestAllFields()
public OutcomePredictionPoint.APIRequestGet requestAllFields(boolean value)
public OutcomePredictionPoint.APIRequestGet requestFields(List<String> fields)
requestFields
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet requestField(String field)
requestField
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet requestField(String field, boolean value)
requestField
in class APIRequest<OutcomePredictionPoint>
public OutcomePredictionPoint.APIRequestGet requestActionsField()
public OutcomePredictionPoint.APIRequestGet requestActionsField(boolean value)
public OutcomePredictionPoint.APIRequestGet requestImpressionsField()
public OutcomePredictionPoint.APIRequestGet requestImpressionsField(boolean value)
public OutcomePredictionPoint.APIRequestGet requestReachField()
public OutcomePredictionPoint.APIRequestGet requestReachField(boolean value)
public OutcomePredictionPoint.APIRequestGet requestSpendField()
public OutcomePredictionPoint.APIRequestGet requestSpendField(boolean value)
public OutcomePredictionPoint.APIRequestGet requestIdField()
public OutcomePredictionPoint.APIRequestGet requestIdField(boolean value)
Copyright © 2018. All rights reserved.