public class AntMerchantExpandIndirectImageApi extends Object
| 构造器和说明 |
|---|
AntMerchantExpandIndirectImageApi() |
AntMerchantExpandIndirectImageApi(ApiClient apiClient) |
public AntMerchantExpandIndirectImageApi()
public AntMerchantExpandIndirectImageApi(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 uploadCall(AntMerchantExpandIndirectImageUploadModel data, File imageContent, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
data - (optional)imageContent - (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandIndirectImageUploadResponseModel upload(AntMerchantExpandIndirectImageUploadModel data, File imageContent) throws ApiException
data - (optional)imageContent - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandIndirectImageUploadResponseModel upload(AntMerchantExpandIndirectImageUploadModel data, File imageContent, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandIndirectImageUploadResponseModel> uploadWithHttpInfo(AntMerchantExpandIndirectImageUploadModel data, File imageContent, CustomizedParams customizedParams) throws ApiException
data - (optional)imageContent - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call uploadAsync(AntMerchantExpandIndirectImageUploadModel data, File imageContent, ApiCallback<AntMerchantExpandIndirectImageUploadResponseModel> _callback) throws ApiException
data - (optional)imageContent - (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 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call uploadAsync(AntMerchantExpandIndirectImageUploadModel data, File imageContent, ApiCallback<AntMerchantExpandIndirectImageUploadResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.