public class PromotedObjectsApi extends Object
| 构造器和说明 |
|---|
PromotedObjectsApi() |
PromotedObjectsApi(ApiClient apiClient) |
public PromotedObjectsApi()
public PromotedObjectsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call promotedObjectsAddCall(PromotedObjectsAddRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PromotedObjectsAddResponse promotedObjectsAdd(PromotedObjectsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<PromotedObjectsAddResponse> promotedObjectsAddWithHttpInfo(PromotedObjectsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call promotedObjectsAddAsync(PromotedObjectsAddRequest data, ApiCallback<PromotedObjectsAddResponse> callback) throws ApiException
data - (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 promotedObjectsGetCall(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PromotedObjectsGetResponse promotedObjectsGet(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<PromotedObjectsGetResponse> promotedObjectsGetWithHttpInfo(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)filtering - (optional)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 promotedObjectsGetAsync(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ApiCallback<PromotedObjectsGetResponse> callback) throws ApiException
accountId - (required)filtering - (optional)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 objectpublic com.squareup.okhttp.Call promotedObjectsUpdateCall(PromotedObjectsUpdateRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PromotedObjectsUpdateResponse promotedObjectsUpdate(PromotedObjectsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<PromotedObjectsUpdateResponse> promotedObjectsUpdateWithHttpInfo(PromotedObjectsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call promotedObjectsUpdateAsync(PromotedObjectsUpdateRequest data, ApiCallback<PromotedObjectsUpdateResponse> callback) throws ApiException
data - (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 objectCopyright © 2020. All rights reserved.