public class LanguagesApi extends Object
Constructor and Description |
---|
LanguagesApi() |
LanguagesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
List<String> |
getLanguages()
Get supported languages
|
com.squareup.okhttp.Call |
getLanguagesAsync(ApiCallback<List<String>> callback)
Get supported languages (asynchronously)
|
ApiResponse<List<String>> |
getLanguagesWithHttpInfo()
Get supported languages
|
void |
setApiClient(ApiClient apiClient) |
public LanguagesApi()
public LanguagesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<String> getLanguages() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<String>> getLanguagesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLanguagesAsync(ApiCallback<List<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 DocDoku. All rights reserved.