public static class ProductCatalog.APIRequestCreateAutomotiveModel extends APIRequest<AutomotiveModel>
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 |
|---|
APIRequestCreateAutomotiveModel(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 APIRequestCreateAutomotiveModel(String nodeId, APIContext context)
public AutomotiveModel getLastResponse()
getLastResponse in class APIRequest<AutomotiveModel>public AutomotiveModel parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<AutomotiveModel>APIExceptionpublic AutomotiveModel execute() throws APIException
execute in class APIRequest<AutomotiveModel>APIExceptionpublic AutomotiveModel execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<AutomotiveModel>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AutomotiveModel> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AutomotiveModel> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductCatalog.APIRequestCreateAutomotiveModel setParam(String param, Object value)
setParam in class APIRequest<AutomotiveModel>public ProductCatalog.APIRequestCreateAutomotiveModel setParams(Map<String,Object> params)
setParams in class APIRequest<AutomotiveModel>public ProductCatalog.APIRequestCreateAutomotiveModel setAutomotiveModelId(String automotiveModelId)
public ProductCatalog.APIRequestCreateAutomotiveModel setBodyStyle(AutomotiveModel.EnumBodyStyle bodyStyle)
public ProductCatalog.APIRequestCreateAutomotiveModel setBodyStyle(String bodyStyle)
public ProductCatalog.APIRequestCreateAutomotiveModel setCurrency(String currency)
public ProductCatalog.APIRequestCreateAutomotiveModel setDescription(String description)
public ProductCatalog.APIRequestCreateAutomotiveModel setImages(List<Object> images)
public ProductCatalog.APIRequestCreateAutomotiveModel setImages(String images)
public ProductCatalog.APIRequestCreateAutomotiveModel setMake(String make)
public ProductCatalog.APIRequestCreateAutomotiveModel setModel(String model)
public ProductCatalog.APIRequestCreateAutomotiveModel setPrice(Long price)
public ProductCatalog.APIRequestCreateAutomotiveModel setPrice(String price)
public ProductCatalog.APIRequestCreateAutomotiveModel setTitle(String title)
public ProductCatalog.APIRequestCreateAutomotiveModel setUrl(String url)
public ProductCatalog.APIRequestCreateAutomotiveModel setYear(Long year)
public ProductCatalog.APIRequestCreateAutomotiveModel setYear(String year)
public ProductCatalog.APIRequestCreateAutomotiveModel requestAllFields()
public ProductCatalog.APIRequestCreateAutomotiveModel requestAllFields(boolean value)
public ProductCatalog.APIRequestCreateAutomotiveModel requestFields(List<String> fields)
requestFields in class APIRequest<AutomotiveModel>public ProductCatalog.APIRequestCreateAutomotiveModel requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<AutomotiveModel>public ProductCatalog.APIRequestCreateAutomotiveModel requestField(String field)
requestField in class APIRequest<AutomotiveModel>public ProductCatalog.APIRequestCreateAutomotiveModel requestField(String field, boolean value)
requestField in class APIRequest<AutomotiveModel>Copyright © 2021. All rights reserved.