Class: TencentCloud::Waf::V20180125::DescribeTopAttackDomainResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeTopAttackDomainResponse
- Defined in:
- lib/v20180125/models.rb
Overview
DescribeTopAttackDomain返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cc = nil, web = nil, requestid = nil) ⇒ DescribeTopAttackDomainResponse
constructor
A new instance of DescribeTopAttackDomainResponse.
Constructor Details
#initialize(cc = nil, web = nil, requestid = nil) ⇒ DescribeTopAttackDomainResponse
Returns a new instance of DescribeTopAttackDomainResponse.
9487 9488 9489 9490 9491 |
# File 'lib/v20180125/models.rb', line 9487 def initialize(cc=nil, web=nil, requestid=nil) @CC = cc @Web = web @RequestId = requestid end |
Instance Attribute Details
#CC ⇒ Object
9485 9486 9487 |
# File 'lib/v20180125/models.rb', line 9485 def CC @CC end |
#RequestId ⇒ Object
9485 9486 9487 |
# File 'lib/v20180125/models.rb', line 9485 def RequestId @RequestId end |
#Web ⇒ Object
9485 9486 9487 |
# File 'lib/v20180125/models.rb', line 9485 def Web @Web end |
Instance Method Details
#deserialize(params) ⇒ Object
9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 |
# File 'lib/v20180125/models.rb', line 9493 def deserialize(params) unless params['CC'].nil? @CC = [] params['CC'].each do |i| kvint_tmp = KVInt.new kvint_tmp.deserialize(i) @CC << kvint_tmp end end unless params['Web'].nil? @Web = [] params['Web'].each do |i| kvint_tmp = KVInt.new kvint_tmp.deserialize(i) @Web << kvint_tmp end end @RequestId = params['RequestId'] end |