public class ContentLibraryImageApi extends Object
| 构造器和说明 |
|---|
ContentLibraryImageApi() |
ContentLibraryImageApi(ApiClient apiClient) |
public ContentLibraryImageApi()
public ContentLibraryImageApi(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 createContentLibraryImageCall(byte[] _file,
String clusters,
String name,
String size,
String sizeUnit,
String description,
String uploadTaskId,
ApiCallback _callback)
throws ApiException
_file - (required)clusters - (required)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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public List<UploadTask> createContentLibraryImage(byte[] _file, String clusters, String name, String size, String sizeUnit, String description, String uploadTaskId) throws ApiException
_file - (required)clusters - (required)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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public ApiResponse<List<UploadTask>> createContentLibraryImageWithHttpInfo(byte[] _file, String clusters, String name, String size, String sizeUnit, String description, String uploadTaskId) throws ApiException
_file - (required)clusters - (required)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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call createContentLibraryImageAsync(byte[] _file,
String clusters,
String name,
String size,
String sizeUnit,
String description,
String uploadTaskId,
ApiCallback<List<UploadTask>> _callback)
throws ApiException
_file - (required)clusters - (required)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 - | |
| 304 | Not modified | - |
| 400 | Bad request | * CommonHeader - |
| 404 | Not found | * CommonHeader - |
| 500 | Server error | * CommonHeader - |
public okhttp3.Call deleteContentLibraryImageCall(ContentLibraryImageDeletionParams contentLibraryImageDeletionParams, ApiCallback _callback) throws ApiException
contentLibraryImageDeletionParams - (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<WithTaskDeleteContentLibraryImage> deleteContentLibraryImage(ContentLibraryImageDeletionParams contentLibraryImageDeletionParams) throws ApiException
contentLibraryImageDeletionParams - (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<WithTaskDeleteContentLibraryImage>> deleteContentLibraryImageWithHttpInfo(ContentLibraryImageDeletionParams contentLibraryImageDeletionParams) throws ApiException
contentLibraryImageDeletionParams - (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 deleteContentLibraryImageAsync(ContentLibraryImageDeletionParams contentLibraryImageDeletionParams, ApiCallback<List<WithTaskDeleteContentLibraryImage>> _callback) throws ApiException
contentLibraryImageDeletionParams - (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 distributeContentLibraryImageClustersCall(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams, ApiCallback _callback) throws ApiException
contentLibraryImageUpdationClusterParams - (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<WithTaskContentLibraryImage> distributeContentLibraryImageClusters(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams) throws ApiException
contentLibraryImageUpdationClusterParams - (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<WithTaskContentLibraryImage>> distributeContentLibraryImageClustersWithHttpInfo(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams) throws ApiException
contentLibraryImageUpdationClusterParams - (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 distributeContentLibraryImageClustersAsync(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams, ApiCallback<List<WithTaskContentLibraryImage>> _callback) throws ApiException
contentLibraryImageUpdationClusterParams - (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 getContentLibraryImagesCall(GetContentLibraryImagesRequestBody getContentLibraryImagesRequestBody, ApiCallback _callback) throws ApiException
getContentLibraryImagesRequestBody - (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<ContentLibraryImage> getContentLibraryImages(GetContentLibraryImagesRequestBody getContentLibraryImagesRequestBody) throws ApiException
getContentLibraryImagesRequestBody - (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<ContentLibraryImage>> getContentLibraryImagesWithHttpInfo(GetContentLibraryImagesRequestBody getContentLibraryImagesRequestBody) throws ApiException
getContentLibraryImagesRequestBody - (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 getContentLibraryImagesAsync(GetContentLibraryImagesRequestBody getContentLibraryImagesRequestBody, ApiCallback<List<ContentLibraryImage>> _callback) throws ApiException
getContentLibraryImagesRequestBody - (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 getContentLibraryImagesConnectionCall(GetContentLibraryImagesConnectionRequestBody getContentLibraryImagesConnectionRequestBody, ApiCallback _callback) throws ApiException
getContentLibraryImagesConnectionRequestBody - (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 ContentLibraryImageConnection getContentLibraryImagesConnection(GetContentLibraryImagesConnectionRequestBody getContentLibraryImagesConnectionRequestBody) throws ApiException
getContentLibraryImagesConnectionRequestBody - (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<ContentLibraryImageConnection> getContentLibraryImagesConnectionWithHttpInfo(GetContentLibraryImagesConnectionRequestBody getContentLibraryImagesConnectionRequestBody) throws ApiException
getContentLibraryImagesConnectionRequestBody - (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 getContentLibraryImagesConnectionAsync(GetContentLibraryImagesConnectionRequestBody getContentLibraryImagesConnectionRequestBody, ApiCallback<ContentLibraryImageConnection> _callback) throws ApiException
getContentLibraryImagesConnectionRequestBody - (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 importContentLibraryImageCall(ContentLibraryImageImportParams contentLibraryImageImportParams, ApiCallback _callback) throws ApiException
contentLibraryImageImportParams - (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 UploadTask importContentLibraryImage(ContentLibraryImageImportParams contentLibraryImageImportParams) throws ApiException
contentLibraryImageImportParams - (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<UploadTask> importContentLibraryImageWithHttpInfo(ContentLibraryImageImportParams contentLibraryImageImportParams) throws ApiException
contentLibraryImageImportParams - (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 importContentLibraryImageAsync(ContentLibraryImageImportParams contentLibraryImageImportParams, ApiCallback<UploadTask> _callback) throws ApiException
contentLibraryImageImportParams - (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 removeContentLibraryImageClustersCall(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams, ApiCallback _callback) throws ApiException
contentLibraryImageUpdationClusterParams - (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<WithTaskContentLibraryImage> removeContentLibraryImageClusters(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams) throws ApiException
contentLibraryImageUpdationClusterParams - (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<WithTaskContentLibraryImage>> removeContentLibraryImageClustersWithHttpInfo(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams) throws ApiException
contentLibraryImageUpdationClusterParams - (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 removeContentLibraryImageClustersAsync(ContentLibraryImageUpdationClusterParams contentLibraryImageUpdationClusterParams, ApiCallback<List<WithTaskContentLibraryImage>> _callback) throws ApiException
contentLibraryImageUpdationClusterParams - (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 updateContentLibraryImageCall(ContentLibraryImageUpdationParams contentLibraryImageUpdationParams, ApiCallback _callback) throws ApiException
contentLibraryImageUpdationParams - (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<WithTaskContentLibraryImage> updateContentLibraryImage(ContentLibraryImageUpdationParams contentLibraryImageUpdationParams) throws ApiException
contentLibraryImageUpdationParams - (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<WithTaskContentLibraryImage>> updateContentLibraryImageWithHttpInfo(ContentLibraryImageUpdationParams contentLibraryImageUpdationParams) throws ApiException
contentLibraryImageUpdationParams - (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 updateContentLibraryImageAsync(ContentLibraryImageUpdationParams contentLibraryImageUpdationParams, ApiCallback<List<WithTaskContentLibraryImage>> _callback) throws ApiException
contentLibraryImageUpdationParams - (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.