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.
11171 11172 11173 11174 11175 |
# File 'lib/v20180228/models.rb', line 11171 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
11169 11170 11171 |
# File 'lib/v20180228/models.rb', line 11169 def List @List end |
#RequestId ⇒ Object
11169 11170 11171 |
# File 'lib/v20180228/models.rb', line 11169 def RequestId @RequestId end |
#TotalCount ⇒ Object
11169 11170 11171 |
# File 'lib/v20180228/models.rb', line 11169 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 |
# File 'lib/v20180228/models.rb', line 11177 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 |