public class AlipayOpenMiniSafedomainApi extends Object
| 构造器和说明 |
|---|
AlipayOpenMiniSafedomainApi() |
AlipayOpenMiniSafedomainApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
create(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel)
小程序添加域白名单
小程序添加域白名单
|
Object |
create(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel,
CustomizedParams customizedParams) |
okhttp3.Call |
createAsync(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel,
ApiCallback<Object> _callback)
小程序添加域白名单 (asynchronously)
小程序添加域白名单
|
okhttp3.Call |
createAsync(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
createCall(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for create
|
ApiResponse<Object> |
createWithHttpInfo(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel,
CustomizedParams customizedParams)
小程序添加域白名单
小程序添加域白名单
|
Object |
delete(String safeDomain)
小程序删除域白名单
小程序删除域白名单
|
Object |
delete(String safeDomain,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteAsync(String safeDomain,
ApiCallback<Object> _callback)
小程序删除域白名单 (asynchronously)
小程序删除域白名单
|
okhttp3.Call |
deleteAsync(String safeDomain,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteCall(String safeDomain,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for delete
|
ApiResponse<Object> |
deleteWithHttpInfo(String safeDomain,
CustomizedParams customizedParams)
小程序删除域白名单
小程序删除域白名单
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenMiniSafedomainApi()
public AlipayOpenMiniSafedomainApi(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 createCall(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenMiniSafedomainCreateModel - (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 create(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel) throws ApiException
alipayOpenMiniSafedomainCreateModel - (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 create(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> createWithHttpInfo(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel, CustomizedParams customizedParams) throws ApiException
alipayOpenMiniSafedomainCreateModel - (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(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel, ApiCallback<Object> _callback) throws ApiException
alipayOpenMiniSafedomainCreateModel - (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(AlipayOpenMiniSafedomainCreateModel alipayOpenMiniSafedomainCreateModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(String safeDomain, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
safeDomain - 服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。 删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。 (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 safeDomain) throws ApiException
safeDomain - 服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。 删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。 (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 safeDomain, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> deleteWithHttpInfo(String safeDomain, CustomizedParams customizedParams) throws ApiException
safeDomain - 服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。 删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。 (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 safeDomain, ApiCallback<Object> _callback) throws ApiException
safeDomain - 服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。 删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。 (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 safeDomain, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.