public class CountriesApi extends Object
| Constructor and Description |
|---|
CountriesApi() |
CountriesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
countriesGet()
Get all country codes
Get all countries
|
com.squareup.okhttp.Call |
countriesGetAsync(ApiCallback<String> callback)
Get all country codes (asynchronously)
Get all countries
|
com.squareup.okhttp.Call |
countriesGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for countriesGet
|
ApiResponse<String> |
countriesGetWithHttpInfo()
Get all country codes
Get all countries
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public CountriesApi()
public CountriesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call countriesGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String countriesGet() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> countriesGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call countriesGetAsync(ApiCallback<String> callback) throws ApiException
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.