public class BackupStoreRepositoryApi extends Object
| 构造器和说明 |
|---|
BackupStoreRepositoryApi() |
BackupStoreRepositoryApi(ApiClient apiClient) |
public BackupStoreRepositoryApi()
public BackupStoreRepositoryApi(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 getBackupStoreRepositoriesCall(GetBackupStoreRepositoriesRequestBody getBackupStoreRepositoriesRequestBody, ApiCallback _callback) throws ApiException
getBackupStoreRepositoriesRequestBody - (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<BackupStoreRepository> getBackupStoreRepositories(GetBackupStoreRepositoriesRequestBody getBackupStoreRepositoriesRequestBody) throws ApiException
getBackupStoreRepositoriesRequestBody - (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<BackupStoreRepository>> getBackupStoreRepositoriesWithHttpInfo(GetBackupStoreRepositoriesRequestBody getBackupStoreRepositoriesRequestBody) throws ApiException
getBackupStoreRepositoriesRequestBody - (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 getBackupStoreRepositoriesAsync(GetBackupStoreRepositoriesRequestBody getBackupStoreRepositoriesRequestBody, ApiCallback<List<BackupStoreRepository>> _callback) throws ApiException
getBackupStoreRepositoriesRequestBody - (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 getBackupStoreRepositoriesConnectionCall(GetBackupStoreRepositoriesConnectionRequestBody getBackupStoreRepositoriesConnectionRequestBody, ApiCallback _callback) throws ApiException
getBackupStoreRepositoriesConnectionRequestBody - (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 BackupStoreRepositoryConnection getBackupStoreRepositoriesConnection(GetBackupStoreRepositoriesConnectionRequestBody getBackupStoreRepositoriesConnectionRequestBody) throws ApiException
getBackupStoreRepositoriesConnectionRequestBody - (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<BackupStoreRepositoryConnection> getBackupStoreRepositoriesConnectionWithHttpInfo(GetBackupStoreRepositoriesConnectionRequestBody getBackupStoreRepositoriesConnectionRequestBody) throws ApiException
getBackupStoreRepositoriesConnectionRequestBody - (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 getBackupStoreRepositoriesConnectionAsync(GetBackupStoreRepositoriesConnectionRequestBody getBackupStoreRepositoriesConnectionRequestBody, ApiCallback<BackupStoreRepositoryConnection> _callback) throws ApiException
getBackupStoreRepositoriesConnectionRequestBody - (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.