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.cloudide.v2.CloudIDEAsyncClient Maven / Gradle / Ivy
package com.huaweicloud.sdk.cloudide.v2;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionEvaluationReplyRequest;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionEvaluationReplyResponse;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionEvaluationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionEvaluationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionStarRequest;
import com.huaweicloud.sdk.cloudide.v2.model.AddExtensionStarResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CheckInstanceAccessRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CheckInstanceAccessResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CheckMaliciousExtensionEvaluationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CheckMaliciousExtensionEvaluationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CheckNameRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CheckNameResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateAcceptanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateAcceptanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateApplyRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateApplyResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateEventRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateEventResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateExtensionAuthorizationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateExtensionAuthorizationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateInstanceBy3rdRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateInstanceBy3rdResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateLoginRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateLoginResponse;
import com.huaweicloud.sdk.cloudide.v2.model.CreateRequestRequest;
import com.huaweicloud.sdk.cloudide.v2.model.CreateRequestResponse;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteEvaluationReplyRequest;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteEvaluationReplyResponse;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteEvaluationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteEvaluationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.DeleteInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListExtensionsRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListExtensionsResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListInstancesRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListInstancesResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListOrgInstancesRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListOrgInstancesResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListProjectTemplatesRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListProjectTemplatesResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListPublisherRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListPublisherResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ListStacksRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ListStacksResponse;
import com.huaweicloud.sdk.cloudide.v2.model.PublishExtensionRequest;
import com.huaweicloud.sdk.cloudide.v2.model.PublishExtensionResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowAccountStatusRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowAccountStatusResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowCategoryListRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowCategoryListResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionAuthorizationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionAuthorizationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionDetailRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionDetailResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionEvaluationRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionEvaluationResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionEvaluationStarRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionEvaluationStarResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionTestingResultRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowExtensionTestingResultResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowInstanceStatusInfoRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowInstanceStatusInfoResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowPriceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowPriceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.ShowResultRequest;
import com.huaweicloud.sdk.cloudide.v2.model.ShowResultResponse;
import com.huaweicloud.sdk.cloudide.v2.model.StartChatRequest;
import com.huaweicloud.sdk.cloudide.v2.model.StartChatResponse;
import com.huaweicloud.sdk.cloudide.v2.model.StartInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.StartInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.StopInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.StopInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.SyncChatRequest;
import com.huaweicloud.sdk.cloudide.v2.model.SyncChatResponse;
import com.huaweicloud.sdk.cloudide.v2.model.SyncGetChatResultRequest;
import com.huaweicloud.sdk.cloudide.v2.model.SyncGetChatResultResponse;
import com.huaweicloud.sdk.cloudide.v2.model.UpdateInstanceActivityRequest;
import com.huaweicloud.sdk.cloudide.v2.model.UpdateInstanceActivityResponse;
import com.huaweicloud.sdk.cloudide.v2.model.UpdateInstanceRequest;
import com.huaweicloud.sdk.cloudide.v2.model.UpdateInstanceResponse;
import com.huaweicloud.sdk.cloudide.v2.model.UploadExtensionFileRequest;
import com.huaweicloud.sdk.cloudide.v2.model.UploadExtensionFileResponse;
import com.huaweicloud.sdk.cloudide.v2.model.UploadFilePublisherRequest;
import com.huaweicloud.sdk.cloudide.v2.model.UploadFilePublisherResponse;
import com.huaweicloud.sdk.core.ClientBuilder;
import com.huaweicloud.sdk.core.HcClient;
import com.huaweicloud.sdk.core.invoker.AsyncInvoker;
import java.util.concurrent.CompletableFuture;
public class CloudIDEAsyncClient {
protected HcClient hcClient;
public CloudIDEAsyncClient(HcClient hcClient) {
this.hcClient = hcClient;
}
public static ClientBuilder newBuilder() {
ClientBuilder clientBuilder = new ClientBuilder<>(CloudIDEAsyncClient::new);
return clientBuilder;
}
/**
* 添加插件评论
*
* 添加插件评论
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionEvaluationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addExtensionEvaluationAsync(
AddExtensionEvaluationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.addExtensionEvaluation);
}
/**
* 添加插件评论
*
* 添加插件评论
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionEvaluationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addExtensionEvaluationAsyncInvoker(
AddExtensionEvaluationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.addExtensionEvaluation, hcClient);
}
/**
* 添加评论回复、回复评论回复
*
* 添加评论回复、回复评论回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionEvaluationReplyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addExtensionEvaluationReplyAsync(
AddExtensionEvaluationReplyRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.addExtensionEvaluationReply);
}
/**
* 添加评论回复、回复评论回复
*
* 添加评论回复、回复评论回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionEvaluationReplyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addExtensionEvaluationReplyAsyncInvoker(
AddExtensionEvaluationReplyRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.addExtensionEvaluationReply, hcClient);
}
/**
* 添加新评星
*
* 添加新评星
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionStarRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addExtensionStarAsync(AddExtensionStarRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.addExtensionStar);
}
/**
* 添加新评星
*
* 添加新评星
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request AddExtensionStarRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addExtensionStarAsyncInvoker(
AddExtensionStarRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.addExtensionStar, hcClient);
}
/**
* 举报评论,举报回复
*
* 举报评论,举报回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckMaliciousExtensionEvaluationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture checkMaliciousExtensionEvaluationAsync(
CheckMaliciousExtensionEvaluationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.checkMaliciousExtensionEvaluation);
}
/**
* 举报评论,举报回复
*
* 举报评论,举报回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckMaliciousExtensionEvaluationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker checkMaliciousExtensionEvaluationAsyncInvoker(
CheckMaliciousExtensionEvaluationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.checkMaliciousExtensionEvaluation, hcClient);
}
/**
* 设置ide实例对插件的授权
*
* 设置ide实例对插件的授权。同意、不同意、未知(下次重新询问)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateExtensionAuthorizationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createExtensionAuthorizationAsync(
CreateExtensionAuthorizationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createExtensionAuthorization);
}
/**
* 设置ide实例对插件的授权
*
* 设置ide实例对插件的授权。同意、不同意、未知(下次重新询问)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateExtensionAuthorizationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createExtensionAuthorizationAsyncInvoker(
CreateExtensionAuthorizationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createExtensionAuthorization, hcClient);
}
/**
* 删除评论
*
* 删除评论
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteEvaluationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteEvaluationAsync(DeleteEvaluationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.deleteEvaluation);
}
/**
* 删除评论
*
* 删除评论
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteEvaluationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteEvaluationAsyncInvoker(
DeleteEvaluationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.deleteEvaluation, hcClient);
}
/**
* 删除回复
*
* 删除回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteEvaluationReplyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteEvaluationReplyAsync(
DeleteEvaluationReplyRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.deleteEvaluationReply);
}
/**
* 删除回复
*
* 删除回复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteEvaluationReplyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteEvaluationReplyAsyncInvoker(
DeleteEvaluationReplyRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.deleteEvaluationReply, hcClient);
}
/**
* 查询插件列表
*
* 查询插件列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListExtensionsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listExtensionsAsync(ListExtensionsRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listExtensions);
}
/**
* 查询插件列表
*
* 查询插件列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListExtensionsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listExtensionsAsyncInvoker(
ListExtensionsRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listExtensions, hcClient);
}
/**
* 查询技术栈模板工程
*
* 查询技术栈模板工程
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListProjectTemplatesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listProjectTemplatesAsync(
ListProjectTemplatesRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listProjectTemplates);
}
/**
* 查询技术栈模板工程
*
* 查询技术栈模板工程
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListProjectTemplatesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listProjectTemplatesAsyncInvoker(
ListProjectTemplatesRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listProjectTemplates, hcClient);
}
/**
* 获取当前用户下的发布商列表
*
* 获取当前用户下的发布商列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPublisherRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listPublisherAsync(ListPublisherRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listPublisher);
}
/**
* 获取当前用户下的发布商列表
*
* 获取当前用户下的发布商列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListPublisherRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listPublisherAsyncInvoker(
ListPublisherRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listPublisher, hcClient);
}
/**
* 按region获取标签所有技术栈
*
* 按region获取标签所有技术栈
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListStacksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listStacksAsync(ListStacksRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listStacks);
}
/**
* 按region获取标签所有技术栈
*
* 按region获取标签所有技术栈
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListStacksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listStacksAsyncInvoker(ListStacksRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listStacks, hcClient);
}
/**
* 插件发布
*
* 插件发布
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PublishExtensionRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture publishExtensionAsync(PublishExtensionRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.publishExtension);
}
/**
* 插件发布
*
* 插件发布
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request PublishExtensionRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker publishExtensionAsyncInvoker(
PublishExtensionRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.publishExtension, hcClient);
}
/**
* 查询当前帐号访问权限
*
* 查询当前帐号访问权限
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAccountStatusRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showAccountStatusAsync(ShowAccountStatusRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showAccountStatus);
}
/**
* 查询当前帐号访问权限
*
* 查询当前帐号访问权限
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowAccountStatusRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showAccountStatusAsyncInvoker(
ShowAccountStatusRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showAccountStatus, hcClient);
}
/**
* 查询插件分类
*
* 查询插件分类
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowCategoryListRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showCategoryListAsync(ShowCategoryListRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showCategoryList);
}
/**
* 查询插件分类
*
* 查询插件分类
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowCategoryListRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showCategoryListAsyncInvoker(
ShowCategoryListRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showCategoryList, hcClient);
}
/**
* 查询ide实例对插件的授权情况
*
* 查询ide实例对插件的授权情况,同意授权的插件能在ide实例内携带登陆用户的token调用第三方服务
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionAuthorizationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showExtensionAuthorizationAsync(
ShowExtensionAuthorizationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showExtensionAuthorization);
}
/**
* 查询ide实例对插件的授权情况
*
* 查询ide实例对插件的授权情况,同意授权的插件能在ide实例内携带登陆用户的token调用第三方服务
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionAuthorizationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showExtensionAuthorizationAsyncInvoker(
ShowExtensionAuthorizationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showExtensionAuthorization, hcClient);
}
/**
* 查询插件详细信息
*
* 查询插件详细信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionDetailRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showExtensionDetailAsync(ShowExtensionDetailRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showExtensionDetail);
}
/**
* 查询插件详细信息
*
* 查询插件详细信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionDetailRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showExtensionDetailAsyncInvoker(
ShowExtensionDetailRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showExtensionDetail, hcClient);
}
/**
* 查询插件评价
*
* 查询插件评价
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionEvaluationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showExtensionEvaluationAsync(
ShowExtensionEvaluationRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showExtensionEvaluation);
}
/**
* 查询插件评价
*
* 查询插件评价
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionEvaluationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showExtensionEvaluationAsyncInvoker(
ShowExtensionEvaluationRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showExtensionEvaluation, hcClient);
}
/**
* 查询插件评星
*
* 查询插件评星
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionEvaluationStarRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showExtensionEvaluationStarAsync(
ShowExtensionEvaluationStarRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showExtensionEvaluationStar);
}
/**
* 查询插件评星
*
* 查询插件评星
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionEvaluationStarRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showExtensionEvaluationStarAsyncInvoker(
ShowExtensionEvaluationStarRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showExtensionEvaluationStar, hcClient);
}
/**
* 获取插件检测结果
*
* 获取插件检测结果
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionTestingResultRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showExtensionTestingResultAsync(
ShowExtensionTestingResultRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showExtensionTestingResult);
}
/**
* 获取插件检测结果
*
* 获取插件检测结果
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowExtensionTestingResultRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showExtensionTestingResultAsyncInvoker(
ShowExtensionTestingResultRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showExtensionTestingResult, hcClient);
}
/**
* 获取技术栈计费信息
*
* 获取技术栈计费信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowPriceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showPriceAsync(ShowPriceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showPrice);
}
/**
* 获取技术栈计费信息
*
* 获取技术栈计费信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowPriceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showPriceAsyncInvoker(ShowPriceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showPrice, hcClient);
}
/**
* 上传插件
*
* 上传插件
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadExtensionFileRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture uploadExtensionFileAsync(UploadExtensionFileRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.uploadExtensionFile);
}
/**
* 上传插件
*
* 上传插件
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadExtensionFileRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker uploadExtensionFileAsyncInvoker(
UploadExtensionFileRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.uploadExtensionFile, hcClient);
}
/**
* 文件上传归一化
*
* 文件上传归一化
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadFilePublisherRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture uploadFilePublisherAsync(UploadFilePublisherRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.uploadFilePublisher);
}
/**
* 文件上传归一化
*
* 文件上传归一化
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UploadFilePublisherRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker uploadFilePublisherAsyncInvoker(
UploadFilePublisherRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.uploadFilePublisher, hcClient);
}
/**
* CreateAcceptance接口
*
* create a acceptance
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAcceptanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createAcceptanceAsync(CreateAcceptanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createAcceptance);
}
/**
* CreateAcceptance接口
*
* create a acceptance
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateAcceptanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createAcceptanceAsyncInvoker(
CreateAcceptanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createAcceptance, hcClient);
}
/**
* CreateJoinRequest接口
*
* create a join-request
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateApplyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createApplyAsync(CreateApplyRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createApply);
}
/**
* CreateJoinRequest接口
*
* create a join-request
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateApplyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createApplyAsyncInvoker(CreateApplyRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createApply, hcClient);
}
/**
* CreateEvent接口
*
* create an event
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateEventRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createEventAsync(CreateEventRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createEvent);
}
/**
* CreateEvent接口
*
* create an event
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateEventRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createEventAsyncInvoker(CreateEventRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createEvent, hcClient);
}
/**
* CreateLogin接口
*
* create a login
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateLoginRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createLoginAsync(CreateLoginRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createLogin);
}
/**
* CreateLogin接口
*
* create a login
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateLoginRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createLoginAsyncInvoker(CreateLoginRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createLogin, hcClient);
}
/**
* Create Request接口
*
* create a code generation request.
*
* if agent receives a code generation request, it will:
* - record the request into mysql,
* - decompose the request into `topn` tasks.
* - send the tasks to kafka.
*
* if agent receives a duplicated code generation request, it will not decompose request and send to kafka.
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateRequestRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createRequestAsync(CreateRequestRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createRequest);
}
/**
* Create Request接口
*
* create a code generation request.
*
* if agent receives a code generation request, it will:
* - record the request into mysql,
* - decompose the request into `topn` tasks.
* - send the tasks to kafka.
*
* if agent receives a duplicated code generation request, it will not decompose request and send to kafka.
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateRequestRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createRequestAsyncInvoker(
CreateRequestRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createRequest, hcClient);
}
/**
* Show Result接口
*
* get the result of the code generation request.
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowResultRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showResultAsync(ShowResultRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showResult);
}
/**
* Show Result接口
*
* get the result of the code generation request.
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowResultRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showResultAsyncInvoker(ShowResultRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showResult, hcClient);
}
/**
* start_chat_codebreezetsbot_v1_devmind_tsbot_start_chat_post接口
*
* 开启对话
* :param data: example: {\"user_type\": \"IDE\"}
* :return:
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StartChatRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture startChatAsync(StartChatRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.startChat);
}
/**
* start_chat_codebreezetsbot_v1_devmind_tsbot_start_chat_post接口
*
* 开启对话
* :param data: example: {\"user_type\": \"IDE\"}
* :return:
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StartChatRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker startChatAsyncInvoker(StartChatRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.startChat, hcClient);
}
/**
* async_chat_codebreezetsbot_v1_devmind_tsbot_async_chat_post接口
*
* 异步聊天请求
* :param data: ChatRequestMessage
* :return:
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SyncChatRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture syncChatAsync(SyncChatRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.syncChat);
}
/**
* async_chat_codebreezetsbot_v1_devmind_tsbot_async_chat_post接口
*
* 异步聊天请求
* :param data: ChatRequestMessage
* :return:
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SyncChatRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker syncChatAsyncInvoker(SyncChatRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.syncChat, hcClient);
}
/**
* async_get_chat_result_codebreezetsbot_v1_devmind_tsbot_async_get_chat_result_post接口
*
* 异步聊天获取结果
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SyncGetChatResultRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture syncGetChatResultAsync(SyncGetChatResultRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.syncGetChatResult);
}
/**
* async_get_chat_result_codebreezetsbot_v1_devmind_tsbot_async_get_chat_result_post接口
*
* 异步聊天获取结果
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request SyncGetChatResultRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker syncGetChatResultAsyncInvoker(
SyncGetChatResultRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.syncGetChatResult, hcClient);
}
/**
* 查询用户是否有权限访问某个IDE实例
*
* 查询用户是否有权限访问某个IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckInstanceAccessRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture checkInstanceAccessAsync(CheckInstanceAccessRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.checkInstanceAccess);
}
/**
* 查询用户是否有权限访问某个IDE实例
*
* 查询用户是否有权限访问某个IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckInstanceAccessRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker checkInstanceAccessAsyncInvoker(
CheckInstanceAccessRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.checkInstanceAccess, hcClient);
}
/**
* 查询IDE实例名是否重复
*
* 查询IDE实例名是否重复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckNameRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture checkNameAsync(CheckNameRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.checkName);
}
/**
* 查询IDE实例名是否重复
*
* 查询IDE实例名是否重复
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CheckNameRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker checkNameAsyncInvoker(CheckNameRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.checkName, hcClient);
}
/**
* 创建IDE实例
*
* 创建IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createInstanceAsync(CreateInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createInstance);
}
/**
* 创建IDE实例
*
* 创建IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createInstanceAsyncInvoker(
CreateInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createInstance, hcClient);
}
/**
* 外部第三方集成商创建IDE实例
*
* 创建IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateInstanceBy3rdRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createInstanceBy3rdAsync(CreateInstanceBy3rdRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.createInstanceBy3rd);
}
/**
* 外部第三方集成商创建IDE实例
*
* 创建IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request CreateInstanceBy3rdRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createInstanceBy3rdAsyncInvoker(
CreateInstanceBy3rdRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.createInstanceBy3rd, hcClient);
}
/**
* 删除IDE实例
*
* 删除IDE实例(同时删除磁盘数据)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteInstanceAsync(DeleteInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.deleteInstance);
}
/**
* 删除IDE实例
*
* 删除IDE实例(同时删除磁盘数据)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request DeleteInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteInstanceAsyncInvoker(
DeleteInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.deleteInstance, hcClient);
}
/**
* 查询IDE实例列表
*
* 查询IDE实例列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listInstancesAsync(ListInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listInstances);
}
/**
* 查询IDE实例列表
*
* 查询IDE实例列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listInstancesAsyncInvoker(
ListInstancesRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listInstances, hcClient);
}
/**
* 查询某个租户下的IDE实例列表
*
* 查询某个租户下的IDE实例列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListOrgInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listOrgInstancesAsync(ListOrgInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.listOrgInstances);
}
/**
* 查询某个租户下的IDE实例列表
*
* 查询某个租户下的IDE实例列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ListOrgInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listOrgInstancesAsyncInvoker(
ListOrgInstancesRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.listOrgInstances, hcClient);
}
/**
* 查询某个IDE实例
*
* 查询某个IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showInstanceAsync(ShowInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showInstance);
}
/**
* 查询某个IDE实例
*
* 查询某个IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showInstanceAsyncInvoker(
ShowInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showInstance, hcClient);
}
/**
* 查询某个IDE实例的状态
*
* 查询某个IDE实例的状态
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowInstanceStatusInfoRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showInstanceStatusInfoAsync(
ShowInstanceStatusInfoRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.showInstanceStatusInfo);
}
/**
* 查询某个IDE实例的状态
*
* 查询某个IDE实例的状态
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request ShowInstanceStatusInfoRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showInstanceStatusInfoAsyncInvoker(
ShowInstanceStatusInfoRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.showInstanceStatusInfo, hcClient);
}
/**
* 启动IDE实例
*
* 启动IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StartInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture startInstanceAsync(StartInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.startInstance);
}
/**
* 启动IDE实例
*
* 启动IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StartInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker startInstanceAsyncInvoker(
StartInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.startInstance, hcClient);
}
/**
* 停止IDE实例
*
* 停止IDE实例(不删除磁盘数据)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StopInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture stopInstanceAsync(StopInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.stopInstance);
}
/**
* 停止IDE实例
*
* 停止IDE实例(不删除磁盘数据)
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request StopInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker stopInstanceAsyncInvoker(
StopInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.stopInstance, hcClient);
}
/**
* 修改IDE实例
*
* 修改IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateInstanceAsync(UpdateInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.updateInstance);
}
/**
* 修改IDE实例
*
* 修改IDE实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateInstanceAsyncInvoker(
UpdateInstanceRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.updateInstance, hcClient);
}
/**
* 刷新IDE实例活跃状态
*
* 刷新IDE实例活跃状态,超过该实例设置的过期时间后实例自动关闭。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateInstanceActivityRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture updateInstanceActivityAsync(
UpdateInstanceActivityRequest request) {
return hcClient.asyncInvokeHttp(request, CloudIDEMeta.updateInstanceActivity);
}
/**
* 刷新IDE实例活跃状态
*
* 刷新IDE实例活跃状态,超过该实例设置的过期时间后实例自动关闭。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param request UpdateInstanceActivityRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker updateInstanceActivityAsyncInvoker(
UpdateInstanceActivityRequest request) {
return new AsyncInvoker<>(request, CloudIDEMeta.updateInstanceActivity, hcClient);
}
}