Class: TencentCloud::Cwp::V20180228::DescribeVulEffectHostListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeVulEffectHostListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeVulEffectHostList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, vuleffecthostlist = nil, requestid = nil) ⇒ DescribeVulEffectHostListResponse
constructor
A new instance of DescribeVulEffectHostListResponse.
Constructor Details
#initialize(totalcount = nil, vuleffecthostlist = nil, requestid = nil) ⇒ DescribeVulEffectHostListResponse
Returns a new instance of DescribeVulEffectHostListResponse.
23318 23319 23320 23321 23322 |
# File 'lib/v20180228/models.rb', line 23318 def initialize(totalcount=nil, vuleffecthostlist=nil, requestid=nil) @TotalCount = totalcount @VulEffectHostList = vuleffecthostlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
23316 23317 23318 |
# File 'lib/v20180228/models.rb', line 23316 def RequestId @RequestId end |
#TotalCount ⇒ Object
23316 23317 23318 |
# File 'lib/v20180228/models.rb', line 23316 def TotalCount @TotalCount end |
#VulEffectHostList ⇒ Object
23316 23317 23318 |
# File 'lib/v20180228/models.rb', line 23316 def VulEffectHostList @VulEffectHostList end |
Instance Method Details
#deserialize(params) ⇒ Object
23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 |
# File 'lib/v20180228/models.rb', line 23324 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VulEffectHostList'].nil? @VulEffectHostList = [] params['VulEffectHostList'].each do |i| vuleffecthostlist_tmp = VulEffectHostList.new vuleffecthostlist_tmp.deserialize(i) @VulEffectHostList << vuleffecthostlist_tmp end end @RequestId = params['RequestId'] end |