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.
23901 23902 23903 23904 23905 23906 |
# File 'lib/v20180228/models.rb', line 23901 def initialize(vulinfolist=nil, totalcount=nil, followvulcount=nil, requestid=nil) @VulInfoList = vulinfolist @TotalCount = totalcount @FollowVulCount = followvulcount @RequestId = requestid end |
Instance Attribute Details
#FollowVulCount ⇒ Object
23899 23900 23901 |
# File 'lib/v20180228/models.rb', line 23899 def FollowVulCount @FollowVulCount end |
#RequestId ⇒ Object
23899 23900 23901 |
# File 'lib/v20180228/models.rb', line 23899 def RequestId @RequestId end |
#TotalCount ⇒ Object
23899 23900 23901 |
# File 'lib/v20180228/models.rb', line 23899 def TotalCount @TotalCount end |
#VulInfoList ⇒ Object
23899 23900 23901 |
# File 'lib/v20180228/models.rb', line 23899 def VulInfoList @VulInfoList end |
Instance Method Details
#deserialize(params) ⇒ Object
23908 23909 23910 23911 23912 23913 23914 23915 23916 23917 23918 23919 23920 |
# File 'lib/v20180228/models.rb', line 23908 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 |