Class: TencentCloud::Csip::V20221121::VULRiskInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::VULRiskInfo
- Defined in:
- lib/v20221121/models.rb
Overview
漏洞风险信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(fix = nil, references = nil, describe = nil, impactcomponent = nil) ⇒ VULRiskInfo
constructor
A new instance of VULRiskInfo.
Constructor Details
#initialize(fix = nil, references = nil, describe = nil, impactcomponent = nil) ⇒ VULRiskInfo
Returns a new instance of VULRiskInfo.
8965 8966 8967 8968 8969 8970 |
# File 'lib/v20221121/models.rb', line 8965 def initialize(fix=nil, references=nil, describe=nil, impactcomponent=nil) @Fix = fix @References = references @Describe = describe @ImpactComponent = impactcomponent end |
Instance Attribute Details
#Describe ⇒ Object
8963 8964 8965 |
# File 'lib/v20221121/models.rb', line 8963 def Describe @Describe end |
#Fix ⇒ Object
8963 8964 8965 |
# File 'lib/v20221121/models.rb', line 8963 def Fix @Fix end |
#ImpactComponent ⇒ Object
8963 8964 8965 |
# File 'lib/v20221121/models.rb', line 8963 def ImpactComponent @ImpactComponent end |
#References ⇒ Object
8963 8964 8965 |
# File 'lib/v20221121/models.rb', line 8963 def References @References end |
Instance Method Details
#deserialize(params) ⇒ Object
8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 |
# File 'lib/v20221121/models.rb', line 8972 def deserialize(params) @Fix = params['Fix'] @References = params['References'] @Describe = params['Describe'] unless params['ImpactComponent'].nil? @ImpactComponent = [] params['ImpactComponent'].each do |i| vulimpactcomponentinfo_tmp = VulImpactComponentInfo.new vulimpactcomponentinfo_tmp.deserialize(i) @ImpactComponent << vulimpactcomponentinfo_tmp end end end |