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.
13277 13278 13279 13280 13281 13282 |
# File 'lib/v20221121/models.rb', line 13277 def initialize(fix=nil, references=nil, describe=nil, impactcomponent=nil) @Fix = fix @References = references @Describe = describe @ImpactComponent = impactcomponent end |
Instance Attribute Details
#Describe ⇒ Object
13275 13276 13277 |
# File 'lib/v20221121/models.rb', line 13275 def Describe @Describe end |
#Fix ⇒ Object
13275 13276 13277 |
# File 'lib/v20221121/models.rb', line 13275 def Fix @Fix end |
#ImpactComponent ⇒ Object
13275 13276 13277 |
# File 'lib/v20221121/models.rb', line 13275 def ImpactComponent @ImpactComponent end |
#References ⇒ Object
13275 13276 13277 |
# File 'lib/v20221121/models.rb', line 13275 def References @References end |
Instance Method Details
#deserialize(params) ⇒ Object
13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 |
# File 'lib/v20221121/models.rb', line 13284 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 |