Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.huaweicloud.sdk.koomessage.v1.KooMessageAsyncClient Maven / Gradle / Ivy
package com.huaweicloud.sdk.koomessage.v1;
import com.huaweicloud.sdk.core.ClientBuilder;
import com.huaweicloud.sdk.core.HcClient;
import com.huaweicloud.sdk.core.invoker.AsyncInvoker;
import com.huaweicloud.sdk.koomessage.v1.model.AddAimMsgSignatureRequest;
import com.huaweicloud.sdk.koomessage.v1.model.AddAimMsgSignatureResponse;
import com.huaweicloud.sdk.koomessage.v1.model.AddCallBackRequest;
import com.huaweicloud.sdk.koomessage.v1.model.AddCallBackResponse;
import com.huaweicloud.sdk.koomessage.v1.model.AddVmsCallBackRequest;
import com.huaweicloud.sdk.koomessage.v1.model.AddVmsCallBackResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CheckMobileCapabilityRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CheckMobileCapabilityResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimMsgTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimMsgTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimPersonalTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimPersonalTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimSendTaskRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateAimSendTaskResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreatePubInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreatePubInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateResolveTaskRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateResolveTaskResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateSmsAppRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateSmsAppResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateVmsSendTaskRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateVmsSendTaskResponse;
import com.huaweicloud.sdk.koomessage.v1.model.CreateVmsTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.CreateVmsTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimMsgSignatureRequest;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimMsgSignatureResponse;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimMsgTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimMsgTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimPersonalTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteAimPersonalTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.DeletePortInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.DeletePortInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteTemplateMaterialRequest;
import com.huaweicloud.sdk.koomessage.v1.model.DeleteTemplateMaterialResponse;
import com.huaweicloud.sdk.koomessage.v1.model.FreezePubRequest;
import com.huaweicloud.sdk.koomessage.v1.model.FreezePubResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimCallbacksRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimCallbacksResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgAppDetailRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgAppDetailResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgAppRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgAppResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgSignatureDetailRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgSignatureDetailResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgSignatureRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgSignatureResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimMsgTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimResolveDetailsRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimResolveDetailsResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendDetailsRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendDetailsResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendReportsRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendReportsResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendTasksRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimSendTasksResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplateMaterialsRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplateMaterialsResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplateReportsRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplateReportsResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplatesRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListAimTemplatesResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListMenusRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListMenusResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListPortInfosRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListPortInfosResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListPortalInfosRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListPortalInfosResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListPubInfosRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListPubInfosResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListResolveTasksRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListResolveTasksResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsCallbacksRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsCallbacksResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsSendTasksRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsSendTasksResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsTemplateStatusRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ListVmsTemplateStatusResponse;
import com.huaweicloud.sdk.koomessage.v1.model.LockPortRequest;
import com.huaweicloud.sdk.koomessage.v1.model.LockPortResponse;
import com.huaweicloud.sdk.koomessage.v1.model.PushMenuInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.PushMenuInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.PushPortalInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.PushPortalInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.RegisterPortRequest;
import com.huaweicloud.sdk.koomessage.v1.model.RegisterPortResponse;
import com.huaweicloud.sdk.koomessage.v1.model.SendAimBatchDifferentMessagesRequest;
import com.huaweicloud.sdk.koomessage.v1.model.SendAimBatchDifferentMessagesResponse;
import com.huaweicloud.sdk.koomessage.v1.model.SendAimBatchMessagesRequest;
import com.huaweicloud.sdk.koomessage.v1.model.SendAimBatchMessagesResponse;
import com.huaweicloud.sdk.koomessage.v1.model.SetPrimaryVideoThumbnailRequest;
import com.huaweicloud.sdk.koomessage.v1.model.SetPrimaryVideoThumbnailResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgSignatureFileInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgSignatureFileInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgTemplateDetailRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgTemplateDetailResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgTemplateVariableRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ShowAimMsgTemplateVariableResponse;
import com.huaweicloud.sdk.koomessage.v1.model.ShowTemplateVideoThumbnailRequest;
import com.huaweicloud.sdk.koomessage.v1.model.ShowTemplateVideoThumbnailResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UnfreezePubRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UnfreezePubResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UnlockPortRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UnlockPortResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgAppRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgAppResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgSignatureRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgSignatureResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgTemplateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateAimMsgTemplateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateMenuRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdateMenuResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePersonalTemplateStateRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePersonalTemplateStateResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePortalInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePortalInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePubInfoRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UpdatePubInfoResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UploadAimMsgSignatureFileRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UploadAimMsgSignatureFileResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UploadAimTemplateMaterialRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UploadAimTemplateMaterialResponse;
import com.huaweicloud.sdk.koomessage.v1.model.UploadMediaRequest;
import com.huaweicloud.sdk.koomessage.v1.model.UploadMediaResponse;
import java.util.concurrent.CompletableFuture;
public class KooMessageAsyncClient {
protected HcClient hcClient;
public KooMessageAsyncClient(HcClient hcClient) {
this.hcClient = hcClient;
}
public static ClientBuilder newBuilder() {
ClientBuilder clientBuilder = new ClientBuilder<>(KooMessageAsyncClient::new);
return clientBuilder;
}
/**
* 注册智能信息回执URL
*
* 用户根据要求创建回执接口后,可以调用此接口进行注册,注意:此接口仅允许te_admin角色用户调用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddCallBackRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addCallBackAsync(AddCallBackRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.addCallBack);
}
/**
* 注册智能信息回执URL
*
* 用户根据要求创建回执接口后,可以调用此接口进行注册,注意:此接口仅允许te_admin角色用户调用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddCallBackRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addCallBackAsyncInvoker(AddCallBackRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.addCallBack, hcClient);
}
/**
* 查询用户已注册回执接口
*
* 用户注册回执接口之后,可以根据此接口查询所有已注册回执接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimCallbacksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimCallbacksAsync(ListAimCallbacksRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimCallbacks);
}
/**
* 查询用户已注册回执接口
*
* 用户注册回执接口之后,可以根据此接口查询所有已注册回执接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimCallbacksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimCallbacksAsyncInvoker(
ListAimCallbacksRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimCallbacks, hcClient);
}
/**
* 查询手机号智能信息解析能力
*
* 用户在下发智能信息前,通过此接口批量查询对应手机的智能信息解析能力。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckMobileCapabilityRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture checkMobileCapabilityAsync(
CheckMobileCapabilityRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.checkMobileCapability);
}
/**
* 查询手机号智能信息解析能力
*
* 用户在下发智能信息前,通过此接口批量查询对应手机的智能信息解析能力。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckMobileCapabilityRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker checkMobileCapabilityAsyncInvoker(
CheckMobileCapabilityRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.checkMobileCapability, hcClient);
}
/**
* 生成解析任务
*
* 生成解析的短链。一次最多生成100个解析的短链。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateResolveTaskRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createResolveTaskAsync(CreateResolveTaskRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createResolveTask);
}
/**
* 生成解析任务
*
* 生成解析的短链。一次最多生成100个解析的短链。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateResolveTaskRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createResolveTaskAsyncInvoker(
CreateResolveTaskRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createResolveTask, hcClient);
}
/**
* 查询解析明细
*
* 根据用户提供的过滤条件查询个性化解析明细,包括:发送任务ID、发送手机号码等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimResolveDetailsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimResolveDetailsAsync(
ListAimResolveDetailsRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimResolveDetails);
}
/**
* 查询解析明细
*
* 根据用户提供的过滤条件查询个性化解析明细,包括:发送任务ID、发送手机号码等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimResolveDetailsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimResolveDetailsAsyncInvoker(
ListAimResolveDetailsRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimResolveDetails, hcClient);
}
/**
* 查询解析任务
*
* 创建解析任务后,客户可以查询解析任务状态信息。
*
* 通过模板ID等过滤条件,查询解析任务列表。
*
* 如需查询明细,建议使用查询解析明细接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListResolveTasksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listResolveTasksAsync(ListResolveTasksRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listResolveTasks);
}
/**
* 查询解析任务
*
* 创建解析任务后,客户可以查询解析任务状态信息。
*
* 通过模板ID等过滤条件,查询解析任务列表。
*
* 如需查询明细,建议使用查询解析明细接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListResolveTasksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listResolveTasksAsyncInvoker(
ListResolveTasksRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listResolveTasks, hcClient);
}
/**
* 查询智能信息服务号菜单
*
* 根据用户提供的过滤条件查询服务号菜单。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListMenusRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listMenusAsync(ListMenusRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listMenus);
}
/**
* 查询智能信息服务号菜单
*
* 根据用户提供的过滤条件查询服务号菜单。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListMenusRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listMenusAsyncInvoker(ListMenusRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listMenus, hcClient);
}
/**
* 修改智能信息服务号菜单
*
*
* 支持用户修改所属企业的指定菜单。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateMenuRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateMenuAsync(UpdateMenuRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updateMenu);
}
/**
* 修改智能信息服务号菜单
*
*
* 支持用户修改所属企业的指定菜单。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateMenuRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateMenuAsyncInvoker(UpdateMenuRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updateMenu, hcClient);
}
/**
* 删除通道号
*
* 删除通道号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeletePortInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deletePortInfoAsync(DeletePortInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.deletePortInfo);
}
/**
* 删除通道号
*
* 删除通道号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeletePortInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deletePortInfoAsyncInvoker(
DeletePortInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.deletePortInfo, hcClient);
}
/**
* 查询通道号列表
*
* 支持查询通道号列表和通道号绑定信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPortInfosRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listPortInfosAsync(ListPortInfosRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listPortInfos);
}
/**
* 查询通道号列表
*
* 支持查询通道号列表和通道号绑定信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPortInfosRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listPortInfosAsyncInvoker(
ListPortInfosRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listPortInfos, hcClient);
}
/**
* 通道号绑定服务号
*
* 通道号绑定服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request LockPortRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture lockPortAsync(LockPortRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.lockPort);
}
/**
* 通道号绑定服务号
*
* 通道号绑定服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request LockPortRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker lockPortAsyncInvoker(LockPortRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.lockPort, hcClient);
}
/**
* 注册通道号
*
* 注册通道号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request RegisterPortRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture registerPortAsync(RegisterPortRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.registerPort);
}
/**
* 注册通道号
*
* 注册通道号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request RegisterPortRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker registerPortAsyncInvoker(
RegisterPortRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.registerPort, hcClient);
}
/**
* 通道号解绑服务号
*
* 通道号解绑服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UnlockPortRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture unlockPortAsync(UnlockPortRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.unlockPort);
}
/**
* 通道号解绑服务号
*
* 通道号解绑服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UnlockPortRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker unlockPortAsyncInvoker(UnlockPortRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.unlockPort, hcClient);
}
/**
* 查询主页列表
*
*
* 根据用户提供的过滤条件查找用户管理的主页列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPortalInfosRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listPortalInfosAsync(ListPortalInfosRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listPortalInfos);
}
/**
* 查询主页列表
*
*
* 根据用户提供的过滤条件查找用户管理的主页列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPortalInfosRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listPortalInfosAsyncInvoker(
ListPortalInfosRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listPortalInfos, hcClient);
}
/**
* 修改主页信息
*
*
* 用户对已创建的主页进行信息的修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePortalInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updatePortalInfoAsync(UpdatePortalInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updatePortalInfo);
}
/**
* 修改主页信息
*
*
* 用户对已创建的主页进行信息的修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePortalInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updatePortalInfoAsyncInvoker(
UpdatePortalInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updatePortalInfo, hcClient);
}
/**
* 冻结服务号
*
* 支持用户通过此接口冻结服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request FreezePubRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture freezePubAsync(FreezePubRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.freezePub);
}
/**
* 冻结服务号
*
* 支持用户通过此接口冻结服务号。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request FreezePubRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker freezePubAsyncInvoker(FreezePubRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.freezePub, hcClient);
}
/**
* 查询服务号列表
*
*
* 支持根据用户提供的过滤条件查询服务号列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPubInfosRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listPubInfosAsync(ListPubInfosRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listPubInfos);
}
/**
* 查询服务号列表
*
*
* 支持根据用户提供的过滤条件查询服务号列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPubInfosRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listPubInfosAsyncInvoker(
ListPubInfosRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listPubInfos, hcClient);
}
/**
* 解冻服务号
*
* 服务号解结,冻结服务号。需审核,审核通过生效。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UnfreezePubRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture unfreezePubAsync(UnfreezePubRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.unfreezePub);
}
/**
* 解冻服务号
*
* 服务号解结,冻结服务号。需审核,审核通过生效。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UnfreezePubRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker unfreezePubAsyncInvoker(UnfreezePubRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.unfreezePub, hcClient);
}
/**
* 更新服务号信息
*
* 支持用户更新服务号信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePubInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updatePubInfoAsync(UpdatePubInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updatePubInfo);
}
/**
* 更新服务号信息
*
* 支持用户更新服务号信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePubInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updatePubInfoAsyncInvoker(
UpdatePubInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updatePubInfo, hcClient);
}
/**
* 一站式服务号创建
*
* 一站式服务号创建。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreatePubInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createPubInfoAsync(CreatePubInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createPubInfo);
}
/**
* 一站式服务号创建
*
* 一站式服务号创建。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreatePubInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createPubInfoAsyncInvoker(
CreatePubInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createPubInfo, hcClient);
}
/**
* 催审菜单
*
* 支持用户通过此接口根据菜单ID催审。菜单需要在与其关联的服务号审核通过之后才能催审。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PushMenuInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture pushMenuInfoAsync(PushMenuInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.pushMenuInfo);
}
/**
* 催审菜单
*
* 支持用户通过此接口根据菜单ID催审。菜单需要在与其关联的服务号审核通过之后才能催审。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PushMenuInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker pushMenuInfoAsyncInvoker(
PushMenuInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.pushMenuInfo, hcClient);
}
/**
* 催审主页
*
* 支持用户通过此接口根据主页ID催审。主页需要在与其关联的服务号审核通过之后才能催审。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PushPortalInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture pushPortalInfoAsync(PushPortalInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.pushPortalInfo);
}
/**
* 催审主页
*
* 支持用户通过此接口根据主页ID催审。主页需要在与其关联的服务号审核通过之后才能催审。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PushPortalInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker pushPortalInfoAsyncInvoker(
PushPortalInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.pushPortalInfo, hcClient);
}
/**
* 上传智能信息服务号图片资源
*
* 支持用户上传图片资源。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadMediaRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture uploadMediaAsync(UploadMediaRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.uploadMedia);
}
/**
* 上传智能信息服务号图片资源
*
* 支持用户上传图片资源。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadMediaRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker uploadMediaAsyncInvoker(UploadMediaRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.uploadMedia, hcClient);
}
/**
* 发送智能信息
*
* 根据客户的参数发送任务名称、智能信息模板ID等进行智能信息发送。一次最多发送100个智能信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimSendTaskRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createAimSendTaskAsync(CreateAimSendTaskRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createAimSendTask);
}
/**
* 发送智能信息
*
* 根据客户的参数发送任务名称、智能信息模板ID等进行智能信息发送。一次最多发送100个智能信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimSendTaskRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createAimSendTaskAsyncInvoker(
CreateAimSendTaskRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createAimSendTask, hcClient);
}
/**
* 查询智能信息发送明细
*
* 根据用户提供的过滤条件查询发送明细列表,包括:发送任务ID、发送手机号码等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendDetailsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimSendDetailsAsync(ListAimSendDetailsRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimSendDetails);
}
/**
* 查询智能信息发送明细
*
* 根据用户提供的过滤条件查询发送明细列表,包括:发送任务ID、发送手机号码等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendDetailsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimSendDetailsAsyncInvoker(
ListAimSendDetailsRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimSendDetails, hcClient);
}
/**
* 查询智能信息发送报表
*
* 查询智能信息发送报表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendReportsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimSendReportsAsync(ListAimSendReportsRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimSendReports);
}
/**
* 查询智能信息发送报表
*
* 查询智能信息发送报表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendReportsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimSendReportsAsyncInvoker(
ListAimSendReportsRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimSendReports, hcClient);
}
/**
* 查询智能信息发送任务
*
*
* 根据用户提供的过滤条件查询智能信息发送任务列表,包括:发送任务名称、智能信息模板ID等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendTasksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimSendTasksAsync(ListAimSendTasksRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimSendTasks);
}
/**
* 查询智能信息发送任务
*
*
* 根据用户提供的过滤条件查询智能信息发送任务列表,包括:发送任务名称、智能信息模板ID等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimSendTasksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimSendTasksAsyncInvoker(
ListAimSendTasksRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimSendTasks, hcClient);
}
/**
* 创建短信应用
*
* 该接口用于用户创建短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateSmsAppRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createSmsAppAsync(CreateSmsAppRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createSmsApp);
}
/**
* 创建短信应用
*
* 该接口用于用户创建短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateSmsAppRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createSmsAppAsyncInvoker(
CreateSmsAppRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createSmsApp, hcClient);
}
/**
* 查询短信应用
*
* 该接口用于用户查询已创建的短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgAppRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimMsgAppAsync(ListAimMsgAppRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimMsgApp);
}
/**
* 查询短信应用
*
* 该接口用于用户查询已创建的短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgAppRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimMsgAppAsyncInvoker(
ListAimMsgAppRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimMsgApp, hcClient);
}
/**
* 获取短信应用详情
*
* 该接口用于用户获取已创建的短信应用详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgAppDetailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimMsgAppDetailAsync(ListAimMsgAppDetailRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimMsgAppDetail);
}
/**
* 获取短信应用详情
*
* 该接口用于用户获取已创建的短信应用详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgAppDetailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimMsgAppDetailAsyncInvoker(
ListAimMsgAppDetailRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimMsgAppDetail, hcClient);
}
/**
* 修改短信应用
*
* 该接口用于用户修改短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgAppRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateAimMsgAppAsync(UpdateAimMsgAppRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updateAimMsgApp);
}
/**
* 修改短信应用
*
* 该接口用于用户修改短信应用。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgAppRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateAimMsgAppAsyncInvoker(
UpdateAimMsgAppRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updateAimMsgApp, hcClient);
}
/**
* 发送分批短信
*
* 该接口用于向不同用户发送不同内容的短信。
*
* - 前提条件
*
* 1. 已创建短信应用。
* 2. 已申请短信签名,获取签名通道号。
* 3. 已申请短信模板,获取模板ID。
*
* - 注意事项
*
* 单条短信最多允许携带500个号码,每个号码最大长度为21位。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SendAimBatchDifferentMessagesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture sendAimBatchDifferentMessagesAsync(
SendAimBatchDifferentMessagesRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.sendAimBatchDifferentMessages);
}
/**
* 发送分批短信
*
* 该接口用于向不同用户发送不同内容的短信。
*
* - 前提条件
*
* 1. 已创建短信应用。
* 2. 已申请短信签名,获取签名通道号。
* 3. 已申请短信模板,获取模板ID。
*
* - 注意事项
*
* 单条短信最多允许携带500个号码,每个号码最大长度为21位。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SendAimBatchDifferentMessagesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker sendAimBatchDifferentMessagesAsyncInvoker(
SendAimBatchDifferentMessagesRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.sendAimBatchDifferentMessages, hcClient);
}
/**
* 发送短信
*
* 向单个或多个用户发送相同内容的短信。
*
* - 前提条件
*
* 1. 已创建短信应用。
* 2. 已申请短信签名,获取签名通道号。
* 3. 已申请短信模板,获取模板ID。
*
* - 注意事项
*
* 最多允许携带500个号码,每个号码最大长度为21位。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SendAimBatchMessagesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture sendAimBatchMessagesAsync(
SendAimBatchMessagesRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.sendAimBatchMessages);
}
/**
* 发送短信
*
* 向单个或多个用户发送相同内容的短信。
*
* - 前提条件
*
* 1. 已创建短信应用。
* 2. 已申请短信签名,获取签名通道号。
* 3. 已申请短信模板,获取模板ID。
*
* - 注意事项
*
* 最多允许携带500个号码,每个号码最大长度为21位。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SendAimBatchMessagesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker sendAimBatchMessagesAsyncInvoker(
SendAimBatchMessagesRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.sendAimBatchMessages, hcClient);
}
/**
* 创建短信签名
*
* 该接口用于用户创建短信签名。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddAimMsgSignatureRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addAimMsgSignatureAsync(AddAimMsgSignatureRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.addAimMsgSignature);
}
/**
* 创建短信签名
*
* 该接口用于用户创建短信签名。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddAimMsgSignatureRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addAimMsgSignatureAsyncInvoker(
AddAimMsgSignatureRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.addAimMsgSignature, hcClient);
}
/**
* 删除短信签名
*
* 该接口用于用户删除已创建的短信签名。删除已审核通过的签名,会同步删除该签名对应的通道号和该签名下的所有短信模板,请谨慎操作。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimMsgSignatureRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteAimMsgSignatureAsync(
DeleteAimMsgSignatureRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.deleteAimMsgSignature);
}
/**
* 删除短信签名
*
* 该接口用于用户删除已创建的短信签名。删除已审核通过的签名,会同步删除该签名对应的通道号和该签名下的所有短信模板,请谨慎操作。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimMsgSignatureRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteAimMsgSignatureAsyncInvoker(
DeleteAimMsgSignatureRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.deleteAimMsgSignature, hcClient);
}
/**
* 查询短信签名
*
* 该接口用于用户查询已创建的短信签名。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgSignatureRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimMsgSignatureAsync(ListAimMsgSignatureRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimMsgSignature);
}
/**
* 查询短信签名
*
* 该接口用于用户查询已创建的短信签名。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgSignatureRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimMsgSignatureAsyncInvoker(
ListAimMsgSignatureRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimMsgSignature, hcClient);
}
/**
* 获取短信签名详情
*
* 该接口用于用户获取已创建的短信签名详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgSignatureDetailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimMsgSignatureDetailAsync(
ListAimMsgSignatureDetailRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimMsgSignatureDetail);
}
/**
* 获取短信签名详情
*
* 该接口用于用户获取已创建的短信签名详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgSignatureDetailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimMsgSignatureDetailAsyncInvoker(
ListAimMsgSignatureDetailRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimMsgSignatureDetail, hcClient);
}
/**
* 查询申请文件
*
* 该接口用于用户查询创建短信签名时上传的营业执照/授权委托书文件信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgSignatureFileInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showAimMsgSignatureFileInfoAsync(
ShowAimMsgSignatureFileInfoRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.showAimMsgSignatureFileInfo);
}
/**
* 查询申请文件
*
* 该接口用于用户查询创建短信签名时上传的营业执照/授权委托书文件信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgSignatureFileInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showAimMsgSignatureFileInfoAsyncInvoker(
ShowAimMsgSignatureFileInfoRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.showAimMsgSignatureFileInfo, hcClient);
}
/**
* 修改短信签名
*
* 该接口用于用户更新短信签名信息,目前仅支持审核不通过的短信签名重新修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgSignatureRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateAimMsgSignatureAsync(
UpdateAimMsgSignatureRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updateAimMsgSignature);
}
/**
* 修改短信签名
*
* 该接口用于用户更新短信签名信息,目前仅支持审核不通过的短信签名重新修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgSignatureRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateAimMsgSignatureAsyncInvoker(
UpdateAimMsgSignatureRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updateAimMsgSignature, hcClient);
}
/**
* 上传申请文件
*
* 该接口用于用户上传创建短信签名所需的营业执照/授权委托书文件。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadAimMsgSignatureFileRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture uploadAimMsgSignatureFileAsync(
UploadAimMsgSignatureFileRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.uploadAimMsgSignatureFile);
}
/**
* 上传申请文件
*
* 该接口用于用户上传创建短信签名所需的营业执照/授权委托书文件。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadAimMsgSignatureFileRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker uploadAimMsgSignatureFileAsyncInvoker(
UploadAimMsgSignatureFileRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.uploadAimMsgSignatureFile, hcClient);
}
/**
* 创建短信模板
*
* 该接口用于用户创建短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimMsgTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createAimMsgTemplateAsync(
CreateAimMsgTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createAimMsgTemplate);
}
/**
* 创建短信模板
*
* 该接口用于用户创建短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimMsgTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createAimMsgTemplateAsyncInvoker(
CreateAimMsgTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createAimMsgTemplate, hcClient);
}
/**
* 删除短信模板
*
* 该接口用于用户删除已创建的短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimMsgTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteAimMsgTemplateAsync(
DeleteAimMsgTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.deleteAimMsgTemplate);
}
/**
* 删除短信模板
*
* 该接口用于用户删除已创建的短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimMsgTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteAimMsgTemplateAsyncInvoker(
DeleteAimMsgTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.deleteAimMsgTemplate, hcClient);
}
/**
* 查询短信模板
*
* 该接口用于用户查询已创建的短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimMsgTemplateAsync(ListAimMsgTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimMsgTemplate);
}
/**
* 查询短信模板
*
* 该接口用于用户查询已创建的短信模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimMsgTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimMsgTemplateAsyncInvoker(
ListAimMsgTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimMsgTemplate, hcClient);
}
/**
* 获取短信模板详情
*
* 该接口用于用户获取已创建的短信模板详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgTemplateDetailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showAimMsgTemplateDetailAsync(
ShowAimMsgTemplateDetailRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.showAimMsgTemplateDetail);
}
/**
* 获取短信模板详情
*
* 该接口用于用户获取已创建的短信模板详情。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgTemplateDetailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showAimMsgTemplateDetailAsyncInvoker(
ShowAimMsgTemplateDetailRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.showAimMsgTemplateDetail, hcClient);
}
/**
* 查询短信模板变量
*
* 该接口用于用户查询短信模板变量。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgTemplateVariableRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showAimMsgTemplateVariableAsync(
ShowAimMsgTemplateVariableRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.showAimMsgTemplateVariable);
}
/**
* 查询短信模板变量
*
* 该接口用于用户查询短信模板变量。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAimMsgTemplateVariableRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showAimMsgTemplateVariableAsyncInvoker(
ShowAimMsgTemplateVariableRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.showAimMsgTemplateVariable, hcClient);
}
/**
* 修改短信模板
*
* 该接口用于用户修改短信模板信息,目前仅支持审核不通过的短信模板重新修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateAimMsgTemplateAsync(
UpdateAimMsgTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updateAimMsgTemplate);
}
/**
* 修改短信模板
*
* 该接口用于用户修改短信模板信息,目前仅支持审核不通过的短信模板重新修改。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateAimMsgTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateAimMsgTemplateAsyncInvoker(
UpdateAimMsgTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updateAimMsgTemplate, hcClient);
}
/**
* 创建个人模板
*
* 用于用户创建个人模板。
*
* > 请求中所有字符串不允许携带“<”、“>”、“\\&amp;”或多个空格。
* > 模板内容需加“拒收请回复R”。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimPersonalTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createAimPersonalTemplateAsync(
CreateAimPersonalTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createAimPersonalTemplate);
}
/**
* 创建个人模板
*
* 用于用户创建个人模板。
*
* > 请求中所有字符串不允许携带“<”、“>”、“\\&amp;”或多个空格。
* > 模板内容需加“拒收请回复R”。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAimPersonalTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createAimPersonalTemplateAsyncInvoker(
CreateAimPersonalTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createAimPersonalTemplate, hcClient);
}
/**
* 删除模板实例
*
* 根据用户提供的模板ID,删除智能信息个人模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimPersonalTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteAimPersonalTemplateAsync(
DeleteAimPersonalTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.deleteAimPersonalTemplate);
}
/**
* 删除模板实例
*
* 根据用户提供的模板ID,删除智能信息个人模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteAimPersonalTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteAimPersonalTemplateAsyncInvoker(
DeleteAimPersonalTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.deleteAimPersonalTemplate, hcClient);
}
/**
* 删除模板素材
*
* 根据用户提供的模板ID,删除模板素材。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteTemplateMaterialRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteTemplateMaterialAsync(
DeleteTemplateMaterialRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.deleteTemplateMaterial);
}
/**
* 删除模板素材
*
* 根据用户提供的模板ID,删除模板素材。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteTemplateMaterialRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteTemplateMaterialAsyncInvoker(
DeleteTemplateMaterialRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.deleteTemplateMaterial, hcClient);
}
/**
* 查询智能消息模板素材列表
*
* 根据用户提供的过滤条件,查询模板素材列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplateMaterialsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimTemplateMaterialsAsync(
ListAimTemplateMaterialsRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimTemplateMaterials);
}
/**
* 查询智能消息模板素材列表
*
* 根据用户提供的过滤条件,查询模板素材列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplateMaterialsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimTemplateMaterialsAsyncInvoker(
ListAimTemplateMaterialsRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimTemplateMaterials, hcClient);
}
/**
* 查询模板报表
*
* 根据用户指定过滤条件查询指定智能信息模板的解析次数。当日数据需要次日16:00之后才能查询到。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplateReportsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimTemplateReportsAsync(
ListAimTemplateReportsRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimTemplateReports);
}
/**
* 查询模板报表
*
* 根据用户指定过滤条件查询指定智能信息模板的解析次数。当日数据需要次日16:00之后才能查询到。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplateReportsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimTemplateReportsAsyncInvoker(
ListAimTemplateReportsRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimTemplateReports, hcClient);
}
/**
* 查询模板
*
*
* 根据客户提供的过滤条件查询智能信息模板列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplatesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAimTemplatesAsync(ListAimTemplatesRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listAimTemplates);
}
/**
* 查询模板
*
*
* 根据客户提供的过滤条件查询智能信息模板列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListAimTemplatesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAimTemplatesAsyncInvoker(
ListAimTemplatesRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listAimTemplates, hcClient);
}
/**
* 设置视频模板封面图
*
* 根据用户提供的视频封面图资源ID和AIM视频资源ID设置视频模板的封面图。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SetPrimaryVideoThumbnailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture setPrimaryVideoThumbnailAsync(
SetPrimaryVideoThumbnailRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.setPrimaryVideoThumbnail);
}
/**
* 设置视频模板封面图
*
* 根据用户提供的视频封面图资源ID和AIM视频资源ID设置视频模板的封面图。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SetPrimaryVideoThumbnailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker setPrimaryVideoThumbnailAsyncInvoker(
SetPrimaryVideoThumbnailRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.setPrimaryVideoThumbnail, hcClient);
}
/**
* 查询视频模板封面图
*
* 根据用户提供的过滤条件,查询视频模板封面图资源列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowTemplateVideoThumbnailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showTemplateVideoThumbnailAsync(
ShowTemplateVideoThumbnailRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.showTemplateVideoThumbnail);
}
/**
* 查询视频模板封面图
*
* 根据用户提供的过滤条件,查询视频模板封面图资源列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowTemplateVideoThumbnailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showTemplateVideoThumbnailAsyncInvoker(
ShowTemplateVideoThumbnailRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.showTemplateVideoThumbnail, hcClient);
}
/**
* 启用或禁用模板实例
*
* 根据用户提供的模板ID,启用或禁用智能信息个人模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePersonalTemplateStateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updatePersonalTemplateStateAsync(
UpdatePersonalTemplateStateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.updatePersonalTemplateState);
}
/**
* 启用或禁用模板实例
*
* 根据用户提供的模板ID,启用或禁用智能信息个人模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdatePersonalTemplateStateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updatePersonalTemplateStateAsyncInvoker(
UpdatePersonalTemplateStateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.updatePersonalTemplateState, hcClient);
}
/**
* 上传智能信息模板素材
*
* 支持用户上传模板使用的图片或者视频。
*
* > 单个租户资源空间为10GB,包括回收站内容,请及时清理无用资源,防止资源浪费。
* > 请求中所有字符串不允许携带“<”、“>”或多个空格。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadAimTemplateMaterialRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture uploadAimTemplateMaterialAsync(
UploadAimTemplateMaterialRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.uploadAimTemplateMaterial);
}
/**
* 上传智能信息模板素材
*
* 支持用户上传模板使用的图片或者视频。
*
* > 单个租户资源空间为10GB,包括回收站内容,请及时清理无用资源,防止资源浪费。
* > 请求中所有字符串不允许携带“<”、“>”或多个空格。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadAimTemplateMaterialRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker uploadAimTemplateMaterialAsyncInvoker(
UploadAimTemplateMaterialRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.uploadAimTemplateMaterial, hcClient);
}
/**
* 注册智能信息基础版回执URL
*
* 用户根据要求创建智能信息基础版回执接口后,可以调用此接口进行注册。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddVmsCallBackRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addVmsCallBackAsync(AddVmsCallBackRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.addVmsCallBack);
}
/**
* 注册智能信息基础版回执URL
*
* 用户根据要求创建智能信息基础版回执接口后,可以调用此接口进行注册。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddVmsCallBackRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addVmsCallBackAsyncInvoker(
AddVmsCallBackRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.addVmsCallBack, hcClient);
}
/**
* 发送智能信息基础版任务
*
* 支持用户通过此接口进行智能信息基础版任务发送。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateVmsSendTaskRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createVmsSendTaskAsync(CreateVmsSendTaskRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createVmsSendTask);
}
/**
* 发送智能信息基础版任务
*
* 支持用户通过此接口进行智能信息基础版任务发送。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateVmsSendTaskRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createVmsSendTaskAsyncInvoker(
CreateVmsSendTaskRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createVmsSendTask, hcClient);
}
/**
* 查询用户已注册智能信息基础版回执接口
*
* 查询所有已注册的智能信息基础版回执接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsCallbacksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listVmsCallbacksAsync(ListVmsCallbacksRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listVmsCallbacks);
}
/**
* 查询用户已注册智能信息基础版回执接口
*
* 查询所有已注册的智能信息基础版回执接口。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsCallbacksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listVmsCallbacksAsyncInvoker(
ListVmsCallbacksRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listVmsCallbacks, hcClient);
}
/**
* 查询智能信息基础版发送任务
*
* 支持用户根据过滤条件查询智能信息基础版任务列表。包括:发送任务名称、智能信息基础版模板ID等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsSendTasksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listVmsSendTasksAsync(ListVmsSendTasksRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listVmsSendTasks);
}
/**
* 查询智能信息基础版发送任务
*
* 支持用户根据过滤条件查询智能信息基础版任务列表。包括:发送任务名称、智能信息基础版模板ID等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsSendTasksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listVmsSendTasksAsyncInvoker(
ListVmsSendTasksRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listVmsSendTasks, hcClient);
}
/**
* 新建智能信息基础版模板
*
* 支持用户通过此接口创建智能信息基础版模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateVmsTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createVmsTemplateAsync(CreateVmsTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.createVmsTemplate);
}
/**
* 新建智能信息基础版模板
*
* 支持用户通过此接口创建智能信息基础版模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateVmsTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createVmsTemplateAsyncInvoker(
CreateVmsTemplateRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.createVmsTemplate, hcClient);
}
/**
* 查询智能信息基础版模板状态
*
* 根据用户提供的过滤条件查询智能信息基础版模板状态列表。
* 包括:模板ID、模板名称等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsTemplateStatusRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listVmsTemplateStatusAsync(
ListVmsTemplateStatusRequest request) {
return hcClient.asyncInvokeHttp(request, KooMessageMeta.listVmsTemplateStatus);
}
/**
* 查询智能信息基础版模板状态
*
* 根据用户提供的过滤条件查询智能信息基础版模板状态列表。
* 包括:模板ID、模板名称等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListVmsTemplateStatusRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listVmsTemplateStatusAsyncInvoker(
ListVmsTemplateStatusRequest request) {
return new AsyncInvoker<>(request, KooMessageMeta.listVmsTemplateStatus, hcClient);
}
}