Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.client; + +import cn.ucloud.common.client.DefaultClient; +import cn.ucloud.common.config.Config; +import cn.ucloud.common.credential.Credential; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.uhids.models.AddUHostSecBaseCheckWhiteRuleRequest; +import cn.ucloud.uhids.models.AddUHostSecBaseCheckWhiteRuleResponse; +import cn.ucloud.uhids.models.AddUHostSecWebRiskWhiteRuleRequest; +import cn.ucloud.uhids.models.AddUHostSecWebRiskWhiteRuleResponse; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginIpRequest; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginIpResponse; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginLocationRequest; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginLocationResponse; +import cn.ucloud.uhids.models.AgentOSStatisticRequest; +import cn.ucloud.uhids.models.AgentOSStatisticResponse; +import cn.ucloud.uhids.models.AgentWarnningStatisticRequest; +import cn.ucloud.uhids.models.AgentWarnningStatisticResponse; +import cn.ucloud.uhids.models.BuyBillPointRequest; +import cn.ucloud.uhids.models.BuyBillPointResponse; +import cn.ucloud.uhids.models.DelUHostSecBaseCheckWhiteRuleRequest; +import cn.ucloud.uhids.models.DelUHostSecBaseCheckWhiteRuleResponse; +import cn.ucloud.uhids.models.DelUHostSecCommonLoginRequest; +import cn.ucloud.uhids.models.DelUHostSecCommonLoginResponse; +import cn.ucloud.uhids.models.DelUHostSecWarningsRequest; +import cn.ucloud.uhids.models.DelUHostSecWarningsResponse; +import cn.ucloud.uhids.models.GetUHostsecAgentDeploymentStatisticsRequest; +import cn.ucloud.uhids.models.GetUHostsecAgentDeploymentStatisticsResponse; +import cn.ucloud.uhids.models.GetUHostsecAgentInstallScriptRequest; +import cn.ucloud.uhids.models.GetUHostsecAgentInstallScriptResponse; +import cn.ucloud.uhids.models.GetUHostsecBaseCheckRuleDescriptionRequest; +import cn.ucloud.uhids.models.GetUHostsecBaseCheckRuleDescriptionResponse; +import cn.ucloud.uhids.models.GetUhostsecAgentDeploymentSituationWithVerInfoRequest; +import cn.ucloud.uhids.models.GetUhostsecAgentDeploymentSituationWithVerInfoResponse; +import cn.ucloud.uhids.models.GetUhostsecTrojanDescriptionRequest; +import cn.ucloud.uhids.models.GetUhostsecTrojanDescriptionResponse; +import cn.ucloud.uhids.models.ListUHostsecWarnDaysStatisticsV2Request; +import cn.ucloud.uhids.models.ListUHostsecWarnDaysStatisticsV2Response; +import cn.ucloud.uhids.models.ListUHostsecWarnStatisticsV2Request; +import cn.ucloud.uhids.models.ListUHostsecWarnStatisticsV2Response; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginIpRequest; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginIpResponse; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginLocationRequest; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginLocationResponse; +import cn.ucloud.uhids.models.OptBusinessVerAutoRequest; +import cn.ucloud.uhids.models.OptBusinessVerAutoResponse; +import cn.ucloud.uhids.models.OptPayAutoRenewRequest; +import cn.ucloud.uhids.models.OptPayAutoRenewResponse; +import cn.ucloud.uhids.models.QueryBillPointDeductionFlowByCycleRequest; +import cn.ucloud.uhids.models.QueryBillPointDeductionFlowByCycleResponse; +import cn.ucloud.uhids.models.QueryNewestUpdateTimeRequest; +import cn.ucloud.uhids.models.QueryNewestUpdateTimeResponse; +import cn.ucloud.uhids.models.QueryPayInfoRequest; +import cn.ucloud.uhids.models.QueryPayInfoResponse; +import cn.ucloud.uhids.models.QueryUHostSecWarningBaseChecksRequest; +import cn.ucloud.uhids.models.QueryUHostSecWarningBaseChecksResponse; +import cn.ucloud.uhids.models.QueryWeekReportListRequest; +import cn.ucloud.uhids.models.QueryWeekReportListResponse; +import cn.ucloud.uhids.models.SwitchAgentFunctionVersionRequest; +import cn.ucloud.uhids.models.SwitchAgentFunctionVersionResponse; +import cn.ucloud.uhids.models.VulStatisticTopNRequest; +import cn.ucloud.uhids.models.VulStatisticTopNResponse; + +/** This client is used to call actions of **UHIDS** service */ +public class UHIDSClient extends DefaultClient implements UHIDSClientInterface { + public UHIDSClient(Config config, Credential credential) { + super(config, credential); + } + + /** + * AddUHostSecBaseCheckWhiteRule - 添加安全基线白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUHostSecBaseCheckWhiteRuleResponse addUHostSecBaseCheckWhiteRule( + AddUHostSecBaseCheckWhiteRuleRequest request) throws UCloudException { + request.setAction("AddUHostSecBaseCheckWhiteRule"); + return (AddUHostSecBaseCheckWhiteRuleResponse) + this.invoke(request, AddUHostSecBaseCheckWhiteRuleResponse.class); + } + + /** + * AddUHostSecWebRiskWhiteRule - 添加webrisk白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUHostSecWebRiskWhiteRuleResponse addUHostSecWebRiskWhiteRule( + AddUHostSecWebRiskWhiteRuleRequest request) throws UCloudException { + request.setAction("AddUHostSecWebRiskWhiteRule"); + return (AddUHostSecWebRiskWhiteRuleResponse) + this.invoke(request, AddUHostSecWebRiskWhiteRuleResponse.class); + } + + /** + * AddUhostsecCommonLoginIp - 添加常用登录Ip + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUhostsecCommonLoginIpResponse addUhostsecCommonLoginIp( + AddUhostsecCommonLoginIpRequest request) throws UCloudException { + request.setAction("AddUhostsecCommonLoginIp"); + return (AddUhostsecCommonLoginIpResponse) + this.invoke(request, AddUhostsecCommonLoginIpResponse.class); + } + + /** + * AddUhostsecCommonLoginLocation - 添加常用登录地 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUhostsecCommonLoginLocationResponse addUhostsecCommonLoginLocation( + AddUhostsecCommonLoginLocationRequest request) throws UCloudException { + request.setAction("AddUhostsecCommonLoginLocation"); + return (AddUhostsecCommonLoginLocationResponse) + this.invoke(request, AddUhostsecCommonLoginLocationResponse.class); + } + + /** + * AgentOSStatistic - 主机操作系统分布 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AgentOSStatisticResponse agentOSStatistic(AgentOSStatisticRequest request) + throws UCloudException { + request.setAction("AgentOSStatistic"); + return (AgentOSStatisticResponse) this.invoke(request, AgentOSStatisticResponse.class); + } + + /** + * AgentWarnningStatistic - 服务器状态统计 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AgentWarnningStatisticResponse agentWarnningStatistic( + AgentWarnningStatisticRequest request) throws UCloudException { + request.setAction("AgentWarnningStatistic"); + return (AgentWarnningStatisticResponse) + this.invoke(request, AgentWarnningStatisticResponse.class); + } + + /** + * BuyBillPoint - 购买付费点数 + * + * @param request Request object + * @throws UCloudException Exception + */ + public BuyBillPointResponse buyBillPoint(BuyBillPointRequest request) throws UCloudException { + request.setAction("BuyBillPoint"); + return (BuyBillPointResponse) this.invoke(request, BuyBillPointResponse.class); + } + + /** + * DelUHostSecBaseCheckWhiteRule - 删除安全基线白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecBaseCheckWhiteRuleResponse delUHostSecBaseCheckWhiteRule( + DelUHostSecBaseCheckWhiteRuleRequest request) throws UCloudException { + request.setAction("DelUHostSecBaseCheckWhiteRule"); + return (DelUHostSecBaseCheckWhiteRuleResponse) + this.invoke(request, DelUHostSecBaseCheckWhiteRuleResponse.class); + } + + /** + * DelUHostSecCommonLogin - 删除常用登陆IP或常用登陆地 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecCommonLoginResponse delUHostSecCommonLogin( + DelUHostSecCommonLoginRequest request) throws UCloudException { + request.setAction("DelUHostSecCommonLogin"); + return (DelUHostSecCommonLoginResponse) + this.invoke(request, DelUHostSecCommonLoginResponse.class); + } + + /** + * DelUHostSecWarnings - 删除告警 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecWarningsResponse delUHostSecWarnings(DelUHostSecWarningsRequest request) + throws UCloudException { + request.setAction("DelUHostSecWarnings"); + return (DelUHostSecWarningsResponse) + this.invoke(request, DelUHostSecWarningsResponse.class); + } + + /** + * GetUHostsecAgentDeploymentStatistics - 获取当前项目制定工程的Agent部署统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecAgentDeploymentStatisticsResponse getUHostsecAgentDeploymentStatistics( + GetUHostsecAgentDeploymentStatisticsRequest request) throws UCloudException { + request.setAction("GetUHostsecAgentDeploymentStatistics"); + return (GetUHostsecAgentDeploymentStatisticsResponse) + this.invoke(request, GetUHostsecAgentDeploymentStatisticsResponse.class); + } + + /** + * GetUHostsecAgentInstallScript - 获取主机安全Agent安全脚本 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecAgentInstallScriptResponse getUHostsecAgentInstallScript( + GetUHostsecAgentInstallScriptRequest request) throws UCloudException { + request.setAction("GetUHostsecAgentInstallScript"); + return (GetUHostsecAgentInstallScriptResponse) + this.invoke(request, GetUHostsecAgentInstallScriptResponse.class); + } + + /** + * GetUHostsecBaseCheckRuleDescription - 获取基线检测指定规则详细描述 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecBaseCheckRuleDescriptionResponse getUHostsecBaseCheckRuleDescription( + GetUHostsecBaseCheckRuleDescriptionRequest request) throws UCloudException { + request.setAction("GetUHostsecBaseCheckRuleDescription"); + return (GetUHostsecBaseCheckRuleDescriptionResponse) + this.invoke(request, GetUHostsecBaseCheckRuleDescriptionResponse.class); + } + + /** + * GetUhostsecAgentDeploymentSituationWithVerInfo - 列出当前项目的主机安装信息(包括付费版本信息) + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUhostsecAgentDeploymentSituationWithVerInfoResponse + getUhostsecAgentDeploymentSituationWithVerInfo( + GetUhostsecAgentDeploymentSituationWithVerInfoRequest request) + throws UCloudException { + request.setAction("GetUhostsecAgentDeploymentSituationWithVerInfo"); + return (GetUhostsecAgentDeploymentSituationWithVerInfoResponse) + this.invoke(request, GetUhostsecAgentDeploymentSituationWithVerInfoResponse.class); + } + + /** + * GetUhostsecTrojanDescription - 获取某一类木马告警的详细描述信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUhostsecTrojanDescriptionResponse getUhostsecTrojanDescription( + GetUhostsecTrojanDescriptionRequest request) throws UCloudException { + request.setAction("GetUhostsecTrojanDescription"); + return (GetUhostsecTrojanDescriptionResponse) + this.invoke(request, GetUhostsecTrojanDescriptionResponse.class); + } + + /** + * ListUHostsecWarnDaysStatisticsV2 - 获取按天列出各类告警统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUHostsecWarnDaysStatisticsV2Response listUHostsecWarnDaysStatisticsV2( + ListUHostsecWarnDaysStatisticsV2Request request) throws UCloudException { + request.setAction("ListUHostsecWarnDaysStatisticsV2"); + return (ListUHostsecWarnDaysStatisticsV2Response) + this.invoke(request, ListUHostsecWarnDaysStatisticsV2Response.class); + } + + /** + * ListUHostsecWarnStatisticsV2 - 获取当前账号与项目下的各类主机安全告警统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUHostsecWarnStatisticsV2Response listUHostsecWarnStatisticsV2( + ListUHostsecWarnStatisticsV2Request request) throws UCloudException { + request.setAction("ListUHostsecWarnStatisticsV2"); + return (ListUHostsecWarnStatisticsV2Response) + this.invoke(request, ListUHostsecWarnStatisticsV2Response.class); + } + + /** + * ListUhostsecCommonLoginIp - 列出公共登录ip列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUhostsecCommonLoginIpResponse listUhostsecCommonLoginIp( + ListUhostsecCommonLoginIpRequest request) throws UCloudException { + request.setAction("ListUhostsecCommonLoginIp"); + return (ListUhostsecCommonLoginIpResponse) + this.invoke(request, ListUhostsecCommonLoginIpResponse.class); + } + + /** + * ListUhostsecCommonLoginLocation - 获取公共登录地列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUhostsecCommonLoginLocationResponse listUhostsecCommonLoginLocation( + ListUhostsecCommonLoginLocationRequest request) throws UCloudException { + request.setAction("ListUhostsecCommonLoginLocation"); + return (ListUhostsecCommonLoginLocationResponse) + this.invoke(request, ListUhostsecCommonLoginLocationResponse.class); + } + + /** + * OptBusinessVerAuto - 操作自动设置企业版开关 + * + * @param request Request object + * @throws UCloudException Exception + */ + public OptBusinessVerAutoResponse optBusinessVerAuto(OptBusinessVerAutoRequest request) + throws UCloudException { + request.setAction("OptBusinessVerAuto"); + return (OptBusinessVerAutoResponse) this.invoke(request, OptBusinessVerAutoResponse.class); + } + + /** + * OptPayAutoRenew - 操作自动续费开关 + * + * @param request Request object + * @throws UCloudException Exception + */ + public OptPayAutoRenewResponse optPayAutoRenew(OptPayAutoRenewRequest request) + throws UCloudException { + request.setAction("OptPayAutoRenew"); + return (OptPayAutoRenewResponse) this.invoke(request, OptPayAutoRenewResponse.class); + } + + /** + * QueryBillPointDeductionFlowByCycle - 按照周期统计用户计费点数变化情况 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryBillPointDeductionFlowByCycleResponse queryBillPointDeductionFlowByCycle( + QueryBillPointDeductionFlowByCycleRequest request) throws UCloudException { + request.setAction("QueryBillPointDeductionFlowByCycle"); + return (QueryBillPointDeductionFlowByCycleResponse) + this.invoke(request, QueryBillPointDeductionFlowByCycleResponse.class); + } + + /** + * QueryNewestUpdateTime - 查询下载数据最新更新时间 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryNewestUpdateTimeResponse queryNewestUpdateTime(QueryNewestUpdateTimeRequest request) + throws UCloudException { + request.setAction("QueryNewestUpdateTime"); + return (QueryNewestUpdateTimeResponse) + this.invoke(request, QueryNewestUpdateTimeResponse.class); + } + + /** + * QueryPayInfo - 查询用户付费信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryPayInfoResponse queryPayInfo(QueryPayInfoRequest request) throws UCloudException { + request.setAction("QueryPayInfo"); + return (QueryPayInfoResponse) this.invoke(request, QueryPayInfoResponse.class); + } + + /** + * QueryUHostSecWarningBaseChecks - 查询正在告警的安全基线类型列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryUHostSecWarningBaseChecksResponse queryUHostSecWarningBaseChecks( + QueryUHostSecWarningBaseChecksRequest request) throws UCloudException { + request.setAction("QueryUHostSecWarningBaseChecks"); + return (QueryUHostSecWarningBaseChecksResponse) + this.invoke(request, QueryUHostSecWarningBaseChecksResponse.class); + } + + /** + * QueryWeekReportList - 查询主机安全周报 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryWeekReportListResponse queryWeekReportList(QueryWeekReportListRequest request) + throws UCloudException { + request.setAction("QueryWeekReportList"); + return (QueryWeekReportListResponse) + this.invoke(request, QueryWeekReportListResponse.class); + } + + /** + * SwitchAgentFunctionVersion - 切换agent的功能版本 + * + * @param request Request object + * @throws UCloudException Exception + */ + public SwitchAgentFunctionVersionResponse switchAgentFunctionVersion( + SwitchAgentFunctionVersionRequest request) throws UCloudException { + request.setAction("SwitchAgentFunctionVersion"); + return (SwitchAgentFunctionVersionResponse) + this.invoke(request, SwitchAgentFunctionVersionResponse.class); + } + + /** + * VulStatisticTopN - 高危漏洞TOP N + * + * @param request Request object + * @throws UCloudException Exception + */ + public VulStatisticTopNResponse vulStatisticTopN(VulStatisticTopNRequest request) + throws UCloudException { + request.setAction("VulStatisticTopN"); + return (VulStatisticTopNResponse) this.invoke(request, VulStatisticTopNResponse.class); + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/client/UHIDSClientInterface.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/client/UHIDSClientInterface.java new file mode 100644 index 00000000..8fd68ee5 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/client/UHIDSClientInterface.java @@ -0,0 +1,329 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.client; + +import cn.ucloud.common.client.Client; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.uhids.models.AddUHostSecBaseCheckWhiteRuleRequest; +import cn.ucloud.uhids.models.AddUHostSecBaseCheckWhiteRuleResponse; +import cn.ucloud.uhids.models.AddUHostSecWebRiskWhiteRuleRequest; +import cn.ucloud.uhids.models.AddUHostSecWebRiskWhiteRuleResponse; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginIpRequest; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginIpResponse; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginLocationRequest; +import cn.ucloud.uhids.models.AddUhostsecCommonLoginLocationResponse; +import cn.ucloud.uhids.models.AgentOSStatisticRequest; +import cn.ucloud.uhids.models.AgentOSStatisticResponse; +import cn.ucloud.uhids.models.AgentWarnningStatisticRequest; +import cn.ucloud.uhids.models.AgentWarnningStatisticResponse; +import cn.ucloud.uhids.models.BuyBillPointRequest; +import cn.ucloud.uhids.models.BuyBillPointResponse; +import cn.ucloud.uhids.models.DelUHostSecBaseCheckWhiteRuleRequest; +import cn.ucloud.uhids.models.DelUHostSecBaseCheckWhiteRuleResponse; +import cn.ucloud.uhids.models.DelUHostSecCommonLoginRequest; +import cn.ucloud.uhids.models.DelUHostSecCommonLoginResponse; +import cn.ucloud.uhids.models.DelUHostSecWarningsRequest; +import cn.ucloud.uhids.models.DelUHostSecWarningsResponse; +import cn.ucloud.uhids.models.GetUHostsecAgentDeploymentStatisticsRequest; +import cn.ucloud.uhids.models.GetUHostsecAgentDeploymentStatisticsResponse; +import cn.ucloud.uhids.models.GetUHostsecAgentInstallScriptRequest; +import cn.ucloud.uhids.models.GetUHostsecAgentInstallScriptResponse; +import cn.ucloud.uhids.models.GetUHostsecBaseCheckRuleDescriptionRequest; +import cn.ucloud.uhids.models.GetUHostsecBaseCheckRuleDescriptionResponse; +import cn.ucloud.uhids.models.GetUhostsecAgentDeploymentSituationWithVerInfoRequest; +import cn.ucloud.uhids.models.GetUhostsecAgentDeploymentSituationWithVerInfoResponse; +import cn.ucloud.uhids.models.GetUhostsecTrojanDescriptionRequest; +import cn.ucloud.uhids.models.GetUhostsecTrojanDescriptionResponse; +import cn.ucloud.uhids.models.ListUHostsecWarnDaysStatisticsV2Request; +import cn.ucloud.uhids.models.ListUHostsecWarnDaysStatisticsV2Response; +import cn.ucloud.uhids.models.ListUHostsecWarnStatisticsV2Request; +import cn.ucloud.uhids.models.ListUHostsecWarnStatisticsV2Response; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginIpRequest; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginIpResponse; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginLocationRequest; +import cn.ucloud.uhids.models.ListUhostsecCommonLoginLocationResponse; +import cn.ucloud.uhids.models.OptBusinessVerAutoRequest; +import cn.ucloud.uhids.models.OptBusinessVerAutoResponse; +import cn.ucloud.uhids.models.OptPayAutoRenewRequest; +import cn.ucloud.uhids.models.OptPayAutoRenewResponse; +import cn.ucloud.uhids.models.QueryBillPointDeductionFlowByCycleRequest; +import cn.ucloud.uhids.models.QueryBillPointDeductionFlowByCycleResponse; +import cn.ucloud.uhids.models.QueryNewestUpdateTimeRequest; +import cn.ucloud.uhids.models.QueryNewestUpdateTimeResponse; +import cn.ucloud.uhids.models.QueryPayInfoRequest; +import cn.ucloud.uhids.models.QueryPayInfoResponse; +import cn.ucloud.uhids.models.QueryUHostSecWarningBaseChecksRequest; +import cn.ucloud.uhids.models.QueryUHostSecWarningBaseChecksResponse; +import cn.ucloud.uhids.models.QueryWeekReportListRequest; +import cn.ucloud.uhids.models.QueryWeekReportListResponse; +import cn.ucloud.uhids.models.SwitchAgentFunctionVersionRequest; +import cn.ucloud.uhids.models.SwitchAgentFunctionVersionResponse; +import cn.ucloud.uhids.models.VulStatisticTopNRequest; +import cn.ucloud.uhids.models.VulStatisticTopNResponse; + +/** This client is used to call actions of **UHIDS** service */ +public interface UHIDSClientInterface extends Client { + + /** + * AddUHostSecBaseCheckWhiteRule - 添加安全基线白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUHostSecBaseCheckWhiteRuleResponse addUHostSecBaseCheckWhiteRule( + AddUHostSecBaseCheckWhiteRuleRequest request) throws UCloudException; + + /** + * AddUHostSecWebRiskWhiteRule - 添加webrisk白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUHostSecWebRiskWhiteRuleResponse addUHostSecWebRiskWhiteRule( + AddUHostSecWebRiskWhiteRuleRequest request) throws UCloudException; + + /** + * AddUhostsecCommonLoginIp - 添加常用登录Ip + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUhostsecCommonLoginIpResponse addUhostsecCommonLoginIp( + AddUhostsecCommonLoginIpRequest request) throws UCloudException; + + /** + * AddUhostsecCommonLoginLocation - 添加常用登录地 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUhostsecCommonLoginLocationResponse addUhostsecCommonLoginLocation( + AddUhostsecCommonLoginLocationRequest request) throws UCloudException; + + /** + * AgentOSStatistic - 主机操作系统分布 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AgentOSStatisticResponse agentOSStatistic(AgentOSStatisticRequest request) + throws UCloudException; + + /** + * AgentWarnningStatistic - 服务器状态统计 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AgentWarnningStatisticResponse agentWarnningStatistic( + AgentWarnningStatisticRequest request) throws UCloudException; + + /** + * BuyBillPoint - 购买付费点数 + * + * @param request Request object + * @throws UCloudException Exception + */ + public BuyBillPointResponse buyBillPoint(BuyBillPointRequest request) throws UCloudException; + + /** + * DelUHostSecBaseCheckWhiteRule - 删除安全基线白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecBaseCheckWhiteRuleResponse delUHostSecBaseCheckWhiteRule( + DelUHostSecBaseCheckWhiteRuleRequest request) throws UCloudException; + + /** + * DelUHostSecCommonLogin - 删除常用登陆IP或常用登陆地 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecCommonLoginResponse delUHostSecCommonLogin( + DelUHostSecCommonLoginRequest request) throws UCloudException; + + /** + * DelUHostSecWarnings - 删除告警 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DelUHostSecWarningsResponse delUHostSecWarnings(DelUHostSecWarningsRequest request) + throws UCloudException; + + /** + * GetUHostsecAgentDeploymentStatistics - 获取当前项目制定工程的Agent部署统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecAgentDeploymentStatisticsResponse getUHostsecAgentDeploymentStatistics( + GetUHostsecAgentDeploymentStatisticsRequest request) throws UCloudException; + + /** + * GetUHostsecAgentInstallScript - 获取主机安全Agent安全脚本 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecAgentInstallScriptResponse getUHostsecAgentInstallScript( + GetUHostsecAgentInstallScriptRequest request) throws UCloudException; + + /** + * GetUHostsecBaseCheckRuleDescription - 获取基线检测指定规则详细描述 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUHostsecBaseCheckRuleDescriptionResponse getUHostsecBaseCheckRuleDescription( + GetUHostsecBaseCheckRuleDescriptionRequest request) throws UCloudException; + + /** + * GetUhostsecAgentDeploymentSituationWithVerInfo - 列出当前项目的主机安装信息(包括付费版本信息) + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUhostsecAgentDeploymentSituationWithVerInfoResponse + getUhostsecAgentDeploymentSituationWithVerInfo( + GetUhostsecAgentDeploymentSituationWithVerInfoRequest request) + throws UCloudException; + + /** + * GetUhostsecTrojanDescription - 获取某一类木马告警的详细描述信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUhostsecTrojanDescriptionResponse getUhostsecTrojanDescription( + GetUhostsecTrojanDescriptionRequest request) throws UCloudException; + + /** + * ListUHostsecWarnDaysStatisticsV2 - 获取按天列出各类告警统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUHostsecWarnDaysStatisticsV2Response listUHostsecWarnDaysStatisticsV2( + ListUHostsecWarnDaysStatisticsV2Request request) throws UCloudException; + + /** + * ListUHostsecWarnStatisticsV2 - 获取当前账号与项目下的各类主机安全告警统计值 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUHostsecWarnStatisticsV2Response listUHostsecWarnStatisticsV2( + ListUHostsecWarnStatisticsV2Request request) throws UCloudException; + + /** + * ListUhostsecCommonLoginIp - 列出公共登录ip列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUhostsecCommonLoginIpResponse listUhostsecCommonLoginIp( + ListUhostsecCommonLoginIpRequest request) throws UCloudException; + + /** + * ListUhostsecCommonLoginLocation - 获取公共登录地列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUhostsecCommonLoginLocationResponse listUhostsecCommonLoginLocation( + ListUhostsecCommonLoginLocationRequest request) throws UCloudException; + + /** + * OptBusinessVerAuto - 操作自动设置企业版开关 + * + * @param request Request object + * @throws UCloudException Exception + */ + public OptBusinessVerAutoResponse optBusinessVerAuto(OptBusinessVerAutoRequest request) + throws UCloudException; + + /** + * OptPayAutoRenew - 操作自动续费开关 + * + * @param request Request object + * @throws UCloudException Exception + */ + public OptPayAutoRenewResponse optPayAutoRenew(OptPayAutoRenewRequest request) + throws UCloudException; + + /** + * QueryBillPointDeductionFlowByCycle - 按照周期统计用户计费点数变化情况 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryBillPointDeductionFlowByCycleResponse queryBillPointDeductionFlowByCycle( + QueryBillPointDeductionFlowByCycleRequest request) throws UCloudException; + + /** + * QueryNewestUpdateTime - 查询下载数据最新更新时间 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryNewestUpdateTimeResponse queryNewestUpdateTime(QueryNewestUpdateTimeRequest request) + throws UCloudException; + + /** + * QueryPayInfo - 查询用户付费信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryPayInfoResponse queryPayInfo(QueryPayInfoRequest request) throws UCloudException; + + /** + * QueryUHostSecWarningBaseChecks - 查询正在告警的安全基线类型列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryUHostSecWarningBaseChecksResponse queryUHostSecWarningBaseChecks( + QueryUHostSecWarningBaseChecksRequest request) throws UCloudException; + + /** + * QueryWeekReportList - 查询主机安全周报 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryWeekReportListResponse queryWeekReportList(QueryWeekReportListRequest request) + throws UCloudException; + + /** + * SwitchAgentFunctionVersion - 切换agent的功能版本 + * + * @param request Request object + * @throws UCloudException Exception + */ + public SwitchAgentFunctionVersionResponse switchAgentFunctionVersion( + SwitchAgentFunctionVersionRequest request) throws UCloudException; + + /** + * VulStatisticTopN - 高危漏洞TOP N + * + * @param request Request object + * @throws UCloudException Exception + */ + public VulStatisticTopNResponse vulStatisticTopN(VulStatisticTopNRequest request) + throws UCloudException; +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleRequest.java new file mode 100644 index 00000000..27fbf23f --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleRequest.java @@ -0,0 +1,53 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class AddUHostSecBaseCheckWhiteRuleRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** + * 基线白名单规则信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"IP":{"Type":"ip","IPs":["192.168.3.4","192.168.3.4"]},"RuleID":"B0101001V01","AppName":"Linux","Description":"存在弱口令用户[testUser]","RiskType":"配置缺陷","RiskLevel":"高危","User":"testUser"},{"IP":{"Type":"all","IPs":[]},"RuleID":"B0101001V01","AppName":"Linux","Description":"存在弱口令用户[testUser]","RiskType":"配置缺陷","RiskLevel":"高危","User":"testUser"}]}) + */ + @NotEmpty + @UCloudParam("Data") + private String data; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleResponse.java new file mode 100644 index 00000000..d31c4d91 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecBaseCheckWhiteRuleResponse.java @@ -0,0 +1,46 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class AddUHostSecBaseCheckWhiteRuleResponse extends Response { + + /** 成功数 */ + @SerializedName("Success") + private Integer success; + + /** 失败数 */ + @SerializedName("Fail") + private Integer fail; + + public Integer getSuccess() { + return success; + } + + public void setSuccess(Integer success) { + this.success = success; + } + + public Integer getFail() { + return fail; + } + + public void setFail(Integer fail) { + this.fail = fail; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleRequest.java new file mode 100644 index 00000000..afa34e85 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleRequest.java @@ -0,0 +1,53 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class AddUHostSecWebRiskWhiteRuleRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** + * webrisk白名单规则信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"IP":{"Type":"subnet","IPs":["192.168.1.0/24","172.36.1.0-172.36.255.255"]},"Type":"不安全的配置","RuleId":"30001","RiskDesc":"未删除的.git目录","Detail":"未删除的.git目录,黑客可以直接下载git相关文件","FileName":"/var/www/html/DiscuzX/install/index.php"},{"IP":{"Type":"all","IPs":[]},"Type":"不安全的配置","RuleId":"30001","RiskDesc":"未删除的.git目录","Detail":"未删除的.git目录,黑客可以直接下载git相关文件","FileName":"/var/www/html/DiscuzX/install/index.php"}]}) + */ + @NotEmpty + @UCloudParam("Data") + private String data; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleResponse.java new file mode 100644 index 00000000..1545d97b --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUHostSecWebRiskWhiteRuleResponse.java @@ -0,0 +1,46 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class AddUHostSecWebRiskWhiteRuleResponse extends Response { + + /** 成功数 */ + @SerializedName("Success") + private Integer success; + + /** 失败数 */ + @SerializedName("Fail") + private Integer fail; + + public Integer getSuccess() { + return success; + } + + public void setSuccess(Integer success) { + this.success = success; + } + + public Integer getFail() { + return fail; + } + + public void setFail(Integer fail) { + this.fail = fail; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpRequest.java new file mode 100644 index 00000000..c9fc1170 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpRequest.java @@ -0,0 +1,51 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class AddUhostsecCommonLoginIpRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** IP白名单列表,多个逗号间隔 */ + @NotEmpty + @UCloudParam("IPs") + private String iPs; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getIPs() { + return iPs; + } + + public void setIPs(String iPs) { + this.iPs = iPs; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpResponse.java new file mode 100644 index 00000000..54c6b577 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginIpResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + + +import cn.ucloud.common.response.Response; + +public class AddUhostsecCommonLoginIpResponse extends Response {} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationRequest.java new file mode 100644 index 00000000..f53c64b8 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationRequest.java @@ -0,0 +1,53 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class AddUhostsecCommonLoginLocationRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** + * 登录地址信息(值为以下字段的json转base64后字符串,json格式:{"Data":[{"Country":"中国","Province":"广东","City":"深圳"},{"Country":"中国","Province":"广东","City":"广州"}]}) + */ + @NotEmpty + @UCloudParam("Data") + private String data; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getData() { + return data; + } + + public void setData(String data) { + this.data = data; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationResponse.java new file mode 100644 index 00000000..c0f8fe15 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AddUhostsecCommonLoginLocationResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + + +import cn.ucloud.common.response.Response; + +public class AddUhostsecCommonLoginLocationResponse extends Response {} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticRequest.java new file mode 100644 index 00000000..8d0bac8b --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticRequest.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uhids.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class AgentOSStatisticRequest extends Request { + + /** 项目ID */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } +} diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticResponse.java new file mode 100644 index 00000000..23bc5667 --- /dev/null +++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentOSStatisticResponse.java @@ -0,0 +1,128 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class AgentOSStatisticResponse extends Response {
+
+ /** 操作系统安装量统计结果 */
+ @SerializedName("Result")
+ private OSList result;
+
+ public OSList getResult() {
+ return result;
+ }
+
+ public void setResult(OSList result) {
+ this.result = result;
+ }
+
+ public static class OSInfo extends Response {
+
+ /** 主机数 */
+ @SerializedName("Count")
+ private Integer count;
+
+ /** 系统类型 */
+ @SerializedName("OSType")
+ private String osType;
+
+ /** 系统版本列表 */
+ @SerializedName("Version")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class AgentWarnningStatisticRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentWarnningStatisticResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentWarnningStatisticResponse.java
new file mode 100644
index 00000000..e8bba899
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/AgentWarnningStatisticResponse.java
@@ -0,0 +1,97 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class AgentWarnningStatisticResponse extends Response {
+
+ /** 主机状态统计结果值 */
+ @SerializedName("Result")
+ private AgentWarnningStatisticInfo result;
+
+ public AgentWarnningStatisticInfo getResult() {
+ return result;
+ }
+
+ public void setResult(AgentWarnningStatisticInfo result) {
+ this.result = result;
+ }
+
+ public static class AgentWarnningStatisticInfo extends Response {
+
+ /** 主机总数 */
+ @SerializedName("AgentTotal")
+ private Integer agentTotal;
+
+ /** 在线主机数 */
+ @SerializedName("Online")
+ private Integer online;
+
+ /** 离线主机数 */
+ @SerializedName("Offline")
+ private Integer offline;
+
+ /** 有风险主机数 */
+ @SerializedName("WarnningCount")
+ private Integer warnningCount;
+
+ /** 无风险主机数 */
+ @SerializedName("SafeCount")
+ private Integer safeCount;
+
+ public Integer getAgentTotal() {
+ return agentTotal;
+ }
+
+ public void setAgentTotal(Integer agentTotal) {
+ this.agentTotal = agentTotal;
+ }
+
+ public Integer getOnline() {
+ return online;
+ }
+
+ public void setOnline(Integer online) {
+ this.online = online;
+ }
+
+ public Integer getOffline() {
+ return offline;
+ }
+
+ public void setOffline(Integer offline) {
+ this.offline = offline;
+ }
+
+ public Integer getWarnningCount() {
+ return warnningCount;
+ }
+
+ public void setWarnningCount(Integer warnningCount) {
+ this.warnningCount = warnningCount;
+ }
+
+ public Integer getSafeCount() {
+ return safeCount;
+ }
+
+ public void setSafeCount(Integer safeCount) {
+ this.safeCount = safeCount;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointRequest.java
new file mode 100644
index 00000000..1e1eb7cd
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointRequest.java
@@ -0,0 +1,77 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class BuyBillPointRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 购买数量 */
+ @NotEmpty
+ @UCloudParam("PointNum")
+ private Integer pointNum;
+
+ /** 是否自动续费(true-是,false-否) */
+ @NotEmpty
+ @UCloudParam("AutoRenew")
+ private Boolean autoRenew;
+
+ /** 是否自动设置企业版(true-是,false-否) */
+ @NotEmpty
+ @UCloudParam("AutoBusiness")
+ private Boolean autoBusiness;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getPointNum() {
+ return pointNum;
+ }
+
+ public void setPointNum(Integer pointNum) {
+ this.pointNum = pointNum;
+ }
+
+ public Boolean getAutoRenew() {
+ return autoRenew;
+ }
+
+ public void setAutoRenew(Boolean autoRenew) {
+ this.autoRenew = autoRenew;
+ }
+
+ public Boolean getAutoBusiness() {
+ return autoBusiness;
+ }
+
+ public void setAutoBusiness(Boolean autoBusiness) {
+ this.autoBusiness = autoBusiness;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointResponse.java
new file mode 100644
index 00000000..d3ceadb8
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/BuyBillPointResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class BuyBillPointResponse extends Response {}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleRequest.java
new file mode 100644
index 00000000..9685f5c6
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleRequest.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DelUHostSecBaseCheckWhiteRuleRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 基线白名单ID */
+ @NotEmpty
+ @UCloudParam("WhiteID")
+ private String whiteID;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getWhiteID() {
+ return whiteID;
+ }
+
+ public void setWhiteID(String whiteID) {
+ this.whiteID = whiteID;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleResponse.java
new file mode 100644
index 00000000..dbd4d60b
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecBaseCheckWhiteRuleResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DelUHostSecBaseCheckWhiteRuleResponse extends Response {}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginRequest.java
new file mode 100644
index 00000000..dc18bb4a
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginRequest.java
@@ -0,0 +1,75 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DelUHostSecCommonLoginRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 登录白名单ID */
+ @NotEmpty
+ @UCloudParam("WhiteID")
+ private String whiteID;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getWhiteID() {
+ return whiteID;
+ }
+
+ public void setWhiteID(String whiteID) {
+ this.whiteID = whiteID;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginResponse.java
new file mode 100644
index 00000000..33f0fd96
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecCommonLoginResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DelUHostSecCommonLoginResponse extends Response {}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsRequest.java
new file mode 100644
index 00000000..19d07414
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsRequest.java
@@ -0,0 +1,53 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DelUHostSecWarningsRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /**
+ * 要删除告警的列表json格式:{"Data":[{"WarnType":"WebShellAlarm","ID":"59e870483ef9f419617b7744"},{"WarnType":"checkCockhorse","ID":"59f67a26812c307b65d72e99"}]})WarnType类型:WebShellAlarm,checkCockhorse,BaseCheck,webRisk,VulCheck2,AbnormalLogin,SshBruteSucceeded
+ */
+ @NotEmpty
+ @UCloudParam("Data")
+ private String data;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getData() {
+ return data;
+ }
+
+ public void setData(String data) {
+ this.data = data;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsResponse.java
new file mode 100644
index 00000000..c01f24e1
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/DelUHostSecWarningsResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DelUHostSecWarningsResponse extends Response {}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsRequest.java
new file mode 100644
index 00000000..c3bed7a1
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUHostsecAgentDeploymentStatisticsRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsResponse.java
new file mode 100644
index 00000000..9228a03e
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentDeploymentStatisticsResponse.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUHostsecAgentDeploymentStatisticsResponse extends Response {
+
+ /** 已安装台数 */
+ @SerializedName("Installed")
+ private Integer installed;
+
+ /** 未安装台数 */
+ @SerializedName("Uninstalled")
+ private Integer uninstalled;
+
+ public Integer getInstalled() {
+ return installed;
+ }
+
+ public void setInstalled(Integer installed) {
+ this.installed = installed;
+ }
+
+ public Integer getUninstalled() {
+ return uninstalled;
+ }
+
+ public void setUninstalled(Integer uninstalled) {
+ this.uninstalled = uninstalled;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptRequest.java
new file mode 100644
index 00000000..bbf3653b
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUHostsecAgentInstallScriptRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptResponse.java
new file mode 100644
index 00000000..724a49a2
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecAgentInstallScriptResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUHostsecAgentInstallScriptResponse extends Response {
+
+ /** 安装脚本内容 */
+ @SerializedName("InstallScript")
+ private String installScript;
+
+ public String getInstallScript() {
+ return installScript;
+ }
+
+ public void setInstallScript(String installScript) {
+ this.installScript = installScript;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionRequest.java
new file mode 100644
index 00000000..b0a9e1dd
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionRequest.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUHostsecBaseCheckRuleDescriptionRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 规则ID */
+ @NotEmpty
+ @UCloudParam("RuleID")
+ private String ruleID;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getRuleID() {
+ return ruleID;
+ }
+
+ public void setRuleID(String ruleID) {
+ this.ruleID = ruleID;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionResponse.java
new file mode 100644
index 00000000..d49c7d15
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUHostsecBaseCheckRuleDescriptionResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUHostsecBaseCheckRuleDescriptionResponse extends Response {
+
+ /** 规则描述 */
+ @SerializedName("Description")
+ private String description;
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoRequest.java
new file mode 100644
index 00000000..9ed13edf
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUhostsecAgentDeploymentSituationWithVerInfoRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoResponse.java
new file mode 100644
index 00000000..532bb738
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecAgentDeploymentSituationWithVerInfoResponse.java
@@ -0,0 +1,221 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUhostsecAgentDeploymentSituationWithVerInfoResponse extends Response {
+
+ /** 主机信息 */
+ @SerializedName("InfoList")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUhostsecTrojanDescriptionRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /**
+ * 获取指定当前木马对应的告警表名,指定当前木马对应的告警表名,利用告警表名来获取当前的描述信息,可以通过获取ListUHostsecTrojanWarnsResponse的返回信息提供TableName值内容,值:WebShellAlarm、checkCockhorse
+ */
+ @NotEmpty
+ @UCloudParam("TableName")
+ private String tableName;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getTableName() {
+ return tableName;
+ }
+
+ public void setTableName(String tableName) {
+ this.tableName = tableName;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecTrojanDescriptionResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecTrojanDescriptionResponse.java
new file mode 100644
index 00000000..c0d50703
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/GetUhostsecTrojanDescriptionResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetUhostsecTrojanDescriptionResponse extends Response {
+
+ /** 木马描述信息 */
+ @SerializedName("Description")
+ private String description;
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Request.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Request.java
new file mode 100644
index 00000000..624d16f0
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Request.java
@@ -0,0 +1,62 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUHostsecWarnDaysStatisticsV2Request extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 统计开始时间(y-m-d hh:mm:ss)。不填写默认从一周前开始统计 */
+ @UCloudParam("StartTime")
+ private String startTime;
+
+ /** 统计结束时间(y-m-d hh:mm:ss)。不填写默认为当前时间 */
+ @UCloudParam("EndTime")
+ private String endTime;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getStartTime() {
+ return startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
+ public String getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Response.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Response.java
new file mode 100644
index 00000000..28eeda74
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnDaysStatisticsV2Response.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUHostsecWarnDaysStatisticsV2Response extends Response {
+
+ /** 按天的统计对象数组 */
+ @SerializedName("Statistics")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUHostsecWarnStatisticsV2Request extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnStatisticsV2Response.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnStatisticsV2Response.java
new file mode 100644
index 00000000..3b7b953a
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUHostsecWarnStatisticsV2Response.java
@@ -0,0 +1,109 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class ListUHostsecWarnStatisticsV2Response extends Response {
+
+ /** 主机安全各告警统计值 */
+ @SerializedName("WarnStatistics")
+ private WarnStatistics warnStatistics;
+
+ public WarnStatistics getWarnStatistics() {
+ return warnStatistics;
+ }
+
+ public void setWarnStatistics(WarnStatistics warnStatistics) {
+ this.warnStatistics = warnStatistics;
+ }
+
+ public static class WarnStatistics extends Response {
+
+ /** 安全基线检查告警统计值 */
+ @SerializedName("BaseCheck")
+ private Integer baseCheck;
+
+ /** 异常登录告警统计值 */
+ @SerializedName("AbnormalLogin")
+ private Integer abnormalLogin;
+
+ /** 暴力破解成功告警统计值 */
+ @SerializedName("SshBruteSucceeded")
+ private Integer sshBruteSucceeded;
+
+ /** 木马告警统计值 */
+ @SerializedName("Trojan")
+ private Integer trojan;
+
+ /** 漏洞检查告警统计值 */
+ @SerializedName("VulCheck")
+ private Integer vulCheck;
+
+ /** 暴力破解失败统计值 */
+ @SerializedName("SshBruteFailed")
+ private Integer sshBruteFailed;
+
+ public Integer getBaseCheck() {
+ return baseCheck;
+ }
+
+ public void setBaseCheck(Integer baseCheck) {
+ this.baseCheck = baseCheck;
+ }
+
+ public Integer getAbnormalLogin() {
+ return abnormalLogin;
+ }
+
+ public void setAbnormalLogin(Integer abnormalLogin) {
+ this.abnormalLogin = abnormalLogin;
+ }
+
+ public Integer getSshBruteSucceeded() {
+ return sshBruteSucceeded;
+ }
+
+ public void setSshBruteSucceeded(Integer sshBruteSucceeded) {
+ this.sshBruteSucceeded = sshBruteSucceeded;
+ }
+
+ public Integer getTrojan() {
+ return trojan;
+ }
+
+ public void setTrojan(Integer trojan) {
+ this.trojan = trojan;
+ }
+
+ public Integer getVulCheck() {
+ return vulCheck;
+ }
+
+ public void setVulCheck(Integer vulCheck) {
+ this.vulCheck = vulCheck;
+ }
+
+ public Integer getSshBruteFailed() {
+ return sshBruteFailed;
+ }
+
+ public void setSshBruteFailed(Integer sshBruteFailed) {
+ this.sshBruteFailed = sshBruteFailed;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpRequest.java
new file mode 100644
index 00000000..e779d6e3
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpRequest.java
@@ -0,0 +1,38 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUhostsecCommonLoginIpRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpResponse.java
new file mode 100644
index 00000000..c248321a
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginIpResponse.java
@@ -0,0 +1,86 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUhostsecCommonLoginIpResponse extends Response {
+
+ /** IP白名单列表 */
+ @SerializedName("Infos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUhostsecCommonLoginLocationRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginLocationResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginLocationResponse.java
new file mode 100644
index 00000000..f68aad05
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/ListUhostsecCommonLoginLocationResponse.java
@@ -0,0 +1,98 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUhostsecCommonLoginLocationResponse extends Response {
+
+ /** 公共登录地列表 */
+ @SerializedName("Infos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class OptBusinessVerAutoRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 开(true)/关(false) */
+ @NotEmpty
+ @UCloudParam("Open")
+ private Boolean open;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Boolean getOpen() {
+ return open;
+ }
+
+ public void setOpen(Boolean open) {
+ this.open = open;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptBusinessVerAutoResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptBusinessVerAutoResponse.java
new file mode 100644
index 00000000..cce80a52
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptBusinessVerAutoResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class OptBusinessVerAutoResponse extends Response {
+
+ /** 当前开关状态,false-关闭,true-开启 */
+ @SerializedName("OpenStatus")
+ private Boolean openStatus;
+
+ public Boolean getOpenStatus() {
+ return openStatus;
+ }
+
+ public void setOpenStatus(Boolean openStatus) {
+ this.openStatus = openStatus;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewRequest.java
new file mode 100644
index 00000000..5cf36d00
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewRequest.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class OptPayAutoRenewRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 开(true)/关(false) */
+ @NotEmpty
+ @UCloudParam("Open")
+ private Boolean open;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Boolean getOpen() {
+ return open;
+ }
+
+ public void setOpen(Boolean open) {
+ this.open = open;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewResponse.java
new file mode 100644
index 00000000..a11d1fc7
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/OptPayAutoRenewResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class OptPayAutoRenewResponse extends Response {
+
+ /** 当前开关状态,false-关闭,true-开启 */
+ @SerializedName("OpenStatus")
+ private Boolean openStatus;
+
+ public Boolean getOpenStatus() {
+ return openStatus;
+ }
+
+ public void setOpenStatus(Boolean openStatus) {
+ this.openStatus = openStatus;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleRequest.java
new file mode 100644
index 00000000..44d671d4
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleRequest.java
@@ -0,0 +1,72 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class QueryBillPointDeductionFlowByCycleRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 周期(可用值:day) */
+ @NotEmpty
+ @UCloudParam("Type")
+ private String type;
+
+ /** (可选)查询开始时间,格式xxxx-xx-xx */
+ @UCloudParam("StartTime")
+ private String startTime;
+
+ /** (可选)查询结束时间,格式xxxx-xx-xx */
+ @UCloudParam("EndTime")
+ private String endTime;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getStartTime() {
+ return startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ }
+
+ public String getEndTime() {
+ return endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleResponse.java
new file mode 100644
index 00000000..ec417dce
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryBillPointDeductionFlowByCycleResponse.java
@@ -0,0 +1,86 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class QueryBillPointDeductionFlowByCycleResponse extends Response {
+
+ /** 返回的数据 */
+ @SerializedName("Result")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class QueryNewestUpdateTimeRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryNewestUpdateTimeResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryNewestUpdateTimeResponse.java
new file mode 100644
index 00000000..b07f25f3
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryNewestUpdateTimeResponse.java
@@ -0,0 +1,97 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class QueryNewestUpdateTimeResponse extends Response {
+
+ /** 数据最新更新时间 */
+ @SerializedName("Result")
+ private DataSignatureNewestUpdateTime result;
+
+ public DataSignatureNewestUpdateTime getResult() {
+ return result;
+ }
+
+ public void setResult(DataSignatureNewestUpdateTime result) {
+ this.result = result;
+ }
+
+ public static class DataSignatureNewestUpdateTime extends Response {
+
+ /** 木马样本最新更新时间 */
+ @SerializedName("Torojan")
+ private String torojan;
+
+ /** web基线最新更新时间 */
+ @SerializedName("WebBase")
+ private String webBase;
+
+ /** Webshell最新更新时间 */
+ @SerializedName("Webshell")
+ private String webshell;
+
+ /** 漏洞最新更新时间 */
+ @SerializedName("Vul")
+ private String vul;
+
+ /** 登录流水最新更新时间 */
+ @SerializedName("Login")
+ private String login;
+
+ public String getTorojan() {
+ return torojan;
+ }
+
+ public void setTorojan(String torojan) {
+ this.torojan = torojan;
+ }
+
+ public String getWebBase() {
+ return webBase;
+ }
+
+ public void setWebBase(String webBase) {
+ this.webBase = webBase;
+ }
+
+ public String getWebshell() {
+ return webshell;
+ }
+
+ public void setWebshell(String webshell) {
+ this.webshell = webshell;
+ }
+
+ public String getVul() {
+ return vul;
+ }
+
+ public void setVul(String vul) {
+ this.vul = vul;
+ }
+
+ public String getLogin() {
+ return login;
+ }
+
+ public void setLogin(String login) {
+ this.login = login;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoRequest.java
new file mode 100644
index 00000000..9c8e3d8a
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoRequest.java
@@ -0,0 +1,35 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class QueryPayInfoRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoResponse.java
new file mode 100644
index 00000000..512a0849
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryPayInfoResponse.java
@@ -0,0 +1,142 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class QueryPayInfoResponse extends Response {
+
+ /** 未消费预付费点数 */
+ @SerializedName("BillPoint")
+ private Integer billPoint;
+
+ /** 预付费点数剩余使用时长 */
+ @SerializedName("RemainTime")
+ private String remainTime;
+
+ /** 预付费点数过期时间 */
+ @SerializedName("ExpiratTime")
+ private String expiratTime;
+
+ /** 自动续费开关 */
+ @SerializedName("AutoRenew")
+ private Boolean autoRenew;
+
+ /** 自动企业版开关 */
+ @SerializedName("AutoBusinessVer")
+ private Boolean autoBusinessVer;
+
+ /** 用户最近一次购买的点数大小 */
+ @SerializedName("RenewPointNum")
+ private Integer renewPointNum;
+
+ /** 公司ID */
+ @SerializedName("CompanyId")
+ private Integer companyId;
+
+ /** 项目ID */
+ @SerializedName("OrganizationId")
+ private Integer organizationId;
+
+ /** 资源ID */
+ @SerializedName("ResourceLongId")
+ private String resourceLongId;
+
+ /** 更改时间 */
+ @SerializedName("UpdateTime")
+ private String updateTime;
+
+ public Integer getBillPoint() {
+ return billPoint;
+ }
+
+ public void setBillPoint(Integer billPoint) {
+ this.billPoint = billPoint;
+ }
+
+ public String getRemainTime() {
+ return remainTime;
+ }
+
+ public void setRemainTime(String remainTime) {
+ this.remainTime = remainTime;
+ }
+
+ public String getExpiratTime() {
+ return expiratTime;
+ }
+
+ public void setExpiratTime(String expiratTime) {
+ this.expiratTime = expiratTime;
+ }
+
+ public Boolean getAutoRenew() {
+ return autoRenew;
+ }
+
+ public void setAutoRenew(Boolean autoRenew) {
+ this.autoRenew = autoRenew;
+ }
+
+ public Boolean getAutoBusinessVer() {
+ return autoBusinessVer;
+ }
+
+ public void setAutoBusinessVer(Boolean autoBusinessVer) {
+ this.autoBusinessVer = autoBusinessVer;
+ }
+
+ public Integer getRenewPointNum() {
+ return renewPointNum;
+ }
+
+ public void setRenewPointNum(Integer renewPointNum) {
+ this.renewPointNum = renewPointNum;
+ }
+
+ public Integer getCompanyId() {
+ return companyId;
+ }
+
+ public void setCompanyId(Integer companyId) {
+ this.companyId = companyId;
+ }
+
+ public Integer getOrganizationId() {
+ return organizationId;
+ }
+
+ public void setOrganizationId(Integer organizationId) {
+ this.organizationId = organizationId;
+ }
+
+ public String getResourceLongId() {
+ return resourceLongId;
+ }
+
+ public void setResourceLongId(String resourceLongId) {
+ this.resourceLongId = resourceLongId;
+ }
+
+ public String getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksRequest.java
new file mode 100644
index 00000000..cb575c00
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksRequest.java
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class QueryUHostSecWarningBaseChecksRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 过滤BaseCheck告警类型,sys:系统安全检查,app:应用安全检查 */
+ @NotEmpty
+ @UCloudParam("Type")
+ private String type;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksResponse.java
new file mode 100644
index 00000000..3153227a
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryUHostSecWarningBaseChecksResponse.java
@@ -0,0 +1,122 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class QueryUHostSecWarningBaseChecksResponse extends Response {
+
+ /** 正在告警基线类型 */
+ @SerializedName("Result")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class QueryWeekReportListRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 页大小 */
+ @UCloudParam("PageSize")
+ private Integer pageSize;
+
+ /** 第N页 */
+ @UCloudParam("PageIndex")
+ private Integer pageIndex;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public Integer getPageIndex() {
+ return pageIndex;
+ }
+
+ public void setPageIndex(Integer pageIndex) {
+ this.pageIndex = pageIndex;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryWeekReportListResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryWeekReportListResponse.java
new file mode 100644
index 00000000..4f916947
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/QueryWeekReportListResponse.java
@@ -0,0 +1,62 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class QueryWeekReportListResponse extends Response {
+
+ /** 文件列表 */
+ @SerializedName("Result")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class SwitchAgentFunctionVersionRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 功能版本(0-基础版 1-企业版) */
+ @NotEmpty
+ @UCloudParam("FuncVersion")
+ private Integer funcVersion;
+
+ /** 操作的Agent列表,以逗号分隔,如全部则设成ALL */
+ @NotEmpty
+ @UCloudParam("AgentList")
+ private String agentList;
+
+ /** 付费类型 月付或年付 */
+ @NotEmpty
+ @UCloudParam("ChargeType")
+ private Integer chargeType;
+
+ /** 购买数量 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 代金券 */
+ @UCloudParam("Coupon")
+ private String coupon;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getFuncVersion() {
+ return funcVersion;
+ }
+
+ public void setFuncVersion(Integer funcVersion) {
+ this.funcVersion = funcVersion;
+ }
+
+ public String getAgentList() {
+ return agentList;
+ }
+
+ public void setAgentList(String agentList) {
+ this.agentList = agentList;
+ }
+
+ public Integer getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(Integer chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getCoupon() {
+ return coupon;
+ }
+
+ public void setCoupon(String coupon) {
+ this.coupon = coupon;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/SwitchAgentFunctionVersionResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/SwitchAgentFunctionVersionResponse.java
new file mode 100644
index 00000000..204aac92
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/SwitchAgentFunctionVersionResponse.java
@@ -0,0 +1,73 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class SwitchAgentFunctionVersionResponse extends Response {
+
+ /** 切换 Agent 版本结果 */
+ @SerializedName("Records")
+ private SwitchAgentRecord records;
+
+ public SwitchAgentRecord getRecords() {
+ return records;
+ }
+
+ public void setRecords(SwitchAgentRecord records) {
+ this.records = records;
+ }
+
+ public static class SwitchAgentRecord extends Response {
+
+ /** */
+ @SerializedName("AgentID")
+ private String agentID;
+
+ /** */
+ @SerializedName("RetCode")
+ private Integer retCode;
+
+ /** */
+ @SerializedName("Message")
+ private String message;
+
+ public String getAgentID() {
+ return agentID;
+ }
+
+ public void setAgentID(String agentID) {
+ this.agentID = agentID;
+ }
+
+ public Integer getRetCode() {
+ return retCode;
+ }
+
+ public void setRetCode(Integer retCode) {
+ this.retCode = retCode;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNRequest.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNRequest.java
new file mode 100644
index 00000000..43f69911
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class VulStatisticTopNRequest extends Request {
+
+ /** 项目ID */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 感染主机数量最多的前N个漏洞,最小为10 */
+ @UCloudParam("TopN")
+ private Integer topN;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getTopN() {
+ return topN;
+ }
+
+ public void setTopN(Integer topN) {
+ this.topN = topN;
+ }
+}
diff --git a/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNResponse.java b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNResponse.java
new file mode 100644
index 00000000..edffa9e5
--- /dev/null
+++ b/ucloud-sdk-java-uhids/src/main/java/cn/ucloud/uhids/models/VulStatisticTopNResponse.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uhids.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class VulStatisticTopNResponse extends Response {
+
+ /** 感染主机数量最多的前N个漏洞列表信息 */
+ @SerializedName("Result")
+ private List