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