Class: TencentCloud::Cwp::V20180228::DescribeVulListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeVulListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeVulList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vulinfolist = nil, totalcount = nil, followvulcount = nil, requestid = nil) ⇒ DescribeVulListResponse
constructor
A new instance of DescribeVulListResponse.
Constructor Details
#initialize(vulinfolist = nil, totalcount = nil, followvulcount = nil, requestid = nil) ⇒ DescribeVulListResponse
Returns a new instance of DescribeVulListResponse.
24286 24287 24288 24289 24290 24291 |
# File 'lib/v20180228/models.rb', line 24286 def initialize(vulinfolist=nil, totalcount=nil, followvulcount=nil, requestid=nil) @VulInfoList = vulinfolist @TotalCount = totalcount @FollowVulCount = followvulcount @RequestId = requestid end |
Instance Attribute Details
#FollowVulCount ⇒ Object
24284 24285 24286 |
# File 'lib/v20180228/models.rb', line 24284 def FollowVulCount @FollowVulCount end |
#RequestId ⇒ Object
24284 24285 24286 |
# File 'lib/v20180228/models.rb', line 24284 def RequestId @RequestId end |
#TotalCount ⇒ Object
24284 24285 24286 |
# File 'lib/v20180228/models.rb', line 24284 def TotalCount @TotalCount end |
#VulInfoList ⇒ Object
24284 24285 24286 |
# File 'lib/v20180228/models.rb', line 24284 def VulInfoList @VulInfoList end |
Instance Method Details
#deserialize(params) ⇒ Object
24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 |
# File 'lib/v20180228/models.rb', line 24293 def deserialize(params) unless params['VulInfoList'].nil? @VulInfoList = [] params['VulInfoList'].each do |i| vulinfolist_tmp = VulInfoList.new vulinfolist_tmp.deserialize(i) @VulInfoList << vulinfolist_tmp end end @TotalCount = params['TotalCount'] @FollowVulCount = params['FollowVulCount'] @RequestId = params['RequestId'] end |