Package net.troja.eve.esi.api
Class InsuranceApi
- java.lang.Object
-
- net.troja.eve.esi.api.InsuranceApi
-
public class InsuranceApi extends Object
-
-
Constructor Summary
Constructors Constructor Description InsuranceApi()InsuranceApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()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 secondsokhttp3.CallgetInsurancePricesAsync(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 secondsokhttp3.CallgetInsurancePricesCall(String acceptLanguage, String datasource, String ifNoneMatch, String language, ApiCallback _callback)Build call for getInsurancePricesApiResponse<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 secondsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
InsuranceApi
public InsuranceApi()
-
InsuranceApi
public InsuranceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getInsurancePricesCall
public okhttp3.Call getInsurancePricesCall(String acceptLanguage, String datasource, String ifNoneMatch, String language, ApiCallback _callback) throws ApiException
Build call for getInsurancePrices- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getInsurancePrices
public List<InsurancePricesResponse> getInsurancePrices(String acceptLanguage, String datasource, String ifNoneMatch, String language) throws ApiException
List insurance levels Return available insurance levels for all ship types --- This route is cached for up to 3600 seconds- Parameters:
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)- Returns:
- List<InsurancePricesResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsurancePricesWithHttpInfo
public ApiResponse<List<InsurancePricesResponse>> getInsurancePricesWithHttpInfo(String acceptLanguage, String datasource, String ifNoneMatch, String language) throws ApiException
List insurance levels Return available insurance levels for all ship types --- This route is cached for up to 3600 seconds- Parameters:
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)- Returns:
- ApiResponse<List<InsurancePricesResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsurancePricesAsync
public okhttp3.Call getInsurancePricesAsync(String acceptLanguage, String datasource, String ifNoneMatch, String language, ApiCallback<List<InsurancePricesResponse>> _callback) throws ApiException
List insurance levels (asynchronously) Return available insurance levels for all ship types --- This route is cached for up to 3600 seconds- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-