public class SvtImageApi extends Object
| 构造器和说明 |
|---|
SvtImageApi() |
SvtImageApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
List<SvtImage> |
getSvtImages(GetSvtImagesRequestBody getSvtImagesRequestBody) |
okhttp3.Call |
getSvtImagesAsync(GetSvtImagesRequestBody getSvtImagesRequestBody,
ApiCallback<List<SvtImage>> _callback)
(asynchronously)
|
okhttp3.Call |
getSvtImagesCall(GetSvtImagesRequestBody getSvtImagesRequestBody,
ApiCallback _callback)
Build call for getSvtImages
|
SvtImageConnection |
getSvtImagesConnection(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody) |
okhttp3.Call |
getSvtImagesConnectionAsync(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody,
ApiCallback<SvtImageConnection> _callback)
(asynchronously)
|
okhttp3.Call |
getSvtImagesConnectionCall(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody,
ApiCallback _callback)
Build call for getSvtImagesConnection
|
ApiResponse<SvtImageConnection> |
getSvtImagesConnectionWithHttpInfo(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody) |
ApiResponse<List<SvtImage>> |
getSvtImagesWithHttpInfo(GetSvtImagesRequestBody getSvtImagesRequestBody) |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
List<UploadTask> |
uploadSvtImage(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId) |
okhttp3.Call |
uploadSvtImageAsync(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId,
ApiCallback<List<UploadTask>> _callback)
(asynchronously)
|
okhttp3.Call |
uploadSvtImageCall(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId,
ApiCallback _callback)
Build call for uploadSvtImage
|
ApiResponse<List<UploadTask>> |
uploadSvtImageWithHttpInfo(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId) |
public SvtImageApi()
public SvtImageApi(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 getSvtImagesCall(GetSvtImagesRequestBody getSvtImagesRequestBody, ApiCallback _callback) throws ApiException
getSvtImagesRequestBody - (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<SvtImage> getSvtImages(GetSvtImagesRequestBody getSvtImagesRequestBody) throws ApiException
getSvtImagesRequestBody - (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<SvtImage>> getSvtImagesWithHttpInfo(GetSvtImagesRequestBody getSvtImagesRequestBody) throws ApiException
getSvtImagesRequestBody - (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 getSvtImagesAsync(GetSvtImagesRequestBody getSvtImagesRequestBody, ApiCallback<List<SvtImage>> _callback) throws ApiException
getSvtImagesRequestBody - (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 getSvtImagesConnectionCall(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody, ApiCallback _callback) throws ApiException
getSvtImagesConnectionRequestBody - (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 SvtImageConnection getSvtImagesConnection(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody) throws ApiException
getSvtImagesConnectionRequestBody - (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<SvtImageConnection> getSvtImagesConnectionWithHttpInfo(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody) throws ApiException
getSvtImagesConnectionRequestBody - (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 getSvtImagesConnectionAsync(GetSvtImagesConnectionRequestBody getSvtImagesConnectionRequestBody, ApiCallback<SvtImageConnection> _callback) throws ApiException
getSvtImagesConnectionRequestBody - (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 uploadSvtImageCall(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId,
ApiCallback _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)version - (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> uploadSvtImage(byte[] _file, String clusterId, String name, String size, String sizeUnit, String version, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)version - (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>> uploadSvtImageWithHttpInfo(byte[] _file, String clusterId, String name, String size, String sizeUnit, String version, String uploadTaskId) throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)version - (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 uploadSvtImageAsync(byte[] _file,
String clusterId,
String name,
String size,
String sizeUnit,
String version,
String uploadTaskId,
ApiCallback<List<UploadTask>> _callback)
throws ApiException
_file - (required)clusterId - (optional)name - (optional)size - (optional)sizeUnit - (optional)version - (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.