public class InsuranceApi extends Object
| Constructor and Description |
|---|
InsuranceApi() |
InsuranceApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<InsurancePricesResponse> |
getInsurancePrices(String acceptLanguage,
String datasource,
String ifNoneMatch,
String language)
List insurance levels Return available insurance levels for all ship
types --- This route is cached for up to 3600 seconds
|
okhttp3.Call |
getInsurancePricesAsync(String acceptLanguage,
String datasource,
String ifNoneMatch,
String language,
ApiCallback<List<InsurancePricesResponse>> _callback)
List insurance levels (asynchronously) Return available insurance levels
for all ship types --- This route is cached for up to 3600 seconds
|
okhttp3.Call |
getInsurancePricesCall(String acceptLanguage,
String datasource,
String ifNoneMatch,
String language,
ApiCallback _callback)
Build call for getInsurancePrices
|
ApiResponse<List<InsurancePricesResponse>> |
getInsurancePricesWithHttpInfo(String acceptLanguage,
String datasource,
String ifNoneMatch,
String language)
List insurance levels Return available insurance levels for all ship
types --- This route is cached for up to 3600 seconds
|
void |
setApiClient(ApiClient apiClient) |
public InsuranceApi()
public InsuranceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getInsurancePricesCall(String acceptLanguage, String datasource, String ifNoneMatch, String language, ApiCallback _callback) throws ApiException
acceptLanguage - Language to use in the response (optional, default to en)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)language - Language to use in the response, takes precedence over
Accept-Language (optional, default to en)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<InsurancePricesResponse> getInsurancePrices(String acceptLanguage, String datasource, String ifNoneMatch, String language) throws ApiException
acceptLanguage - Language to use in the response (optional, default to en)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)language - Language to use in the response, takes precedence over
Accept-Language (optional, default to en)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic ApiResponse<List<InsurancePricesResponse>> getInsurancePricesWithHttpInfo(String acceptLanguage, String datasource, String ifNoneMatch, String language) throws ApiException
acceptLanguage - Language to use in the response (optional, default to en)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)language - Language to use in the response, takes precedence over
Accept-Language (optional, default to en)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic okhttp3.Call getInsurancePricesAsync(String acceptLanguage, String datasource, String ifNoneMatch, String language, ApiCallback<List<InsurancePricesResponse>> _callback) throws ApiException
acceptLanguage - Language to use in the response (optional, default to en)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)language - Language to use in the response, takes precedence over
Accept-Language (optional, default to en)_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 © 2023. All Rights Reserved.