Package org.openapitools.client.api
Class VersionApi
- java.lang.Object
-
- org.openapitools.client.api.VersionApi
-
public class VersionApi extends Object
-
-
Constructor Summary
Constructors Constructor Description VersionApi()VersionApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()VersionDtogetRestAPIVersion()Get Rest API version Retrieves the version of the Rest API.okhttp3.CallgetRestAPIVersionAsync(ApiCallback<VersionDto> _callback)Get Rest API version (asynchronously) Retrieves the version of the Rest API.okhttp3.CallgetRestAPIVersionCall(ApiCallback _callback)Build call for getRestAPIVersionApiResponse<VersionDto>getRestAPIVersionWithHttpInfo()Get Rest API version Retrieves the version of the Rest API.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
VersionApi
public VersionApi()
-
VersionApi
public VersionApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getRestAPIVersionCall
public okhttp3.Call getRestAPIVersionCall(ApiCallback _callback) throws ApiException
Build call for getRestAPIVersion- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getRestAPIVersion
public VersionDto getRestAPIVersion() throws ApiException
Get Rest API version Retrieves the version of the Rest API.- Returns:
- VersionDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRestAPIVersionWithHttpInfo
public ApiResponse<VersionDto> getRestAPIVersionWithHttpInfo() throws ApiException
Get Rest API version Retrieves the version of the Rest API.- Returns:
- ApiResponse<VersionDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getRestAPIVersionAsync
public okhttp3.Call getRestAPIVersionAsync(ApiCallback<VersionDto> _callback) throws ApiException
Get Rest API version (asynchronously) Retrieves the version of the Rest API.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-