public class SnapshotPlanApi extends Object
| 构造器和说明 |
|---|
SnapshotPlanApi() |
SnapshotPlanApi(ApiClient apiClient) |
public SnapshotPlanApi()
public SnapshotPlanApi(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 createSnapshotPlanCall(List<SnapshotPlanCreationParams> snapshotPlanCreationParams, ApiCallback _callback) throws ApiException
snapshotPlanCreationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnapshotPlan> createSnapshotPlan(List<SnapshotPlanCreationParams> snapshotPlanCreationParams) throws ApiException
snapshotPlanCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnapshotPlan>> createSnapshotPlanWithHttpInfo(List<SnapshotPlanCreationParams> snapshotPlanCreationParams) throws ApiException
snapshotPlanCreationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createSnapshotPlanAsync(List<SnapshotPlanCreationParams> snapshotPlanCreationParams, ApiCallback<List<WithTaskSnapshotPlan>> _callback) throws ApiException
snapshotPlanCreationParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteSnapshotPlanCall(SnapshotPlanDeletionParams snapshotPlanDeletionParams, ApiCallback _callback) throws ApiException
snapshotPlanDeletionParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskDeleteSnapshotPlan> deleteSnapshotPlan(SnapshotPlanDeletionParams snapshotPlanDeletionParams) throws ApiException
snapshotPlanDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskDeleteSnapshotPlan>> deleteSnapshotPlanWithHttpInfo(SnapshotPlanDeletionParams snapshotPlanDeletionParams) throws ApiException
snapshotPlanDeletionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteSnapshotPlanAsync(SnapshotPlanDeletionParams snapshotPlanDeletionParams, ApiCallback<List<WithTaskDeleteSnapshotPlan>> _callback) throws ApiException
snapshotPlanDeletionParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call executeSnapshotPlanCall(SnapshotPlanExecutionParams snapshotPlanExecutionParams, ApiCallback _callback) throws ApiException
snapshotPlanExecutionParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnapshotPlan> executeSnapshotPlan(SnapshotPlanExecutionParams snapshotPlanExecutionParams) throws ApiException
snapshotPlanExecutionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnapshotPlan>> executeSnapshotPlanWithHttpInfo(SnapshotPlanExecutionParams snapshotPlanExecutionParams) throws ApiException
snapshotPlanExecutionParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call executeSnapshotPlanAsync(SnapshotPlanExecutionParams snapshotPlanExecutionParams, ApiCallback<List<WithTaskSnapshotPlan>> _callback) throws ApiException
snapshotPlanExecutionParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call getSnapshotPlansCall(GetSnapshotPlansRequestBody getSnapshotPlansRequestBody, ApiCallback _callback) throws ApiException
getSnapshotPlansRequestBody - (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<SnapshotPlan> getSnapshotPlans(GetSnapshotPlansRequestBody getSnapshotPlansRequestBody) throws ApiException
getSnapshotPlansRequestBody - (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<SnapshotPlan>> getSnapshotPlansWithHttpInfo(GetSnapshotPlansRequestBody getSnapshotPlansRequestBody) throws ApiException
getSnapshotPlansRequestBody - (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 getSnapshotPlansAsync(GetSnapshotPlansRequestBody getSnapshotPlansRequestBody, ApiCallback<List<SnapshotPlan>> _callback) throws ApiException
getSnapshotPlansRequestBody - (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 getSnapshotPlansConnectionCall(GetSnapshotPlansConnectionRequestBody getSnapshotPlansConnectionRequestBody, ApiCallback _callback) throws ApiException
getSnapshotPlansConnectionRequestBody - (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 SnapshotPlanConnection getSnapshotPlansConnection(GetSnapshotPlansConnectionRequestBody getSnapshotPlansConnectionRequestBody) throws ApiException
getSnapshotPlansConnectionRequestBody - (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<SnapshotPlanConnection> getSnapshotPlansConnectionWithHttpInfo(GetSnapshotPlansConnectionRequestBody getSnapshotPlansConnectionRequestBody) throws ApiException
getSnapshotPlansConnectionRequestBody - (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 getSnapshotPlansConnectionAsync(GetSnapshotPlansConnectionRequestBody getSnapshotPlansConnectionRequestBody, ApiCallback<SnapshotPlanConnection> _callback) throws ApiException
getSnapshotPlansConnectionRequestBody - (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 resumeSnapshotPlanCall(SnapshotPlanResumeParams snapshotPlanResumeParams, ApiCallback _callback) throws ApiException
snapshotPlanResumeParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnapshotPlan> resumeSnapshotPlan(SnapshotPlanResumeParams snapshotPlanResumeParams) throws ApiException
snapshotPlanResumeParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnapshotPlan>> resumeSnapshotPlanWithHttpInfo(SnapshotPlanResumeParams snapshotPlanResumeParams) throws ApiException
snapshotPlanResumeParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call resumeSnapshotPlanAsync(SnapshotPlanResumeParams snapshotPlanResumeParams, ApiCallback<List<WithTaskSnapshotPlan>> _callback) throws ApiException
snapshotPlanResumeParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call suspendSnapshotPlanCall(SnapshotPlanSuspendedParams snapshotPlanSuspendedParams, ApiCallback _callback) throws ApiException
snapshotPlanSuspendedParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnapshotPlan> suspendSnapshotPlan(SnapshotPlanSuspendedParams snapshotPlanSuspendedParams) throws ApiException
snapshotPlanSuspendedParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnapshotPlan>> suspendSnapshotPlanWithHttpInfo(SnapshotPlanSuspendedParams snapshotPlanSuspendedParams) throws ApiException
snapshotPlanSuspendedParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call suspendSnapshotPlanAsync(SnapshotPlanSuspendedParams snapshotPlanSuspendedParams, ApiCallback<List<WithTaskSnapshotPlan>> _callback) throws ApiException
snapshotPlanSuspendedParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateSnapshotPlanCall(SnapshotPlanUpdationParams snapshotPlanUpdationParams, ApiCallback _callback) throws ApiException
snapshotPlanUpdationParams - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<WithTaskSnapshotPlan> updateSnapshotPlan(SnapshotPlanUpdationParams snapshotPlanUpdationParams) throws ApiException
snapshotPlanUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<WithTaskSnapshotPlan>> updateSnapshotPlanWithHttpInfo(SnapshotPlanUpdationParams snapshotPlanUpdationParams) throws ApiException
snapshotPlanUpdationParams - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call updateSnapshotPlanAsync(SnapshotPlanUpdationParams snapshotPlanUpdationParams, ApiCallback<List<WithTaskSnapshotPlan>> _callback) throws ApiException
snapshotPlanUpdationParams - (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 | * CommonHeader - | |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
Copyright © 2025. All rights reserved.