Class: TencentCloud::Csip::V20221121::DescribeTopAttackInfoResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Csip::V20221121::DescribeTopAttackInfoResponse
- Defined in:
- lib/v20221121/models.rb
Overview
DescribeTopAttackInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topattackinfo = nil, requestid = nil) ⇒ DescribeTopAttackInfoResponse
constructor
A new instance of DescribeTopAttackInfoResponse.
Constructor Details
#initialize(topattackinfo = nil, requestid = nil) ⇒ DescribeTopAttackInfoResponse
Returns a new instance of DescribeTopAttackInfoResponse.
5577 5578 5579 5580 |
# File 'lib/v20221121/models.rb', line 5577 def initialize(topattackinfo=nil, requestid=nil) @TopAttackInfo = topattackinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5575 5576 5577 |
# File 'lib/v20221121/models.rb', line 5575 def RequestId @RequestId end |
#TopAttackInfo ⇒ Object
5575 5576 5577 |
# File 'lib/v20221121/models.rb', line 5575 def TopAttackInfo @TopAttackInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 |
# File 'lib/v20221121/models.rb', line 5582 def deserialize(params) unless params['TopAttackInfo'].nil? @TopAttackInfo = [] params['TopAttackInfo'].each do |i| tagcount_tmp = TagCount.new tagcount_tmp.deserialize(i) @TopAttackInfo << tagcount_tmp end end @RequestId = params['RequestId'] end |