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.
23307 23308 23309 23310 23311 |
# File 'lib/v20180228/models.rb', line 23307 def initialize(totalcount=nil, list=nil, requestid=nil) @TotalCount = totalcount @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
23305 23306 23307 |
# File 'lib/v20180228/models.rb', line 23305 def List @List end |
#RequestId ⇒ Object
23305 23306 23307 |
# File 'lib/v20180228/models.rb', line 23305 def RequestId @RequestId end |
#TotalCount ⇒ Object
23305 23306 23307 |
# File 'lib/v20180228/models.rb', line 23305 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 |
# File 'lib/v20180228/models.rb', line 23313 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 |