public class ClusterUpgradeHistoryApi extends Object
| 构造器和说明 |
|---|
ClusterUpgradeHistoryApi() |
ClusterUpgradeHistoryApi(ApiClient apiClient) |
public ClusterUpgradeHistoryApi()
public ClusterUpgradeHistoryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call getClusterUpgradeHistoriesCall(GetClusterUpgradeHistoriesRequestBody getClusterUpgradeHistoriesRequestBody, ApiCallback _callback) throws ApiException
getClusterUpgradeHistoriesRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<ClusterUpgradeHistory> getClusterUpgradeHistories(GetClusterUpgradeHistoriesRequestBody getClusterUpgradeHistoriesRequestBody) throws ApiException
getClusterUpgradeHistoriesRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<ClusterUpgradeHistory>> getClusterUpgradeHistoriesWithHttpInfo(GetClusterUpgradeHistoriesRequestBody getClusterUpgradeHistoriesRequestBody) throws ApiException
getClusterUpgradeHistoriesRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getClusterUpgradeHistoriesAsync(GetClusterUpgradeHistoriesRequestBody getClusterUpgradeHistoriesRequestBody, ApiCallback<List<ClusterUpgradeHistory>> _callback) throws ApiException
getClusterUpgradeHistoriesRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getClusterUpgradeHistoriesConnectionCall(GetClusterUpgradeHistoriesConnectionRequestBody getClusterUpgradeHistoriesConnectionRequestBody, ApiCallback _callback) throws ApiException
getClusterUpgradeHistoriesConnectionRequestBody - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ClusterUpgradeHistoryConnection getClusterUpgradeHistoriesConnection(GetClusterUpgradeHistoriesConnectionRequestBody getClusterUpgradeHistoriesConnectionRequestBody) throws ApiException
getClusterUpgradeHistoriesConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<ClusterUpgradeHistoryConnection> getClusterUpgradeHistoriesConnectionWithHttpInfo(GetClusterUpgradeHistoriesConnectionRequestBody getClusterUpgradeHistoriesConnectionRequestBody) throws ApiException
getClusterUpgradeHistoriesConnectionRequestBody - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getClusterUpgradeHistoriesConnectionAsync(GetClusterUpgradeHistoriesConnectionRequestBody getClusterUpgradeHistoriesConnectionRequestBody, ApiCallback<ClusterUpgradeHistoryConnection> _callback) throws ApiException
getClusterUpgradeHistoriesConnectionRequestBody - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | * x-tower-request-id - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.