Class: TencentCloud::Cws::V20180312::DescribeVulsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeVulsResponse
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeVuls返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, vuls = nil, requestid = nil) ⇒ DescribeVulsResponse
constructor
A new instance of DescribeVulsResponse.
Constructor Details
#initialize(totalcount = nil, vuls = nil, requestid = nil) ⇒ DescribeVulsResponse
Returns a new instance of DescribeVulsResponse.
737 738 739 740 741 |
# File 'lib/v20180312/models.rb', line 737 def initialize(totalcount=nil, vuls=nil, requestid=nil) @TotalCount = totalcount @Vuls = vuls @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
735 736 737 |
# File 'lib/v20180312/models.rb', line 735 def RequestId @RequestId end |
#TotalCount ⇒ Object
735 736 737 |
# File 'lib/v20180312/models.rb', line 735 def TotalCount @TotalCount end |
#Vuls ⇒ Object
735 736 737 |
# File 'lib/v20180312/models.rb', line 735 def Vuls @Vuls end |
Instance Method Details
#deserialize(params) ⇒ Object
743 744 745 746 747 748 749 750 751 752 753 754 |
# File 'lib/v20180312/models.rb', line 743 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Vuls'].nil? @Vuls = [] params['Vuls'].each do |i| vul_tmp = Vul.new vul_tmp.deserialize(i) @Vuls << vul_tmp end end @RequestId = params['RequestId'] end |