public class CampaignsApi extends Object
| 构造器和说明 |
|---|
CampaignsApi() |
CampaignsApi(ApiClient apiClient) |
public CampaignsApi()
public CampaignsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call campaignsAddCall(CampaignsAddRequest 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 CampaignsAddResponse campaignsAdd(CampaignsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsAddResponse> campaignsAddWithHttpInfo(CampaignsAddRequest 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 campaignsAddAsync(CampaignsAddRequest data, ApiCallback<CampaignsAddResponse> 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 campaignsDeleteCall(CampaignsDeleteRequest 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 CampaignsDeleteResponse campaignsDelete(CampaignsDeleteRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsDeleteResponse> campaignsDeleteWithHttpInfo(CampaignsDeleteRequest 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 campaignsDeleteAsync(CampaignsDeleteRequest data, ApiCallback<CampaignsDeleteResponse> 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 campaignsGetCall(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CampaignsGetResponse campaignsGet(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsGetResponse> campaignsGetWithHttpInfo(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call campaignsGetAsync(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, Boolean isDeleted, List<String> fields, ApiCallback<CampaignsGetResponse> callback) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)isDeleted - (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 campaignsUpdateCall(CampaignsUpdateRequest 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 CampaignsUpdateResponse campaignsUpdate(CampaignsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsUpdateResponse> campaignsUpdateWithHttpInfo(CampaignsUpdateRequest 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 campaignsUpdateAsync(CampaignsUpdateRequest data, ApiCallback<CampaignsUpdateResponse> 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 campaignsUpdateConfiguredStatusCall(CampaignsUpdateConfiguredStatusRequest 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 CampaignsUpdateConfiguredStatusResponse campaignsUpdateConfiguredStatus(CampaignsUpdateConfiguredStatusRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsUpdateConfiguredStatusResponse> campaignsUpdateConfiguredStatusWithHttpInfo(CampaignsUpdateConfiguredStatusRequest 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 campaignsUpdateConfiguredStatusAsync(CampaignsUpdateConfiguredStatusRequest data, ApiCallback<CampaignsUpdateConfiguredStatusResponse> 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 campaignsUpdateDailyBudgetCall(CampaignsUpdateDailyBudgetRequest 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 CampaignsUpdateDailyBudgetResponse campaignsUpdateDailyBudget(CampaignsUpdateDailyBudgetRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CampaignsUpdateDailyBudgetResponse> campaignsUpdateDailyBudgetWithHttpInfo(CampaignsUpdateDailyBudgetRequest 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 campaignsUpdateDailyBudgetAsync(CampaignsUpdateDailyBudgetRequest data, ApiCallback<CampaignsUpdateDailyBudgetResponse> 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.