Package io.swagger.client.api
Class CarSearchServiceApi
- java.lang.Object
-
- io.swagger.client.api.CarSearchServiceApi
-
public class CarSearchServiceApi extends Object
-
-
Constructor Summary
Constructors Constructor Description CarSearchServiceApi()
CarSearchServiceApi(ApiClient apiClient)
-
Method Summary
-
-
-
Constructor Detail
-
CarSearchServiceApi
public CarSearchServiceApi()
-
CarSearchServiceApi
public CarSearchServiceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCancellationPolicyCall
public com.squareup.okhttp.Call getCancellationPolicyCall(CarCancellationPolicyCriteria body, String sessionId, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getCancellationPolicy- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getCancellationPolicy
public ResponsePackCarCancellationPolicyResponse getCancellationPolicy(CarCancellationPolicyCriteria body, String sessionId, String conversationId, String X_API_KEY) throws ApiException
Car Book Car Book- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ResponsePackCarCancellationPolicyResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCancellationPolicyWithHttpInfo
public ApiResponse<ResponsePackCarCancellationPolicyResponse> getCancellationPolicyWithHttpInfo(CarCancellationPolicyCriteria body, String sessionId, String conversationId, String X_API_KEY) throws ApiException
Car Book Car Book- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ApiResponse<ResponsePackCarCancellationPolicyResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCancellationPolicyAsync
public com.squareup.okhttp.Call getCancellationPolicyAsync(CarCancellationPolicyCriteria body, String sessionId, String conversationId, String X_API_KEY, ApiCallback<ResponsePackCarCancellationPolicyResponse> callback) throws ApiException
Car Book (asynchronously) Car Book- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
performCarSearchCall
public com.squareup.okhttp.Call performCarSearchCall(CarSearchCriteria body, String sessionId, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for performCarSearch- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
performCarSearch
public ResponsePackCar performCarSearch(CarSearchCriteria body, String sessionId, String conversationId, String X_API_KEY) throws ApiException
Car search Car Search- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ResponsePackCar
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
performCarSearchWithHttpInfo
public ApiResponse<ResponsePackCar> performCarSearchWithHttpInfo(CarSearchCriteria body, String sessionId, String conversationId, String X_API_KEY) throws ApiException
Car search Car Search- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ApiResponse<ResponsePackCar>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
performCarSearchAsync
public com.squareup.okhttp.Call performCarSearchAsync(CarSearchCriteria body, String sessionId, String conversationId, String X_API_KEY, ApiCallback<ResponsePackCar> callback) throws ApiException
Car search (asynchronously) Car Search- Parameters:
body
- (required)sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
-