Class: TencentCloud::Ssa::V20180608::VulList
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssa::V20180608::VulList
- Defined in:
- lib/v20180608/models.rb
Overview
漏洞管理漏洞列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, total = nil) ⇒ VulList
constructor
A new instance of VulList.
Constructor Details
#initialize(list = nil, total = nil) ⇒ VulList
Returns a new instance of VulList.
3969 3970 3971 3972 |
# File 'lib/v20180608/models.rb', line 3969 def initialize(list=nil, total=nil) @List = list @Total = total end |
Instance Attribute Details
#List ⇒ Object
3967 3968 3969 |
# File 'lib/v20180608/models.rb', line 3967 def List @List end |
#Total ⇒ Object
3967 3968 3969 |
# File 'lib/v20180608/models.rb', line 3967 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 |
# File 'lib/v20180608/models.rb', line 3974 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| vulitem_tmp = VulItem.new vulitem_tmp.deserialize(i) @List << vulitem_tmp end end @Total = params['Total'] end |