public class CoreApi extends Object
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
V1APIVersions |
getAPIVersions()
get available API versions
|
com.squareup.okhttp.Call |
getAPIVersionsAsync(ApiCallback<V1APIVersions> callback)
(asynchronously)
get available API versions
|
com.squareup.okhttp.Call |
getAPIVersionsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAPIVersions
|
ApiResponse<V1APIVersions> |
getAPIVersionsWithHttpInfo()
get available API versions
|
void |
setApiClient(ApiClient apiClient) |
public CoreApi()
public CoreApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAPIVersionsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic V1APIVersions getAPIVersions() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<V1APIVersions> getAPIVersionsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAPIVersionsAsync(ApiCallback<V1APIVersions> 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 © 2018. All rights reserved.