public class ElfImageApi extends Object
| 构造器和说明 |
|---|
ElfImageApi() |
ElfImageApi(ApiClient apiClient) |
public ElfImageApi()
public ElfImageApi(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 createElfImageCall(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String description,
String uploadTaskId,
ApiCallback _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)description - (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 List<UploadTask> createElfImage(byte[] _file, String clusterId, String name, String size, String sizeUnit, String description, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)description - (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<List<UploadTask>> createElfImageWithHttpInfo(byte[] _file, String clusterId, String name, String size, String sizeUnit, String description, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)description - (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 createElfImageAsync(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String description,
String uploadTaskId,
ApiCallback<List<UploadTask>> _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)description - (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 - |
public okhttp3.Call deleteElfImageCall(ElfImageDeletionParams elfImageDeletionParams, ApiCallback _callback) throws ApiException
elfImageDeletionParams - (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<WithTaskDeleteElfImage> deleteElfImage(ElfImageDeletionParams elfImageDeletionParams) throws ApiException
elfImageDeletionParams - (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<WithTaskDeleteElfImage>> deleteElfImageWithHttpInfo(ElfImageDeletionParams elfImageDeletionParams) throws ApiException
elfImageDeletionParams - (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 deleteElfImageAsync(ElfImageDeletionParams elfImageDeletionParams, ApiCallback<List<WithTaskDeleteElfImage>> _callback) throws ApiException
elfImageDeletionParams - (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 getElfImagesCall(GetElfImagesRequestBody getElfImagesRequestBody, ApiCallback _callback) throws ApiException
getElfImagesRequestBody - (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<ElfImage> getElfImages(GetElfImagesRequestBody getElfImagesRequestBody) throws ApiException
getElfImagesRequestBody - (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<ElfImage>> getElfImagesWithHttpInfo(GetElfImagesRequestBody getElfImagesRequestBody) throws ApiException
getElfImagesRequestBody - (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 getElfImagesAsync(GetElfImagesRequestBody getElfImagesRequestBody, ApiCallback<List<ElfImage>> _callback) throws ApiException
getElfImagesRequestBody - (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 getElfImagesConnectionCall(GetElfImagesConnectionRequestBody getElfImagesConnectionRequestBody, ApiCallback _callback) throws ApiException
getElfImagesConnectionRequestBody - (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 ElfImageConnection getElfImagesConnection(GetElfImagesConnectionRequestBody getElfImagesConnectionRequestBody) throws ApiException
getElfImagesConnectionRequestBody - (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<ElfImageConnection> getElfImagesConnectionWithHttpInfo(GetElfImagesConnectionRequestBody getElfImagesConnectionRequestBody) throws ApiException
getElfImagesConnectionRequestBody - (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 getElfImagesConnectionAsync(GetElfImagesConnectionRequestBody getElfImagesConnectionRequestBody, ApiCallback<ElfImageConnection> _callback) throws ApiException
getElfImagesConnectionRequestBody - (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 updateElfImageCall(ElfImageUpdationParams elfImageUpdationParams, ApiCallback _callback) throws ApiException
elfImageUpdationParams - (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<WithTaskElfImage> updateElfImage(ElfImageUpdationParams elfImageUpdationParams) throws ApiException
elfImageUpdationParams - (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<WithTaskElfImage>> updateElfImageWithHttpInfo(ElfImageUpdationParams elfImageUpdationParams) throws ApiException
elfImageUpdationParams - (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 updateElfImageAsync(ElfImageUpdationParams elfImageUpdationParams, ApiCallback<List<WithTaskElfImage>> _callback) throws ApiException
elfImageUpdationParams - (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.