Class: TencentCloud::Cwp::V20180228::DescribeVulDefenceEventResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeVulDefenceEventResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeVulDefenceEvent返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeVulDefenceEventResponse
constructor
A new instance of DescribeVulDefenceEventResponse.
Constructor Details
#initialize(totalcount = nil, list = nil, requestid = nil) ⇒ DescribeVulDefenceEventResponse
Returns a new instance of DescribeVulDefenceEventResponse.
22918 22919 22920 22921 22922 |
# File 'lib/v20180228/models.rb', line 22918 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
22916 22917 22918 |
# File 'lib/v20180228/models.rb', line 22916 def List @List end |
#RequestId ⇒ Object
22916 22917 22918 |
# File 'lib/v20180228/models.rb', line 22916 def RequestId @RequestId end |
#TotalCount ⇒ Object
22916 22917 22918 |
# File 'lib/v20180228/models.rb', line 22916 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 |
# File 'lib/v20180228/models.rb', line 22924 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| vuldefenceevent_tmp = VulDefenceEvent.new vuldefenceevent_tmp.deserialize(i) @List << vuldefenceevent_tmp end end @RequestId = params['RequestId'] end |