public class VersionApi extends Object
Constructor and Description |
---|
VersionApi() |
VersionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
VersionInfo |
getCode()
get the code version
|
com.squareup.okhttp.Call |
getCodeAsync(ApiCallback<VersionInfo> callback)
(asynchronously)
get the code version
|
com.squareup.okhttp.Call |
getCodeCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCode
|
ApiResponse<VersionInfo> |
getCodeWithHttpInfo()
get the code version
|
void |
setApiClient(ApiClient apiClient) |
public VersionApi()
public VersionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getCodeCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic VersionInfo getCode() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<VersionInfo> getCodeWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCodeAsync(ApiCallback<VersionInfo> 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.