public class DiskPoolApi extends Object
| 构造器和说明 |
|---|
DiskPoolApi() |
DiskPoolApi(ApiClient apiClient) |
public DiskPoolApi()
public DiskPoolApi(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 getDiskPoolsCall(GetDiskPoolsRequestBody getDiskPoolsRequestBody, ApiCallback _callback) throws ApiException
getDiskPoolsRequestBody - (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<DiskPool> getDiskPools(GetDiskPoolsRequestBody getDiskPoolsRequestBody) throws ApiException
getDiskPoolsRequestBody - (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<DiskPool>> getDiskPoolsWithHttpInfo(GetDiskPoolsRequestBody getDiskPoolsRequestBody) throws ApiException
getDiskPoolsRequestBody - (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 getDiskPoolsAsync(GetDiskPoolsRequestBody getDiskPoolsRequestBody, ApiCallback<List<DiskPool>> _callback) throws ApiException
getDiskPoolsRequestBody - (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 getDiskPoolsConnectionCall(GetDiskPoolsConnectionRequestBody getDiskPoolsConnectionRequestBody, ApiCallback _callback) throws ApiException
getDiskPoolsConnectionRequestBody - (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 DiskPoolConnection getDiskPoolsConnection(GetDiskPoolsConnectionRequestBody getDiskPoolsConnectionRequestBody) throws ApiException
getDiskPoolsConnectionRequestBody - (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<DiskPoolConnection> getDiskPoolsConnectionWithHttpInfo(GetDiskPoolsConnectionRequestBody getDiskPoolsConnectionRequestBody) throws ApiException
getDiskPoolsConnectionRequestBody - (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 getDiskPoolsConnectionAsync(GetDiskPoolsConnectionRequestBody getDiskPoolsConnectionRequestBody, ApiCallback<DiskPoolConnection> _callback) throws ApiException
getDiskPoolsConnectionRequestBody - (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.