Class: TencentCloud::Cwp::V20180228::DescribeAttackEventsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeAttackEventsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAttackEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeAttackEventsResponse
constructor
A new instance of DescribeAttackEventsResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeAttackEventsResponse
Returns a new instance of DescribeAttackEventsResponse.
11192 11193 11194 11195 11196 |
# File 'lib/v20180228/models.rb', line 11192 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
11190 11191 11192 |
# File 'lib/v20180228/models.rb', line 11190 def List @List end |
#RequestId ⇒ Object
11190 11191 11192 |
# File 'lib/v20180228/models.rb', line 11190 def RequestId @RequestId end |
#TotalCount ⇒ Object
11190 11191 11192 |
# File 'lib/v20180228/models.rb', line 11190 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 |
# File 'lib/v20180228/models.rb', line 11198 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| netattackevent_tmp = NetAttackEvent.new netattackevent_tmp.deserialize(i) @List << netattackevent_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |