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.
23707 23708 23709 23710 23711 |
# File 'lib/v20180228/models.rb', line 23707 def initialize(totalcount=nil, vuleffecthostlist=nil, requestid=nil) @TotalCount = totalcount @VulEffectHostList = vuleffecthostlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
23705 23706 23707 |
# File 'lib/v20180228/models.rb', line 23705 def RequestId @RequestId end |
#TotalCount ⇒ Object
23705 23706 23707 |
# File 'lib/v20180228/models.rb', line 23705 def TotalCount @TotalCount end |
#VulEffectHostList ⇒ Object
23705 23706 23707 |
# File 'lib/v20180228/models.rb', line 23705 def VulEffectHostList @VulEffectHostList end |
Instance Method Details
#deserialize(params) ⇒ Object
23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 |
# File 'lib/v20180228/models.rb', line 23713 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 |