public static class AutomotiveModel.APIRequestGet extends APIRequest<AutomotiveModel>
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 AutomotiveModel getLastResponse()
getLastResponse
in class APIRequest<AutomotiveModel>
public AutomotiveModel parseResponse(String response) throws APIException
parseResponse
in class APIRequest<AutomotiveModel>
APIException
public AutomotiveModel execute() throws APIException
execute
in class APIRequest<AutomotiveModel>
APIException
public AutomotiveModel execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<AutomotiveModel>
APIException
public com.google.common.util.concurrent.ListenableFuture<AutomotiveModel> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<AutomotiveModel> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public AutomotiveModel.APIRequestGet setParam(String param, Object value)
setParam
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet setParams(Map<String,Object> params)
setParams
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet requestAllFields()
public AutomotiveModel.APIRequestGet requestAllFields(boolean value)
public AutomotiveModel.APIRequestGet requestFields(List<String> fields)
requestFields
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet requestField(String field)
requestField
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet requestField(String field, boolean value)
requestField
in class APIRequest<AutomotiveModel>
public AutomotiveModel.APIRequestGet requestApplinksField()
public AutomotiveModel.APIRequestGet requestApplinksField(boolean value)
public AutomotiveModel.APIRequestGet requestAutomotiveModelIdField()
public AutomotiveModel.APIRequestGet requestAutomotiveModelIdField(boolean value)
public AutomotiveModel.APIRequestGet requestAvailabilityField()
public AutomotiveModel.APIRequestGet requestAvailabilityField(boolean value)
public AutomotiveModel.APIRequestGet requestBodyStyleField()
public AutomotiveModel.APIRequestGet requestBodyStyleField(boolean value)
public AutomotiveModel.APIRequestGet requestCurrencyField()
public AutomotiveModel.APIRequestGet requestCurrencyField(boolean value)
public AutomotiveModel.APIRequestGet requestCustomLabel0Field()
public AutomotiveModel.APIRequestGet requestCustomLabel0Field(boolean value)
public AutomotiveModel.APIRequestGet requestDescriptionField()
public AutomotiveModel.APIRequestGet requestDescriptionField(boolean value)
public AutomotiveModel.APIRequestGet requestDrivetrainField()
public AutomotiveModel.APIRequestGet requestDrivetrainField(boolean value)
public AutomotiveModel.APIRequestGet requestExteriorColorField()
public AutomotiveModel.APIRequestGet requestExteriorColorField(boolean value)
public AutomotiveModel.APIRequestGet requestFuelTypeField()
public AutomotiveModel.APIRequestGet requestFuelTypeField(boolean value)
public AutomotiveModel.APIRequestGet requestGenerationField()
public AutomotiveModel.APIRequestGet requestGenerationField(boolean value)
public AutomotiveModel.APIRequestGet requestIdField()
public AutomotiveModel.APIRequestGet requestIdField(boolean value)
public AutomotiveModel.APIRequestGet requestImagesField()
public AutomotiveModel.APIRequestGet requestImagesField(boolean value)
public AutomotiveModel.APIRequestGet requestInteriorColorField()
public AutomotiveModel.APIRequestGet requestInteriorColorField(boolean value)
public AutomotiveModel.APIRequestGet requestInteriorUpholsteryField()
public AutomotiveModel.APIRequestGet requestInteriorUpholsteryField(boolean value)
public AutomotiveModel.APIRequestGet requestMakeField()
public AutomotiveModel.APIRequestGet requestMakeField(boolean value)
public AutomotiveModel.APIRequestGet requestModelField()
public AutomotiveModel.APIRequestGet requestModelField(boolean value)
public AutomotiveModel.APIRequestGet requestPriceField()
public AutomotiveModel.APIRequestGet requestPriceField(boolean value)
public AutomotiveModel.APIRequestGet requestSanitizedImagesField()
public AutomotiveModel.APIRequestGet requestSanitizedImagesField(boolean value)
public AutomotiveModel.APIRequestGet requestTitleField()
public AutomotiveModel.APIRequestGet requestTitleField(boolean value)
public AutomotiveModel.APIRequestGet requestTransmissionField()
public AutomotiveModel.APIRequestGet requestTransmissionField(boolean value)
public AutomotiveModel.APIRequestGet requestTrimField()
public AutomotiveModel.APIRequestGet requestTrimField(boolean value)
public AutomotiveModel.APIRequestGet requestUrlField()
public AutomotiveModel.APIRequestGet requestUrlField(boolean value)
public AutomotiveModel.APIRequestGet requestYearField()
public AutomotiveModel.APIRequestGet requestYearField(boolean value)
Copyright © 2018. All rights reserved.