public class AlipayOpenMiniTemplateUsageApi extends Object
| 构造器和说明 |
|---|
AlipayOpenMiniTemplateUsageApi() |
AlipayOpenMiniTemplateUsageApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayOpenMiniTemplateUsageQueryResponseModel |
query(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId)
查询使用模板的小程序列表
查询使用模板的小程序列表
|
AlipayOpenMiniTemplateUsageQueryResponseModel |
query(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId,
ApiCallback<AlipayOpenMiniTemplateUsageQueryResponseModel> _callback)
查询使用模板的小程序列表 (asynchronously)
查询使用模板的小程序列表
|
okhttp3.Call |
queryAsync(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId,
ApiCallback<AlipayOpenMiniTemplateUsageQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayOpenMiniTemplateUsageQueryResponseModel> |
queryWithHttpInfo(String templateId,
Integer pageNum,
Integer pageSize,
String templateVersion,
String bundleId,
CustomizedParams customizedParams)
查询使用模板的小程序列表
查询使用模板的小程序列表
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenMiniTemplateUsageApi()
public AlipayOpenMiniTemplateUsageApi(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 queryCall(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
templateId - 小程序模板APPID (optional)pageNum - 查询的页数,起始为 1(第一页) 。默认第一页。 (optional)pageSize - 每页的数量,最多查询50个,默认查询10个 (optional)templateVersion - 模板小程序的版本号 (optional)bundleId - 小程序客户端类型,默认为支付宝端。常见支持如下客户端: com.alipay.alipaywallet:支付宝端; com.alibaba.android.rimet:DINGDING端; com.amap.app:高德端; com.alibaba.ailabs.genie.webapps:天猫精灵端; com.alipay.iot.xpaas:支付宝IoT端。 如需更多端投放,请联系业务BD。 (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 AlipayOpenMiniTemplateUsageQueryResponseModel query(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId) throws ApiException
templateId - 小程序模板APPID (optional)pageNum - 查询的页数,起始为 1(第一页) 。默认第一页。 (optional)pageSize - 每页的数量,最多查询50个,默认查询10个 (optional)templateVersion - 模板小程序的版本号 (optional)bundleId - 小程序客户端类型,默认为支付宝端。常见支持如下客户端: com.alipay.alipaywallet:支付宝端; com.alibaba.android.rimet:DINGDING端; com.amap.app:高德端; com.alibaba.ailabs.genie.webapps:天猫精灵端; com.alipay.iot.xpaas:支付宝IoT端。 如需更多端投放,请联系业务BD。 (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 AlipayOpenMiniTemplateUsageQueryResponseModel query(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenMiniTemplateUsageQueryResponseModel> queryWithHttpInfo(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId, CustomizedParams customizedParams) throws ApiException
templateId - 小程序模板APPID (optional)pageNum - 查询的页数,起始为 1(第一页) 。默认第一页。 (optional)pageSize - 每页的数量,最多查询50个,默认查询10个 (optional)templateVersion - 模板小程序的版本号 (optional)bundleId - 小程序客户端类型,默认为支付宝端。常见支持如下客户端: com.alipay.alipaywallet:支付宝端; com.alibaba.android.rimet:DINGDING端; com.amap.app:高德端; com.alibaba.ailabs.genie.webapps:天猫精灵端; com.alipay.iot.xpaas:支付宝IoT端。 如需更多端投放,请联系业务BD。 (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 queryAsync(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId, ApiCallback<AlipayOpenMiniTemplateUsageQueryResponseModel> _callback) throws ApiException
templateId - 小程序模板APPID (optional)pageNum - 查询的页数,起始为 1(第一页) 。默认第一页。 (optional)pageSize - 每页的数量,最多查询50个,默认查询10个 (optional)templateVersion - 模板小程序的版本号 (optional)bundleId - 小程序客户端类型,默认为支付宝端。常见支持如下客户端: com.alipay.alipaywallet:支付宝端; com.alibaba.android.rimet:DINGDING端; com.amap.app:高德端; com.alibaba.ailabs.genie.webapps:天猫精灵端; com.alipay.iot.xpaas:支付宝IoT端。 如需更多端投放,请联系业务BD。 (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 queryAsync(String templateId, Integer pageNum, Integer pageSize, String templateVersion, String bundleId, ApiCallback<AlipayOpenMiniTemplateUsageQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.