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