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.
24030 24031 24032 24033 |
# File 'lib/v20180228/models.rb', line 24030 def initialize(vulhosttoplist=nil, requestid=nil) @VulHostTopList = vulhosttoplist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
24028 24029 24030 |
# File 'lib/v20180228/models.rb', line 24028 def RequestId @RequestId end |
#VulHostTopList ⇒ Object
24028 24029 24030 |
# File 'lib/v20180228/models.rb', line 24028 def VulHostTopList @VulHostTopList end |
Instance Method Details
#deserialize(params) ⇒ Object
24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 |
# File 'lib/v20180228/models.rb', line 24035 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 |