public class BrandApi extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BrandAddResponse |
brandAdd(Long accountId,
String name,
File brandImageFile)
创建品牌形象
|
com.squareup.okhttp.Call |
brandAddAsync(Long accountId,
String name,
File brandImageFile,
ApiCallback<BrandAddResponse> callback)
创建品牌形象 (asynchronously)
|
com.squareup.okhttp.Call |
brandAddCall(Long accountId,
String name,
File brandImageFile,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for brandAdd
|
ApiResponse<BrandAddResponse> |
brandAddWithHttpInfo(Long accountId,
String name,
File brandImageFile)
创建品牌形象
|
BrandGetResponse |
brandGet(Long accountId,
Long page,
Long pageSize,
List<String> fields)
获取品牌形象列表
|
com.squareup.okhttp.Call |
brandGetAsync(Long accountId,
Long page,
Long pageSize,
List<String> fields,
ApiCallback<BrandGetResponse> callback)
获取品牌形象列表 (asynchronously)
|
com.squareup.okhttp.Call |
brandGetCall(Long accountId,
Long page,
Long pageSize,
List<String> fields,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for brandGet
|
ApiResponse<BrandGetResponse> |
brandGetWithHttpInfo(Long accountId,
Long page,
Long pageSize,
List<String> fields)
获取品牌形象列表
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public BrandApi()
public BrandApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call brandAddCall(Long accountId, String name, File brandImageFile, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)name - (required)brandImageFile - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BrandAddResponse brandAdd(Long accountId, String name, File brandImageFile) throws ApiException
accountId - (required)name - (required)brandImageFile - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<BrandAddResponse> brandAddWithHttpInfo(Long accountId, String name, File brandImageFile) throws ApiException
accountId - (required)name - (required)brandImageFile - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call brandAddAsync(Long accountId, String name, File brandImageFile, ApiCallback<BrandAddResponse> callback) throws ApiException
accountId - (required)name - (required)brandImageFile - (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 objectpublic com.squareup.okhttp.Call brandGetCall(Long accountId, Long page, Long pageSize, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BrandGetResponse brandGet(Long accountId, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<BrandGetResponse> brandGetWithHttpInfo(Long accountId, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call brandGetAsync(Long accountId, Long page, Long pageSize, List<String> fields, ApiCallback<BrandGetResponse> callback) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (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 objectCopyright © 2020. All rights reserved.