Class: TencentCloud::Cwp::V20180228::VulHostTopInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::VulHostTopInfo
- Defined in:
- lib/v20180228/models.rb
Overview
服务器风险top5实体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostname = nil, vullevellist = nil, quuid = nil, score = nil) ⇒ VulHostTopInfo
constructor
A new instance of VulHostTopInfo.
Constructor Details
#initialize(hostname = nil, vullevellist = nil, quuid = nil, score = nil) ⇒ VulHostTopInfo
Returns a new instance of VulHostTopInfo.
40587 40588 40589 40590 40591 40592 |
# File 'lib/v20180228/models.rb', line 40587 def initialize(hostname=nil, vullevellist=nil, quuid=nil, score=nil) @HostName = hostname @VulLevelList = vullevellist @Quuid = quuid @Score = score end |
Instance Attribute Details
#HostName ⇒ Object
40585 40586 40587 |
# File 'lib/v20180228/models.rb', line 40585 def HostName @HostName end |
#Quuid ⇒ Object
40585 40586 40587 |
# File 'lib/v20180228/models.rb', line 40585 def Quuid @Quuid end |
#Score ⇒ Object
40585 40586 40587 |
# File 'lib/v20180228/models.rb', line 40585 def Score @Score end |
#VulLevelList ⇒ Object
40585 40586 40587 |
# File 'lib/v20180228/models.rb', line 40585 def VulLevelList @VulLevelList end |
Instance Method Details
#deserialize(params) ⇒ Object
40594 40595 40596 40597 40598 40599 40600 40601 40602 40603 40604 40605 40606 |
# File 'lib/v20180228/models.rb', line 40594 def deserialize(params) @HostName = params['HostName'] unless params['VulLevelList'].nil? @VulLevelList = [] params['VulLevelList'].each do |i| vullevelcountinfo_tmp = VulLevelCountInfo.new vullevelcountinfo_tmp.deserialize(i) @VulLevelList << vullevelcountinfo_tmp end end @Quuid = params['Quuid'] @Score = params['Score'] end |