Class: TencentCloud::Cwp::V20180228::DescribeVulHostTopResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeVulHostTopResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeVulHostTop返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vulhosttoplist = nil, requestid = nil) ⇒ DescribeVulHostTopResponse
constructor
A new instance of DescribeVulHostTopResponse.
Constructor Details
#initialize(vulhosttoplist = nil, requestid = nil) ⇒ DescribeVulHostTopResponse
Returns a new instance of DescribeVulHostTopResponse.
23645 23646 23647 23648 |
# File 'lib/v20180228/models.rb', line 23645 def initialize(vulhosttoplist=nil, requestid=nil) @VulHostTopList = vulhosttoplist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
23643 23644 23645 |
# File 'lib/v20180228/models.rb', line 23643 def RequestId @RequestId end |
#VulHostTopList ⇒ Object
23643 23644 23645 |
# File 'lib/v20180228/models.rb', line 23643 def VulHostTopList @VulHostTopList end |
Instance Method Details
#deserialize(params) ⇒ Object
23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 |
# File 'lib/v20180228/models.rb', line 23650 def deserialize(params) unless params['VulHostTopList'].nil? @VulHostTopList = [] params['VulHostTopList'].each do |i| vulhosttopinfo_tmp = VulHostTopInfo.new vulhosttopinfo_tmp.deserialize(i) @VulHostTopList << vulhosttopinfo_tmp end end @RequestId = params['RequestId'] end |