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.
8587 8588 8589 8590 |
# File 'lib/v20221121/models.rb', line 8587 def initialize(topattackinfo=nil, requestid=nil) @TopAttackInfo = topattackinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
8585 8586 8587 |
# File 'lib/v20221121/models.rb', line 8585 def RequestId @RequestId end |
#TopAttackInfo ⇒ Object
8585 8586 8587 |
# File 'lib/v20221121/models.rb', line 8585 def TopAttackInfo @TopAttackInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 |
# File 'lib/v20221121/models.rb', line 8592 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 |