public class VehicleApi extends Object
| Constructor and Description |
|---|
VehicleApi() |
VehicleApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
RiskCalculationResponse |
calcRisk(String xApiKey,
String xAutotecId,
RiskCalculationRequest request)
Calculate Risk of Loss for Requested Vehicles
Method for calculating Loss Risk Prediction for a list of vehicles.
|
com.squareup.okhttp.Call |
calcRiskAsync(String xApiKey,
String xAutotecId,
RiskCalculationRequest request,
ApiCallback<RiskCalculationResponse> callback)
Calculate Risk of Loss for Requested Vehicles (asynchronously)
Method for calculating Loss Risk Prediction for a list of vehicles.
|
com.squareup.okhttp.Call |
calcRiskCall(String xApiKey,
String xAutotecId,
RiskCalculationRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for calcRisk
|
RiskCalculationPlusResponse |
calcRiskPlus(String xApiKey,
String xAutotecId,
RiskCalculationRequest request)
Calculate Risk of Loss and return Full History for Requested Vehicles
Method for calculating Loss Risk Prediction and returning Full History for a list of vehicles.
|
com.squareup.okhttp.Call |
calcRiskPlusAsync(String xApiKey,
String xAutotecId,
RiskCalculationRequest request,
ApiCallback<RiskCalculationPlusResponse> callback)
Calculate Risk of Loss and return Full History for Requested Vehicles (asynchronously)
Method for calculating Loss Risk Prediction and returning Full History for a list of vehicles.
|
com.squareup.okhttp.Call |
calcRiskPlusCall(String xApiKey,
String xAutotecId,
RiskCalculationRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for calcRiskPlus
|
ApiResponse<RiskCalculationPlusResponse> |
calcRiskPlusWithHttpInfo(String xApiKey,
String xAutotecId,
RiskCalculationRequest request)
Calculate Risk of Loss and return Full History for Requested Vehicles
Method for calculating Loss Risk Prediction and returning Full History for a list of vehicles.
|
ApiResponse<RiskCalculationResponse> |
calcRiskWithHttpInfo(String xApiKey,
String xAutotecId,
RiskCalculationRequest request)
Calculate Risk of Loss for Requested Vehicles
Method for calculating Loss Risk Prediction for a list of vehicles.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public VehicleApi()
public VehicleApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call calcRiskCall(String xApiKey, String xAutotecId, RiskCalculationRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The calculation request (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RiskCalculationResponse calcRisk(String xApiKey, String xAutotecId, RiskCalculationRequest request) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The calculation request (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RiskCalculationResponse> calcRiskWithHttpInfo(String xApiKey, String xAutotecId, RiskCalculationRequest request) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The calculation request (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call calcRiskAsync(String xApiKey, String xAutotecId, RiskCalculationRequest request, ApiCallback<RiskCalculationResponse> callback) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The calculation request (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call calcRiskPlusCall(String xApiKey, String xAutotecId, RiskCalculationRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The request (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic RiskCalculationPlusResponse calcRiskPlus(String xApiKey, String xAutotecId, RiskCalculationRequest request) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The request (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RiskCalculationPlusResponse> calcRiskPlusWithHttpInfo(String xApiKey, String xAutotecId, RiskCalculationRequest request) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The request (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call calcRiskPlusAsync(String xApiKey, String xAutotecId, RiskCalculationRequest request, ApiCallback<RiskCalculationPlusResponse> callback) throws ApiException
xApiKey - the AutoTec assigned authentication credential for the calling customer (required)xAutotecId - the AutoTec assigned identification id for the calling customer (required)request - The request (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.