public class AlipayOpenPublicAdvertApi extends Object
| 构造器和说明 |
|---|
AlipayOpenPublicAdvertApi() |
AlipayOpenPublicAdvertApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicAdvertBatchqueryResponseModel |
batchquery()
生活号广告位查询接口
可以通过此接口查询所有广告位的配置信息
|
AlipayOpenPublicAdvertBatchqueryResponseModel |
batchquery(CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryAsync(ApiCallback<AlipayOpenPublicAdvertBatchqueryResponseModel> _callback)
生活号广告位查询接口 (asynchronously)
可以通过此接口查询所有广告位的配置信息
|
okhttp3.Call |
batchqueryAsync(ApiCallback<AlipayOpenPublicAdvertBatchqueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryCall(ApiCallback _callback,
CustomizedParams customizedParams)
Build call for batchquery
|
ApiResponse<AlipayOpenPublicAdvertBatchqueryResponseModel> |
batchqueryWithHttpInfo(CustomizedParams customizedParams)
生活号广告位查询接口
可以通过此接口查询所有广告位的配置信息
|
AlipayOpenPublicAdvertCreateResponseModel |
create(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel)
生活号广告位添加接口
可通过本接口在生活号主页添加广告位,根据业务需求配置不同的图片和跳转链接
|
AlipayOpenPublicAdvertCreateResponseModel |
create(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel,
CustomizedParams customizedParams) |
okhttp3.Call |
createAsync(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel,
ApiCallback<AlipayOpenPublicAdvertCreateResponseModel> _callback)
生活号广告位添加接口 (asynchronously)
可通过本接口在生活号主页添加广告位,根据业务需求配置不同的图片和跳转链接
|
okhttp3.Call |
createAsync(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel,
ApiCallback<AlipayOpenPublicAdvertCreateResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
createCall(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for create
|
ApiResponse<AlipayOpenPublicAdvertCreateResponseModel> |
createWithHttpInfo(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel,
CustomizedParams customizedParams)
生活号广告位添加接口
可通过本接口在生活号主页添加广告位,根据业务需求配置不同的图片和跳转链接
|
Object |
delete(String advertId,
String advertGroup)
生活号广告位删除接口
可以通过此接口删除指定广告位的配置信息
|
Object |
delete(String advertId,
String advertGroup,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteAsync(String advertId,
String advertGroup,
ApiCallback<Object> _callback)
生活号广告位删除接口 (asynchronously)
可以通过此接口删除指定广告位的配置信息
|
okhttp3.Call |
deleteAsync(String advertId,
String advertGroup,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteCall(String advertId,
String advertGroup,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for delete
|
ApiResponse<Object> |
deleteWithHttpInfo(String advertId,
String advertGroup,
CustomizedParams customizedParams)
生活号广告位删除接口
可以通过此接口删除指定广告位的配置信息
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
modify(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel)
生活号广告位修改接口
可以通过此接口修改指定广告位的配置信息
|
Object |
modify(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyAsync(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel,
ApiCallback<Object> _callback)
生活号广告位修改接口 (asynchronously)
可以通过此接口修改指定广告位的配置信息
|
okhttp3.Call |
modifyAsync(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyCall(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for modify
|
ApiResponse<Object> |
modifyWithHttpInfo(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel,
CustomizedParams customizedParams)
生活号广告位修改接口
可以通过此接口修改指定广告位的配置信息
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenPublicAdvertApi()
public AlipayOpenPublicAdvertApi(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 batchqueryCall(ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
_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 AlipayOpenPublicAdvertBatchqueryResponseModel batchquery() throws ApiException
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 AlipayOpenPublicAdvertBatchqueryResponseModel batchquery(CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicAdvertBatchqueryResponseModel> batchqueryWithHttpInfo(CustomizedParams customizedParams) throws ApiException
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 batchqueryAsync(ApiCallback<AlipayOpenPublicAdvertBatchqueryResponseModel> _callback) throws ApiException
_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 batchqueryAsync(ApiCallback<AlipayOpenPublicAdvertBatchqueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call createCall(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAdvertCreateModel - (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 AlipayOpenPublicAdvertCreateResponseModel create(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel) throws ApiException
alipayOpenPublicAdvertCreateModel - (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 AlipayOpenPublicAdvertCreateResponseModel create(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicAdvertCreateResponseModel> createWithHttpInfo(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAdvertCreateModel - (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 createAsync(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel, ApiCallback<AlipayOpenPublicAdvertCreateResponseModel> _callback) throws ApiException
alipayOpenPublicAdvertCreateModel - (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 createAsync(AlipayOpenPublicAdvertCreateModel alipayOpenPublicAdvertCreateModel, ApiCallback<AlipayOpenPublicAdvertCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(String advertId, String advertGroup, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
advertId - 待删除的广告位id (optional)advertGroup - 待删除的广告位分组标识 (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 Object delete(String advertId, String advertGroup) throws ApiException
advertId - 待删除的广告位id (optional)advertGroup - 待删除的广告位分组标识 (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 Object delete(String advertId, String advertGroup, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> deleteWithHttpInfo(String advertId, String advertGroup, CustomizedParams customizedParams) throws ApiException
advertId - 待删除的广告位id (optional)advertGroup - 待删除的广告位分组标识 (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 deleteAsync(String advertId, String advertGroup, ApiCallback<Object> _callback) throws ApiException
advertId - 待删除的广告位id (optional)advertGroup - 待删除的广告位分组标识 (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 deleteAsync(String advertId, String advertGroup, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call modifyCall(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAdvertModifyModel - (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 Object modify(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel) throws ApiException
alipayOpenPublicAdvertModifyModel - (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 Object modify(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> modifyWithHttpInfo(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAdvertModifyModel - (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 modifyAsync(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel, ApiCallback<Object> _callback) throws ApiException
alipayOpenPublicAdvertModifyModel - (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 modifyAsync(AlipayOpenPublicAdvertModifyModel alipayOpenPublicAdvertModifyModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.