public class AlipayOpenPublicMenuApi extends Object
| 构造器和说明 |
|---|
AlipayOpenPublicMenuApi() |
AlipayOpenPublicMenuApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicMenuBatchqueryResponseModel |
batchquery()
菜单列表查询接口
开发者可调用该接口查询自己创建的菜单列表
|
AlipayOpenPublicMenuBatchqueryResponseModel |
batchquery(CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryAsync(ApiCallback<AlipayOpenPublicMenuBatchqueryResponseModel> _callback)
菜单列表查询接口 (asynchronously)
开发者可调用该接口查询自己创建的菜单列表
|
okhttp3.Call |
batchqueryAsync(ApiCallback<AlipayOpenPublicMenuBatchqueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryCall(ApiCallback _callback,
CustomizedParams customizedParams)
Build call for batchquery
|
ApiResponse<AlipayOpenPublicMenuBatchqueryResponseModel> |
batchqueryWithHttpInfo(CustomizedParams customizedParams)
菜单列表查询接口
开发者可调用该接口查询自己创建的菜单列表
|
AlipayOpenPublicMenuCreateResponseModel |
create(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel)
默认菜单创建接口
开发者可调用该接口为生活号创建一套默认菜单,当用户进入生活号主页时,若没有命中任何个性化菜单,则会展示该默认菜单,每个生活号必须有一套默认菜单
|
AlipayOpenPublicMenuCreateResponseModel |
create(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel,
CustomizedParams customizedParams) |
okhttp3.Call |
createAsync(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel,
ApiCallback<AlipayOpenPublicMenuCreateResponseModel> _callback)
默认菜单创建接口 (asynchronously)
开发者可调用该接口为生活号创建一套默认菜单,当用户进入生活号主页时,若没有命中任何个性化菜单,则会展示该默认菜单,每个生活号必须有一套默认菜单
|
okhttp3.Call |
createAsync(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel,
ApiCallback<AlipayOpenPublicMenuCreateResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
createCall(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for create
|
ApiResponse<AlipayOpenPublicMenuCreateResponseModel> |
createWithHttpInfo(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel,
CustomizedParams customizedParams)
默认菜单创建接口
开发者可调用该接口为生活号创建一套默认菜单,当用户进入生活号主页时,若没有命中任何个性化菜单,则会展示该默认菜单,每个生活号必须有一套默认菜单
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
modify(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel)
默认菜单更新接口
开发者可调用该接口更新默认菜单,菜单更新成功后实时生效
|
Object |
modify(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyAsync(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel,
ApiCallback<Object> _callback)
默认菜单更新接口 (asynchronously)
开发者可调用该接口更新默认菜单,菜单更新成功后实时生效
|
okhttp3.Call |
modifyAsync(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
modifyCall(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for modify
|
ApiResponse<Object> |
modifyWithHttpInfo(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel,
CustomizedParams customizedParams)
默认菜单更新接口
开发者可调用该接口更新默认菜单,菜单更新成功后实时生效
|
AlipayOpenPublicMenuQueryResponseModel |
query()
公众服务平台查询菜单
开发者通过调用该接口查询菜单。
|
AlipayOpenPublicMenuQueryResponseModel |
query(CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(ApiCallback<AlipayOpenPublicMenuQueryResponseModel> _callback)
公众服务平台查询菜单 (asynchronously)
开发者通过调用该接口查询菜单。
|
okhttp3.Call |
queryAsync(ApiCallback<AlipayOpenPublicMenuQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayOpenPublicMenuQueryResponseModel> |
queryWithHttpInfo(CustomizedParams customizedParams)
公众服务平台查询菜单
开发者通过调用该接口查询菜单。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenPublicMenuApi()
public AlipayOpenPublicMenuApi(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 AlipayOpenPublicMenuBatchqueryResponseModel 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 AlipayOpenPublicMenuBatchqueryResponseModel batchquery(CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicMenuBatchqueryResponseModel> 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<AlipayOpenPublicMenuBatchqueryResponseModel> _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<AlipayOpenPublicMenuBatchqueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call createCall(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicMenuCreateModel - (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 AlipayOpenPublicMenuCreateResponseModel create(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel) throws ApiException
alipayOpenPublicMenuCreateModel - (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 AlipayOpenPublicMenuCreateResponseModel create(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicMenuCreateResponseModel> createWithHttpInfo(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicMenuCreateModel - (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(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel, ApiCallback<AlipayOpenPublicMenuCreateResponseModel> _callback) throws ApiException
alipayOpenPublicMenuCreateModel - (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(AlipayOpenPublicMenuCreateModel alipayOpenPublicMenuCreateModel, ApiCallback<AlipayOpenPublicMenuCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call modifyCall(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicMenuModifyModel - (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(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel) throws ApiException
alipayOpenPublicMenuModifyModel - (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(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> modifyWithHttpInfo(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicMenuModifyModel - (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(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel, ApiCallback<Object> _callback) throws ApiException
alipayOpenPublicMenuModifyModel - (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(AlipayOpenPublicMenuModifyModel alipayOpenPublicMenuModifyModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(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 AlipayOpenPublicMenuQueryResponseModel query() 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 AlipayOpenPublicMenuQueryResponseModel query(CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicMenuQueryResponseModel> queryWithHttpInfo(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 queryAsync(ApiCallback<AlipayOpenPublicMenuQueryResponseModel> _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 queryAsync(ApiCallback<AlipayOpenPublicMenuQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.