public class OvfApi extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
List<ExportFileDownloadLinks> |
getExportFileDownloadLinks(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams) |
okhttp3.Call |
getExportFileDownloadLinksAsync(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams,
ApiCallback<List<ExportFileDownloadLinks>> _callback)
(asynchronously)
|
okhttp3.Call |
getExportFileDownloadLinksCall(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams,
ApiCallback _callback)
Build call for getExportFileDownloadLinks
|
ApiResponse<List<ExportFileDownloadLinks>> |
getExportFileDownloadLinksWithHttpInfo(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams) |
int |
getHostIndex() |
ParsedOVF |
parseOvf(byte[] _file,
String clusterId) |
okhttp3.Call |
parseOvfAsync(byte[] _file,
String clusterId,
ApiCallback<ParsedOVF> _callback)
(asynchronously)
|
okhttp3.Call |
parseOvfCall(byte[] _file,
String clusterId,
ApiCallback _callback)
Build call for parseOvf
|
ApiResponse<ParsedOVF> |
parseOvfWithHttpInfo(byte[] _file,
String clusterId) |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
UploadTask |
uploadElfFile(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId) |
okhttp3.Call |
uploadElfFileAsync(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId,
ApiCallback<UploadTask> _callback)
(asynchronously)
|
okhttp3.Call |
uploadElfFileCall(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId,
ApiCallback _callback)
Build call for uploadElfFile
|
ApiResponse<UploadTask> |
uploadElfFileWithHttpInfo(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId) |
public OvfApi()
public OvfApi(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 getExportFileDownloadLinksCall(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams, ApiCallback _callback) throws ApiException
getExportFileDownloadLinksParams - (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<ExportFileDownloadLinks> getExportFileDownloadLinks(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams) throws ApiException
getExportFileDownloadLinksParams - (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<ExportFileDownloadLinks>> getExportFileDownloadLinksWithHttpInfo(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams) throws ApiException
getExportFileDownloadLinksParams - (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 getExportFileDownloadLinksAsync(GetExportFileDownloadLinksParams getExportFileDownloadLinksParams, ApiCallback<List<ExportFileDownloadLinks>> _callback) throws ApiException
getExportFileDownloadLinksParams - (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 parseOvfCall(byte[] _file,
String clusterId,
ApiCallback _callback)
throws ApiException
_file - (required)clusterId - (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 ParsedOVF parseOvf(byte[] _file, String clusterId) throws ApiException
_file - (required)clusterId - (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<ParsedOVF> parseOvfWithHttpInfo(byte[] _file, String clusterId) throws ApiException
_file - (required)clusterId - (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 parseOvfAsync(byte[] _file,
String clusterId,
ApiCallback<ParsedOVF> _callback)
throws ApiException
_file - (required)clusterId - (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 uploadElfFileCall(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId,
ApiCallback _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)uploadTaskId - (optional)_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 UploadTask uploadElfFile(byte[] _file, String clusterId, String name, String size, String sizeUnit, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)uploadTaskId - (optional)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<UploadTask> uploadElfFileWithHttpInfo(byte[] _file, String clusterId, String name, String size, String sizeUnit, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)uploadTaskId - (optional)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 uploadElfFileAsync(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String uploadTaskId,
ApiCallback<UploadTask> _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)uploadTaskId - (optional)_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.