lib/v20180608/models.rb in tencentcloud-sdk-ssa-3.0.590 vs lib/v20180608/models.rb in tencentcloud-sdk-ssa-3.0.591

- old
+ new

@@ -23,11 +23,11 @@ # @type Type: String # @param Bucket: 数组 # @type Bucket: Array attr_accessor :Type, :Bucket - + def initialize(type=nil, bucket=nil) @Type = type @Bucket = bucket end @@ -52,11 +52,11 @@ # @param Detail: 告警详情,json序列化 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Detail: String attr_accessor :BaseInfo, :Detail - + def initialize(baseinfo=nil, detail=nil) @BaseInfo = baseinfo @Detail = detail end @@ -77,11 +77,11 @@ # @param Value: 值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String attr_accessor :Name, :Value - + def initialize(name=nil, value=nil) @Name = name @Value = value end @@ -102,11 +102,11 @@ # @param Aggregations: 聚合参数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Aggregations: :class:`Tencentcloud::Ssa.v20180608.models.AlertListAggregations` attr_accessor :Total, :AlertList, :Aggregations - + def initialize(total=nil, alertlist=nil, aggregations=nil) @Total = total @AlertList = alertlist @Aggregations = aggregations end @@ -226,11 +226,11 @@ # @param WrongReportConditionId: 错误报告Id # 注意:此字段可能返回 null,表示取不到有效值。 # @type WrongReportConditionId: Integer attr_accessor :AlertTime, :AlertId, :AssetId, :AssetPrivateIp, :AlertName, :Level, :Type, :Source, :AttackChain, :AttackId, :Concerns, :Action, :AttackResult, :EventStatus, :EventId, :Status, :AssetName, :ConcernMaliciousCount, :ConcernVictimCount, :VictimAssetType, :SubType, :AttackName, :AssetPublicIp, :AttackTactic, :VictimAssetSub, :VictimAssetVpc, :Timestamp, :AssetGroupName, :AssetProjectName, :VictimAssetContent, :WrongReportStatus, :WrongReportConditionId - + def initialize(alerttime=nil, alertid=nil, assetid=nil, assetprivateip=nil, alertname=nil, level=nil, type=nil, source=nil, attackchain=nil, attackid=nil, concerns=nil, action=nil, attackresult=nil, eventstatus=nil, eventid=nil, status=nil, assetname=nil, concernmaliciouscount=nil, concernvictimcount=nil, victimassettype=nil, subtype=nil, attackname=nil, assetpublicip=nil, attacktactic=nil, victimassetsub=nil, victimassetvpc=nil, timestamp=nil, assetgroupname=nil, assetprojectname=nil, victimassetcontent=nil, wrongreportstatus=nil, wrongreportconditionid=nil) @AlertTime = alerttime @AlertId = alertid @AssetId = assetid @AssetPrivateIp = assetprivateip @@ -385,11 +385,11 @@ # @param EventRisk: 资产失陷事件风险 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EventRisk: String attr_accessor :AssetType, :Name, :AssetRegionName, :AssetVpcid, :InstanceType, :InstanceState, :EngineVersion, :Id, :Tag, :AssetCspmRiskNum, :PublicIpAddresses, :AssetUniqid, :ChargeType, :AssetEventNum, :AssetVulNum, :PrivateIpAddresses, :GroupName, :SsaAssetDiscoverTime, :SsaAssetDeleteTime, :IsNew, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :LoadBalancerType, :LoadBalancerVips, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk - + def initialize(assettype=nil, name=nil, assetregionname=nil, assetvpcid=nil, instancetype=nil, instancestate=nil, engineversion=nil, id=nil, tag=nil, assetcspmrisknum=nil, publicipaddresses=nil, assetuniqid=nil, chargetype=nil, asseteventnum=nil, assetvulnum=nil, privateipaddresses=nil, groupname=nil, ssaassetdiscovertime=nil, ssaassetdeletetime=nil, isnew=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, loadbalancertype=nil, loadbalancervips=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil) @AssetType = assettype @Name = name @AssetRegionName = assetregionname @AssetVpcid = assetvpcid @@ -607,11 +607,11 @@ # @param AssetVpcid: vpc信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AssetVpcid: String attr_accessor :AssetType, :Name, :Region, :VpcId, :InstanceType, :InstanceState, :PublicIpAddresses, :EngineVersion, :Id, :Tag, :Vip, :Status, :LoadBalancerVips, :Uin, :CreationDate, :Domain, :AssetUniqid, :InstanceId, :DiskType, :DiskSize, :AssetStatus, :CertType, :ProjectName, :CertEndTime, :ProductType, :PrivateIpAddresses, :ValidityPeriod, :GroupName, :Port, :RiskConfig, :Event, :Vul, :SsaAssetDiscoverTime, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :AssetCreateTime, :LoadBalancerType, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk, :AssetVulNum, :AssetEventNum, :AssetCspmRiskNum, :SsaAssetDeleteTime, :ChargeType, :AssetRegionName, :AssetVpcid - + def initialize(assettype=nil, name=nil, region=nil, vpcid=nil, instancetype=nil, instancestate=nil, publicipaddresses=nil, engineversion=nil, id=nil, tag=nil, vip=nil, status=nil, loadbalancervips=nil, uin=nil, creationdate=nil, domain=nil, assetuniqid=nil, instanceid=nil, disktype=nil, disksize=nil, assetstatus=nil, certtype=nil, projectname=nil, certendtime=nil, producttype=nil, privateipaddresses=nil, validityperiod=nil, groupname=nil, port=nil, riskconfig=nil, event=nil, vul=nil, ssaassetdiscovertime=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, assetcreatetime=nil, loadbalancertype=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil, assetvulnum=nil, asseteventnum=nil, assetcspmrisknum=nil, ssaassetdeletetime=nil, chargetype=nil, assetregionname=nil, assetvpcid=nil) @AssetType = assettype @Name = name @Region = region @VpcId = vpcid @@ -732,11 +732,11 @@ # @type Total: Integer # @param List: 资产数组 # @type List: Array attr_accessor :Total, :List - + def initialize(total=nil, list=nil) @Total = total @List = list end @@ -759,11 +759,11 @@ # @type Filter: Array # @param Logic: 查询连接符,1 and ,2 or # @type Logic: Integer attr_accessor :Filter, :Logic - + def initialize(filter=nil, logic=nil) @Filter = filter @Logic = logic end @@ -788,11 +788,11 @@ # @param AssetCount: 统计计数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AssetCount: Integer attr_accessor :AssetType, :AssetCount - + def initialize(assettype=nil, assetcount=nil) @AssetType = assettype @AssetCount = assetcount end @@ -808,11 +808,11 @@ # @type Key: String # @param Count: 数量 # @type Count: Integer attr_accessor :Key, :Count - + def initialize(key=nil, count=nil) @Key = key @Count = count end @@ -851,11 +851,11 @@ # @type Detail: String # @param Remarks: 备注内容 # @type Remarks: String attr_accessor :Id, :Instid, :Url, :Taskid, :Result, :Updatetime, :Tag, :IsIgnore, :IsChecked, :AssetInfo, :AssetId, :Detail, :Remarks - + def initialize(id=nil, instid=nil, url=nil, taskid=nil, result=nil, updatetime=nil, tag=nil, isignore=nil, ischecked=nil, assetinfo=nil, assetid=nil, detail=nil, remarks=nil) @Id = id @Instid = instid @Url = url @Taskid = taskid @@ -917,11 +917,11 @@ # @type ResCount: Integer # @param IsIgnore: 是否忽略 # @type IsIgnore: Integer attr_accessor :Id, :CheckName, :Content, :Method, :Doc, :ErrorCount, :IsPass, :SafeCount, :IgnoreCount, :RiskCount, :NameEn, :AssetType, :ResCount, :IsIgnore - + def initialize(id=nil, checkname=nil, content=nil, method=nil, doc=nil, errorcount=nil, ispass=nil, safecount=nil, ignorecount=nil, riskcount=nil, nameen=nil, assettype=nil, rescount=nil, isignore=nil) @Id = id @CheckName = checkname @Content = content @Method = method @@ -1010,11 +1010,11 @@ # @param Title: 合规检查项完整名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Title: String attr_accessor :Id, :Category, :Type, :ErrorCount, :NameEn, :CheckName, :Method, :Doc, :SafeCount, :Content, :IsPass, :IgnoreCount, :RiskCount, :LastCheckTime, :AssetType, :ResCount, :UUID, :StandardItem, :Chapter, :AssetTypeDesc, :IsIgnore, :RiskItem, :Title - + def initialize(id=nil, category=nil, type=nil, errorcount=nil, nameen=nil, checkname=nil, method=nil, doc=nil, safecount=nil, content=nil, ispass=nil, ignorecount=nil, riskcount=nil, lastchecktime=nil, assettype=nil, rescount=nil, uuid=nil, standarditem=nil, chapter=nil, assettypedesc=nil, isignore=nil, riskitem=nil, title=nil) @Id = id @Category = category @Type = type @ErrorCount = errorcount @@ -1173,11 +1173,11 @@ # @param EventSubType: 可疑关注点字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EventSubType: String attr_accessor :ConcernType, :EntityType, :Concern, :StatisticsCount, :IpCountry, :IpProvince, :Result, :Confidence, :IpIsp, :IpInfrastructure, :ThreatType, :Groups, :Status, :Tags, :VictimAssetType, :VictimAssetName, :DomainRegistrant, :DomainRegisteredInstitution, :DomainRegistrationTime, :FileName, :FileMd5, :VirusName, :FilePath, :FileSize, :ProcName, :Pid, :ProcPath, :ProcUser, :DefendedCount, :DetectedCount, :SearchData, :IpCountryIso, :IpProvinceIso, :IpCity, :EventSubType - + def initialize(concerntype=nil, entitytype=nil, concern=nil, statisticscount=nil, ipcountry=nil, ipprovince=nil, result=nil, confidence=nil, ipisp=nil, ipinfrastructure=nil, threattype=nil, groups=nil, status=nil, tags=nil, victimassettype=nil, victimassetname=nil, domainregistrant=nil, domainregisteredinstitution=nil, domainregistrationtime=nil, filename=nil, filemd5=nil, virusname=nil, filepath=nil, filesize=nil, procname=nil, pid=nil, procpath=nil, procuser=nil, defendedcount=nil, detectedcount=nil, searchdata=nil, ipcountryiso=nil, ipprovinceiso=nil, ipcity=nil, eventsubtype=nil) @ConcernType = concerntype @EntityType = entitytype @Concern = concern @StatisticsCount = statisticscount @@ -1309,11 +1309,11 @@ # @param IsIntranet: 资产是否是内网类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsIntranet: Integer attr_accessor :AssetIp, :AssetName, :Instid, :AssetType, :AssetRegionEn, :AssetRegionCn, :AssetNetwork, :AssetStatusEn, :AssetStatusCn, :IsWhite, :Status, :Time, :Tag, :Group, :Port, :Component, :AssetInstanceType, :IsIntranet - + def initialize(assetip=nil, assetname=nil, instid=nil, assettype=nil, assetregionen=nil, assetregioncn=nil, assetnetwork=nil, assetstatusen=nil, assetstatuscn=nil, iswhite=nil, status=nil, time=nil, tag=nil, group=nil, port=nil, component=nil, assetinstancetype=nil, isintranet=nil) @AssetIp = assetip @AssetName = assetname @Instid = instid @AssetType = assettype @@ -1391,11 +1391,11 @@ # @param Remarks: 备注内容 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remarks: String attr_accessor :Id, :Name, :Type, :LastCheckTime, :Status, :IsIgnored, :RiskCount, :IsChecked, :AssetTotal, :Remarks - + def initialize(id=nil, name=nil, type=nil, lastchecktime=nil, status=nil, isignored=nil, riskcount=nil, ischecked=nil, assettotal=nil, remarks=nil) @Id = id @Name = name @Type = type @LastCheckTime = lastchecktime @@ -1466,11 +1466,11 @@ # @param Remarks: 忽略内容 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remarks: String attr_accessor :Id, :CheckItemId, :Name, :AssetType, :Type, :Category, :StandardItem, :Chapter, :LastCheckTime, :Status, :RiskCount, :IsChecked, :RiskItem, :IsIgnored, :Title, :AssetTotal, :Remarks - + def initialize(id=nil, checkitemid=nil, name=nil, assettype=nil, type=nil, category=nil, standarditem=nil, chapter=nil, lastchecktime=nil, status=nil, riskcount=nil, ischecked=nil, riskitem=nil, isignored=nil, title=nil, assettotal=nil, remarks=nil) @Id = id @CheckItemId = checkitemid @Name = name @AssetType = assettype @@ -1615,11 +1615,11 @@ # @param Direction: 出入站方向 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Direction: String attr_accessor :OldIdMd5, :EventName, :EventType1, :EventType2, :Level, :Status, :SrcIp, :DstIp, :Time, :Dstport, :AssetIp, :AssetName, :SsaEventUniqid, :AssetId, :Source, :Index, :Id, :IsAssetDeleted, :SsaSrcCountry, :SsaDstCountry, :SsaDescription, :SsaAttackChain, :RuleComponents, :AssetIpAll, :AssetType, :PublicIpAddresses, :PrivateIpAddresses, :SoarResponseStatus, :SoarResponseTime, :SoarSuggestStatus, :SoarPlaybookType, :SoarRunId, :SsaEventId, :IsNewCfwEvent, :Direction - + def initialize(oldidmd5=nil, eventname=nil, eventtype1=nil, eventtype2=nil, level=nil, status=nil, srcip=nil, dstip=nil, time=nil, dstport=nil, assetip=nil, assetname=nil, ssaeventuniqid=nil, assetid=nil, source=nil, index=nil, id=nil, isassetdeleted=nil, ssasrccountry=nil, ssadstcountry=nil, ssadescription=nil, ssaattackchain=nil, rulecomponents=nil, assetipall=nil, assettype=nil, publicipaddresses=nil, privateipaddresses=nil, soarresponsestatus=nil, soarresponsetime=nil, soarsuggeststatus=nil, soarplaybooktype=nil, soarrunid=nil, ssaeventid=nil, isnewcfwevent=nil, direction=nil) @OldIdMd5 = oldidmd5 @EventName = eventname @EventType1 = eventtype1 @EventType2 = eventtype2 @@ -1710,11 +1710,11 @@ # @type PageIndex: Integer # @param PageSize: 页大小 # @type PageSize: Integer attr_accessor :Filter, :Sorter, :RiskTags, :Tags, :PageIndex, :PageSize - + def initialize(filter=nil, sorter=nil, risktags=nil, tags=nil, pageindex=nil, pagesize=nil) @Filter = filter @Sorter = sorter @RiskTags = risktags @Tags = tags @@ -1756,11 +1756,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :Total, :RequestId - + def initialize(data=nil, total=nil, requestid=nil) @Data = data @Total = total @RequestId = requestid end @@ -1783,11 +1783,11 @@ class DescribeAssetDetailRequest < TencentCloud::Common::AbstractModel # @param Params: 查询过滤参数 # @type Params: String attr_accessor :Params - + def initialize(params=nil) @Params = params end def deserialize(params) @@ -1802,11 +1802,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.AssetDetail` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -1823,11 +1823,11 @@ class DescribeAssetListRequest < TencentCloud::Common::AbstractModel # @param Params: 查询过滤参数 # @type Params: String attr_accessor :Params - + def initialize(params=nil) @Params = params end def deserialize(params) @@ -1845,11 +1845,11 @@ # @type NamespaceData: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :AssetList, :AggregationData, :NamespaceData, :RequestId - + def initialize(assetlist=nil, aggregationdata=nil, namespacedata=nil, requestid=nil) @AssetList = assetlist @AggregationData = aggregationdata @NamespaceData = namespacedata @RequestId = requestid @@ -1877,11 +1877,11 @@ class DescribeAssetsMappingListRequest < TencentCloud::Common::AbstractModel # @param Params: 请求参数 # @type Params: String attr_accessor :Params - + def initialize(params=nil) @Params = params end def deserialize(params) @@ -1900,11 +1900,11 @@ # @type CountByType: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :TotalCount, :CountByType, :RequestId - + def initialize(data=nil, totalcount=nil, countbytype=nil, requestid=nil) @Data = data @TotalCount = totalcount @CountByType = countbytype @RequestId = requestid @@ -1937,11 +1937,11 @@ # @type Search: Array # @param Filter: ES过滤条件 # @type Filter: Array attr_accessor :Id, :Offset, :Limit, :Search, :Filter - + def initialize(id=nil, offset=nil, limit=nil, search=nil, filter=nil) @Id = id @Offset = offset @Limit = limit @Search = search @@ -1980,11 +1980,11 @@ # @type CheckAssetsList: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :CheckAssetsList, :RequestId - + def initialize(total=nil, checkassetslist=nil, requestid=nil) @Total = total @CheckAssetsList = checkassetslist @RequestId = requestid end @@ -2007,11 +2007,11 @@ class DescribeCheckConfigDetailRequest < TencentCloud::Common::AbstractModel # @param Id: 检查项ID # @type Id: String attr_accessor :Id - + def initialize(id=nil) @Id = id end def deserialize(params) @@ -2025,11 +2025,11 @@ # @type CheckConfigDetail: :class:`Tencentcloud::Ssa.v20180608.models.CheckConfigDetail` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :CheckConfigDetail, :RequestId - + def initialize(checkconfigdetail=nil, requestid=nil) @CheckConfigDetail = checkconfigdetail @RequestId = requestid end @@ -2054,11 +2054,11 @@ # @type Filter: Array # @param Search: 查询条件 # @type Search: Array attr_accessor :Offset, :Limit, :Id, :Filter, :Search - + def initialize(offset=nil, limit=nil, id=nil, filter=nil, search=nil) @Offset = offset @Limit = limit @Id = id @Filter = filter @@ -2096,11 +2096,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :CheckAssetsList, :Total, :RequestId - + def initialize(checkassetslist=nil, total=nil, requestid=nil) @CheckAssetsList = checkassetslist @Total = total @RequestId = requestid end @@ -2123,11 +2123,11 @@ class DescribeComplianceDetailRequest < TencentCloud::Common::AbstractModel # @param Id: 检查项uuid # @type Id: String attr_accessor :Id - + def initialize(id=nil) @Id = id end def deserialize(params) @@ -2141,11 +2141,11 @@ # @type CheckConfigDetail: :class:`Tencentcloud::Ssa.v20180608.models.ComplianceCheckDetail` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :CheckConfigDetail, :RequestId - + def initialize(checkconfigdetail=nil, requestid=nil) @CheckConfigDetail = checkconfigdetail @RequestId = requestid end @@ -2162,11 +2162,11 @@ class DescribeComplianceListRequest < TencentCloud::Common::AbstractModel # @param Filter: 搜索过滤条件 # @type Filter: String attr_accessor :Filter - + def initialize(filter=nil) @Filter = filter end def deserialize(params) @@ -2186,11 +2186,11 @@ # @type ConfigTotalNum: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :AssetTotalNum, :ConfigTotalNum, :RequestId - + def initialize(data=nil, assettotalnum=nil, configtotalnum=nil, requestid=nil) @Data = data @AssetTotalNum = assettotalnum @ConfigTotalNum = configtotalnum @RequestId = requestid @@ -2215,11 +2215,11 @@ class DescribeConfigListRequest < TencentCloud::Common::AbstractModel # @param Filter: 搜索过滤条件 # @type Filter: String attr_accessor :Filter - + def initialize(filter=nil) @Filter = filter end def deserialize(params) @@ -2233,11 +2233,11 @@ # @type Data: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2252,10 +2252,108 @@ end @RequestId = params['RequestId'] end end + # DescribeDomainList请求参数结构体 + class DescribeDomainListRequest < TencentCloud::Common::AbstractModel + # @param Offset: - + # @type Offset: Integer + # @param Limit: - + # @type Limit: Integer + # @param AssetBasicType: - + # @type AssetBasicType: Integer + # @param Filter: - + # @type Filter: Array + # @param Order: - + # @type Order: String + # @param By: - + # @type By: String + # @param Field: - + # @type Field: Array + # @param TimeRange: - + # @type TimeRange: Integer + # @param Logic: - + # @type Logic: Integer + # @param GroupByField: - + # @type GroupByField: String + # @param Task: - + # @type Task: String + # @param RequestFrom: - + # @type RequestFrom: Integer + + attr_accessor :Offset, :Limit, :AssetBasicType, :Filter, :Order, :By, :Field, :TimeRange, :Logic, :GroupByField, :Task, :RequestFrom + + def initialize(offset=nil, limit=nil, assetbasictype=nil, filter=nil, order=nil, by=nil, field=nil, timerange=nil, logic=nil, groupbyfield=nil, task=nil, requestfrom=nil) + @Offset = offset + @Limit = limit + @AssetBasicType = assetbasictype + @Filter = filter + @Order = order + @By = by + @Field = field + @TimeRange = timerange + @Logic = logic + @GroupByField = groupbyfield + @Task = task + @RequestFrom = requestfrom + end + + def deserialize(params) + @Offset = params['Offset'] + @Limit = params['Limit'] + @AssetBasicType = params['AssetBasicType'] + unless params['Filter'].nil? + @Filter = [] + params['Filter'].each do |i| + queryfilterv3_tmp = QueryFilterV3.new + queryfilterv3_tmp.deserialize(i) + @Filter << queryfilterv3_tmp + end + end + @Order = params['Order'] + @By = params['By'] + @Field = params['Field'] + @TimeRange = params['TimeRange'] + @Logic = params['Logic'] + @GroupByField = params['GroupByField'] + @Task = params['Task'] + @RequestFrom = params['RequestFrom'] + end + end + + # DescribeDomainList返回参数结构体 + class DescribeDomainListResponse < TencentCloud::Common::AbstractModel + # @param Total: 无 + # @type Total: Integer + # @param DomainInfoCollection: 无 + # @type DomainInfoCollection: Array + # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + # @type RequestId: String + + attr_accessor :Total, :DomainInfoCollection, :RequestId + + def initialize(total=nil, domaininfocollection=nil, requestid=nil) + @Total = total + @DomainInfoCollection = domaininfocollection + @RequestId = requestid + end + + def deserialize(params) + @Total = params['Total'] + unless params['DomainInfoCollection'].nil? + @DomainInfoCollection = [] + params['DomainInfoCollection'].each do |i| + domaininfo_tmp = DomainInfo.new + domaininfo_tmp.deserialize(i) + @DomainInfoCollection << domaininfo_tmp + end + end + @RequestId = params['RequestId'] + end + end + # DescribeEventDetail请求参数结构体 class DescribeEventDetailRequest < TencentCloud::Common::AbstractModel # @param Index: 事件索引名 # @type Index: String # @param Id: 事件id @@ -2266,11 +2364,11 @@ # @type SubEventType: Integer # @param Name: 事件名称 # @type Name: String attr_accessor :Index, :Id, :Source, :SubEventType, :Name - + def initialize(index=nil, id=nil, source=nil, subeventtype=nil, name=nil) @Index = index @Id = id @Source = source @SubEventType = subeventtype @@ -2292,11 +2390,11 @@ # @type Data: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2318,11 +2416,11 @@ # @type StartTime: String # @param EndTime: 结束时间 # @type EndTime: String attr_accessor :Filters, :Limit, :Page, :StartTime, :EndTime - + def initialize(filters=nil, limit=nil, page=nil, starttime=nil, endtime=nil) @Filters = filters @Limit = limit @Page = page @StartTime = starttime @@ -2353,11 +2451,11 @@ # @type List: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :List, :RequestId - + def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end @@ -2379,11 +2477,11 @@ # @type PageIndex: Integer # @param PageSize: 页大小,默认大小20 # @type PageSize: Integer attr_accessor :Filter, :Sorter, :PageIndex, :PageSize - + def initialize(filter=nil, sorter=nil, pageindex=nil, pagesize=nil) @Filter = filter @Sorter = sorter @PageIndex = pageindex @PageSize = pagesize @@ -2421,11 +2519,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.Results` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :Data, :RequestId - + def initialize(total=nil, data=nil, requestid=nil) @Total = total @Data = data @RequestId = requestid end @@ -2458,11 +2556,11 @@ # @type EndTime: String # @param IsFilterResponseTime: 是否过滤响应时间 # @type IsFilterResponseTime: Boolean attr_accessor :Filter, :Limit, :Offset, :Order, :By, :StartTime, :EndTime, :IsFilterResponseTime - + def initialize(filter=nil, limit=nil, offset=nil, order=nil, by=nil, starttime=nil, endtime=nil, isfilterresponsetime=nil) @Filter = filter @Limit = limit @Offset = offset @Order = order @@ -2492,11 +2590,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :List, :Total, :RequestId - + def initialize(list=nil, total=nil, requestid=nil) @List = list @Total = total @RequestId = requestid end @@ -2521,11 +2619,11 @@ # @type AlertId: String # @param AlertTimestamp: 告警时间,取Timestamp字段 # @type AlertTimestamp: String attr_accessor :AlertId, :AlertTimestamp - + def initialize(alertid=nil, alerttimestamp=nil) @AlertId = alertid @AlertTimestamp = alerttimestamp end @@ -2542,11 +2640,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.AlertDetail` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2573,11 +2671,11 @@ # @type Sorter: Array # @param ExportFlag: 是否导出 # @type ExportFlag: Boolean attr_accessor :PageSize, :PageIndex, :Scenes, :Filter, :Sorter, :ExportFlag - + def initialize(pagesize=nil, pageindex=nil, scenes=nil, filter=nil, sorter=nil, exportflag=nil) @PageSize = pagesize @PageIndex = pageindex @Scenes = scenes @Filter = filter @@ -2615,11 +2713,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.AlertListData` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2642,11 +2740,11 @@ # @type PageSize: Integer # @param PageIndex: 当前页面索引,默认值为0 # @type PageIndex: Integer attr_accessor :Filter, :Sorter, :PageSize, :PageIndex - + def initialize(filter=nil, sorter=nil, pagesize=nil, pageindex=nil) @Filter = filter @Sorter = sorter @PageSize = pagesize @PageIndex = pageindex @@ -2681,11 +2779,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.DescribeSocCheckItemListRspRsp` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2706,11 +2804,11 @@ # @param Total: 检查项总数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Total: Integer attr_accessor :List, :Total - + def initialize(list=nil, total=nil) @List = list @Total = total end @@ -2740,11 +2838,11 @@ # @type PageIndex: Integer # @param AssetId: 资产id # @type AssetId: String attr_accessor :Filter, :Sorter, :PageSize, :PageIndex, :AssetId - + def initialize(filter=nil, sorter=nil, pagesize=nil, pageindex=nil, assetid=nil) @Filter = filter @Sorter = sorter @PageSize = pagesize @PageIndex = pageindex @@ -2781,11 +2879,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.DescribeSocCheckResultListRspRsp` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2812,11 +2910,11 @@ # @type HighTotal: Integer # @param NormalTotal: 正常个数 # @type NormalTotal: Integer attr_accessor :List, :Total, :LowTotal, :MiddleTotal, :HighTotal, :NormalTotal - + def initialize(list=nil, total=nil, lowtotal=nil, middletotal=nil, hightotal=nil, normaltotal=nil) @List = list @Total = total @LowTotal = lowtotal @MiddleTotal = middletotal @@ -2842,11 +2940,11 @@ end # DescribeSocCspmCompliance请求参数结构体 class DescribeSocCspmComplianceRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -2859,11 +2957,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SocComplianceInfoResp` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -2882,11 +2980,11 @@ # @type UniqId: String # @param Source: 查看详情来源 # @type Source: String attr_accessor :UniqId, :Source - + def initialize(uniqid=nil, source=nil) @UniqId = uniqid @Source = source end @@ -2966,11 +3064,11 @@ # @type VulPath: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :VulType, :SubVulType, :CvssScore, :Cvss, :Cve, :Cnvd, :Cnnvd, :Desc, :Reference, :Repair, :ReleaseTime, :UpdateTime, :Name, :Level, :Status, :ImpactAsset, :ImpactAssetName, :IsAssetDeleted, :Source, :VulUrl, :SsaAssetCategory, :VulPath, :RequestId - + def initialize(vultype=nil, subvultype=nil, cvssscore=nil, cvss=nil, cve=nil, cnvd=nil, cnnvd=nil, desc=nil, reference=nil, repair=nil, releasetime=nil, updatetime=nil, name=nil, level=nil, status=nil, impactasset=nil, impactassetname=nil, isassetdeleted=nil, source=nil, vulurl=nil, ssaassetcategory=nil, vulpath=nil, requestid=nil) @VulType = vultype @SubVulType = subvultype @CvssScore = cvssscore @Cvss = cvss @@ -3026,11 +3124,11 @@ class DescribeVulListRequest < TencentCloud::Common::AbstractModel # @param Params: 查询过滤参数 # @type Params: String attr_accessor :Params - + def initialize(params=nil) @Params = params end def deserialize(params) @@ -3044,11 +3142,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.VulList` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -3059,10 +3157,86 @@ end @RequestId = params['RequestId'] end end + # 域名列表 + class DomainInfo < TencentCloud::Common::AbstractModel + # @param Domain: 域名 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Domain: String + # @param ResolveAddr: 解析地址 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type ResolveAddr: Array + # @param Region: 地域 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type Region: Array + # @param AssetType: 资产类型 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type AssetType: Array + # @param RiskVulCount: 漏洞风险 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type RiskVulCount: Integer + # @param SensitiveCount: 敏感内容 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type SensitiveCount: Integer + # @param HorseLinkCount: 挂马暗链 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type HorseLinkCount: Integer + # @param WebModifyCount: 网页篡改 + # @type WebModifyCount: Integer + # @param ScanTime: 上次扫描时间 + # @type ScanTime: String + # @param DiscoverTime: 最近发现时间 + # @type DiscoverTime: String + # @param ScanTaskCount: 扫描次数 + # @type ScanTaskCount: Integer + # @param PortRisk: 端口 + # @type PortRisk: Integer + # @param WeekPwdCount: 弱口令 + # @type WeekPwdCount: Integer + # @param AssetLocation: - + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type AssetLocation: String + + attr_accessor :Domain, :ResolveAddr, :Region, :AssetType, :RiskVulCount, :SensitiveCount, :HorseLinkCount, :WebModifyCount, :ScanTime, :DiscoverTime, :ScanTaskCount, :PortRisk, :WeekPwdCount, :AssetLocation + + def initialize(domain=nil, resolveaddr=nil, region=nil, assettype=nil, riskvulcount=nil, sensitivecount=nil, horselinkcount=nil, webmodifycount=nil, scantime=nil, discovertime=nil, scantaskcount=nil, portrisk=nil, weekpwdcount=nil, assetlocation=nil) + @Domain = domain + @ResolveAddr = resolveaddr + @Region = region + @AssetType = assettype + @RiskVulCount = riskvulcount + @SensitiveCount = sensitivecount + @HorseLinkCount = horselinkcount + @WebModifyCount = webmodifycount + @ScanTime = scantime + @DiscoverTime = discovertime + @ScanTaskCount = scantaskcount + @PortRisk = portrisk + @WeekPwdCount = weekpwdcount + @AssetLocation = assetlocation + end + + def deserialize(params) + @Domain = params['Domain'] + @ResolveAddr = params['ResolveAddr'] + @Region = params['Region'] + @AssetType = params['AssetType'] + @RiskVulCount = params['RiskVulCount'] + @SensitiveCount = params['SensitiveCount'] + @HorseLinkCount = params['HorseLinkCount'] + @WebModifyCount = params['WebModifyCount'] + @ScanTime = params['ScanTime'] + @DiscoverTime = params['DiscoverTime'] + @ScanTaskCount = params['ScanTaskCount'] + @PortRisk = params['PortRisk'] + @WeekPwdCount = params['WeekPwdCount'] + @AssetLocation = params['AssetLocation'] + end + end + # 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等 # 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。 # 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。 class Filter < TencentCloud::Common::AbstractModel @@ -3072,11 +3246,11 @@ # @type Values: Array # @param ExactMatch: 是否需要精确匹配 # @type ExactMatch: Boolean attr_accessor :Name, :Values, :ExactMatch - + def initialize(name=nil, values=nil, exactmatch=nil) @Name = name @Values = values @ExactMatch = exactmatch end @@ -3112,11 +3286,11 @@ # @type Asset: String # @param OldIdMd5: 私有字段和公有字段映射的原始采集数据唯一标识的MD5值 # @type OldIdMd5: String attr_accessor :Time, :EventType1, :EventType2, :EventName, :Level, :Status, :SrcIp, :DstIp, :DstPort, :Asset, :OldIdMd5 - + def initialize(time=nil, eventtype1=nil, eventtype2=nil, eventname=nil, level=nil, status=nil, srcip=nil, dstip=nil, dstport=nil, asset=nil, oldidmd5=nil) @Time = time @EventType1 = eventtype1 @EventType2 = eventtype2 @EventName = eventname @@ -3206,11 +3380,11 @@ # @param MappingType: 测绘类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MappingType: String attr_accessor :AssetName, :AssetIp, :PrivateIp, :AssetId, :Protocol, :Port, :Service, :Component, :Process, :OS, :LastMappingTime, :DisposalRecommendations, :DisposalRecommendationDetails, :AssetType, :Domain, :MappingStatus, :Region, :SecurityStatus, :DisposalRecommendation, :MappingType - + def initialize(assetname=nil, assetip=nil, privateip=nil, assetid=nil, protocol=nil, port=nil, service=nil, component=nil, process=nil, os=nil, lastmappingtime=nil, disposalrecommendations=nil, disposalrecommendationdetails=nil, assettype=nil, domain=nil, mappingstatus=nil, region=nil, securitystatus=nil, disposalrecommendation=nil, mappingtype=nil) @AssetName = assetname @AssetIp = assetip @PrivateIp = privateip @AssetId = assetid @@ -3269,11 +3443,11 @@ # @type Count: Integer # @param List: List # @type List: Array attr_accessor :Count, :List - + def initialize(count=nil, list=nil) @Count = count @List = list end @@ -3298,11 +3472,11 @@ # @type FilterOperatorType: Integer # @param FilterValue: 过滤value # @type FilterValue: String attr_accessor :FilterKey, :FilterOperatorType, :FilterValue - + def initialize(filterkey=nil, filteroperatortype=nil, filtervalue=nil) @FilterKey = filterkey @FilterOperatorType = filteroperatortype @FilterValue = filtervalue end @@ -3312,19 +3486,57 @@ @FilterOperatorType = params['FilterOperatorType'] @FilterValue = params['FilterValue'] end end + # 过滤 + class QueryFilterV3 < TencentCloud::Common::AbstractModel + # @param Filter: 过滤条件 + # @type Filter: :class:`Tencentcloud::Ssa.v20180608.models.QueryFilter` + # @param HasSub: 有无子条件 + # @type HasSub: Boolean + # @param SubFilters: 查询条件 + # @type SubFilters: Array + # @param Logic: 逻辑操作(只支持32位) + # @type Logic: Integer + + attr_accessor :Filter, :HasSub, :SubFilters, :Logic + + def initialize(filter=nil, hassub=nil, subfilters=nil, logic=nil) + @Filter = filter + @HasSub = hassub + @SubFilters = subfilters + @Logic = logic + end + + def deserialize(params) + unless params['Filter'].nil? + @Filter = QueryFilter.new + @Filter.deserialize(params['Filter']) + end + @HasSub = params['HasSub'] + unless params['SubFilters'].nil? + @SubFilters = [] + params['SubFilters'].each do |i| + queryfilter_tmp = QueryFilter.new + queryfilter_tmp.deserialize(i) + @SubFilters << queryfilter_tmp + end + end + @Logic = params['Logic'] + end + end + # 排序的字段 class QuerySort < TencentCloud::Common::AbstractModel # @param SortKey: 排序字段 # @type SortKey: String # @param SortType: 顺序,1升序2降序 # @type SortType: Integer attr_accessor :SortKey, :SortType - + def initialize(sortkey=nil, sorttype=nil) @SortKey = sortkey @SortType = sorttype end @@ -3348,11 +3560,11 @@ # @param TaskMaxCount: 最大测绘任务数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TaskMaxCount: Integer attr_accessor :Statistics, :Result, :TaskCount, :TaskMaxCount - + def initialize(statistics=nil, result=nil, taskcount=nil, taskmaxcount=nil) @Statistics = statistics @Result = result @TaskCount = taskcount @TaskMaxCount = taskmaxcount @@ -3414,11 +3626,11 @@ # @type InsertTime: String # @param UpdateTime: 事件更新时间 # @type UpdateTime: String attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime - + def initialize(id=nil, uin=nil, appid=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, ruleword=nil, scanurl=nil, scancount=nil, level=nil, status=nil, eventtime=nil, inserttime=nil, updatetime=nil) @Id = id @Uin = uin @AppId = appid @EventName = eventname @@ -3462,11 +3674,11 @@ # @type Count: Integer # @param List: 自定义泄露事件列表 # @type List: Array attr_accessor :Count, :List - + def initialize(count=nil, list=nil) @Count = count @List = list end @@ -3509,11 +3721,11 @@ # @type Offset: String # @param Limit: 查询个数 # @type Limit: String attr_accessor :QueryKey, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :Level, :Status, :StartTime, :EndTime, :Offset, :Limit - + def initialize(querykey=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, level=nil, status=nil, starttime=nil, endtime=nil, offset=nil, limit=nil) @QueryKey = querykey @EventName = eventname @DivulgeSoure = divulgesoure @Asset = asset @@ -3549,11 +3761,11 @@ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeDataQueryPubList` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Data, :RequestId - + def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end @@ -3590,11 +3802,11 @@ # @type EndTime: String # @param OldIdMd5: 私有字段和公有字段映射的原始采集数据唯一标识的MD5值 # @type OldIdMd5: String attr_accessor :Asset, :EventName, :EventType1, :EventType2, :Level, :Status, :StartTime, :Offset, :Limit, :EndTime, :OldIdMd5 - + def initialize(asset=nil, eventname=nil, eventtype1=nil, eventtype2=nil, level=nil, status=nil, starttime=nil, offset=nil, limit=nil, endtime=nil, oldidmd5=nil) @Asset = asset @EventName = eventname @EventType1 = eventtype1 @EventType2 = eventtype2 @@ -3628,11 +3840,11 @@ # @type DataSaEventPub: :class:`Tencentcloud::Ssa.v20180608.models.ObjDataSaEventPub` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DataSaEventPub, :RequestId - + def initialize(datasaeventpub=nil, requestid=nil) @DataSaEventPub = datasaeventpub @RequestId = requestid end @@ -3646,11 +3858,11 @@ end # 安全放回状态 class SecurityStatus < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -3670,11 +3882,11 @@ # @param FailCount: 失败数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailCount: Integer attr_accessor :Name, :LevelId, :SuccessCount, :FailCount - + def initialize(name=nil, levelid=nil, successcount=nil, failcount=nil) @Name = name @LevelId = levelid @SuccessCount = successcount @FailCount = failcount @@ -3711,11 +3923,11 @@ # @param IsFree: 检查项是否付费 1:免费 2:付费 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsFree: Integer attr_accessor :CheckId, :Name, :Type, :AssetType, :Level, :Standard, :IsFree - + def initialize(checkid=nil, name=nil, type=nil, assettype=nil, level=nil, standard=nil, isfree=nil) @CheckId = checkid @Name = name @Type = type @AssetType = assettype @@ -3757,11 +3969,11 @@ # @type TotalAssetNum: Integer # @param DealUrl: 处置建议url链接 # @type DealUrl: String attr_accessor :CheckId, :Name, :Type, :AssetType, :PloyName, :PloyId, :Result, :FailAssetNum, :TotalAssetNum, :DealUrl - + def initialize(checkid=nil, name=nil, type=nil, assettype=nil, ployname=nil, ployid=nil, result=nil, failassetnum=nil, totalassetnum=nil, dealurl=nil) @CheckId = checkid @Name = name @Type = type @AssetType = assettype @@ -3792,11 +4004,11 @@ # @param Items: 合格项 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Items: Array attr_accessor :Items - + def initialize(items=nil) @Items = items end def deserialize(params) @@ -3837,11 +4049,11 @@ # @param CheckItems: 配置项数组 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CheckItems: Array attr_accessor :Item, :Description, :StandardItem, :Result, :Suggestion, :ProStr, :Production, :CheckItems - + def initialize(item=nil, description=nil, standarditem=nil, result=nil, suggestion=nil, prostr=nil, production=nil, checkitems=nil) @Item = item @Description = description @StandardItem = standarditem @Result = result @@ -3888,11 +4100,11 @@ # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer attr_accessor :Name, :Index, :Status - + def initialize(name=nil, index=nil, status=nil) @Name = name @Index = index @Status = status end @@ -3910,11 +4122,11 @@ # @type Fid: Integer # @param Fname: 标签名称字段 # @type Fname: String attr_accessor :Fid, :Fname - + def initialize(fid=nil, fname=nil) @Fid = fid @Fname = fname end @@ -4006,11 +4218,11 @@ # @param VulPath: 漏洞文件路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VulPath: String attr_accessor :Id, :VulName, :Type, :Level, :Status, :Time, :ImpactAssetNum, :ImpactAsset, :ImpactAssetName, :VulDetail, :VulRefLink, :OldIdMd5, :UniqId, :OperateTime, :IsAssetDeleted, :DiscoverTime, :OriginId, :Region, :Vpcid, :AssetType, :AssetSubType, :AssetIpAll, :PublicIpAddresses, :PrivateIpAddresses, :VulSource, :AffectedUrl, :SsaAssetCategory, :VulUrl, :IsOpen, :YzHostId, :VulRepairPlan, :VulPath - + def initialize(id=nil, vulname=nil, type=nil, level=nil, status=nil, time=nil, impactassetnum=nil, impactasset=nil, impactassetname=nil, vuldetail=nil, vulreflink=nil, oldidmd5=nil, uniqid=nil, operatetime=nil, isassetdeleted=nil, discovertime=nil, originid=nil, region=nil, vpcid=nil, assettype=nil, assetsubtype=nil, assetipall=nil, publicipaddresses=nil, privateipaddresses=nil, vulsource=nil, affectedurl=nil, ssaassetcategory=nil, vulurl=nil, isopen=nil, yzhostid=nil, vulrepairplan=nil, vulpath=nil) @Id = id @VulName = vulname @Type = type @Level = level @@ -4086,10 +4298,10 @@ # @type List: Array # @param Total: 总数 # @type Total: Integer attr_accessor :List, :Total - + def initialize(list=nil, total=nil) @List = list @Total = total end