public class CustomAudiencesApi extends Object
| 构造器和说明 |
|---|
CustomAudiencesApi() |
CustomAudiencesApi(ApiClient apiClient) |
public CustomAudiencesApi()
public CustomAudiencesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call customAudiencesAddCall(CustomAudiencesAddRequest 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 CustomAudiencesAddResponse customAudiencesAdd(CustomAudiencesAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CustomAudiencesAddResponse> customAudiencesAddWithHttpInfo(CustomAudiencesAddRequest 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 customAudiencesAddAsync(CustomAudiencesAddRequest data, ApiCallback<CustomAudiencesAddResponse> 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 customAudiencesDeleteCall(CustomAudiencesDeleteRequest 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 CustomAudiencesDeleteResponse customAudiencesDelete(CustomAudiencesDeleteRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CustomAudiencesDeleteResponse> customAudiencesDeleteWithHttpInfo(CustomAudiencesDeleteRequest 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 customAudiencesDeleteAsync(CustomAudiencesDeleteRequest data, ApiCallback<CustomAudiencesDeleteResponse> 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 customAudiencesGetCall(Long accountId, Long audienceId, Long page, Long pageSize, String platform, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)audienceId - (optional)page - (optional)pageSize - (optional)platform - 数据应用,不填写默认为DMP (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomAudiencesGetResponse customAudiencesGet(Long accountId, Long audienceId, Long page, Long pageSize, String platform, List<String> fields) throws ApiException
accountId - (required)audienceId - (optional)page - (optional)pageSize - (optional)platform - 数据应用,不填写默认为DMP (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CustomAudiencesGetResponse> customAudiencesGetWithHttpInfo(Long accountId, Long audienceId, Long page, Long pageSize, String platform, List<String> fields) throws ApiException
accountId - (required)audienceId - (optional)page - (optional)pageSize - (optional)platform - 数据应用,不填写默认为DMP (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call customAudiencesGetAsync(Long accountId, Long audienceId, Long page, Long pageSize, String platform, List<String> fields, ApiCallback<CustomAudiencesGetResponse> callback) throws ApiException
accountId - (required)audienceId - (optional)page - (optional)pageSize - (optional)platform - 数据应用,不填写默认为DMP (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 customAudiencesUpdateCall(CustomAudiencesUpdateRequest 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 CustomAudiencesUpdateResponse customAudiencesUpdate(CustomAudiencesUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<CustomAudiencesUpdateResponse> customAudiencesUpdateWithHttpInfo(CustomAudiencesUpdateRequest 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 customAudiencesUpdateAsync(CustomAudiencesUpdateRequest data, ApiCallback<CustomAudiencesUpdateResponse> 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.