Class: TencentCloud::Dayu::V20180709::DescribeDDoSAttackSourceResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeDDoSAttackSourceResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeDDoSAttackSource返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, attacksourcelist = nil, requestid = nil) ⇒ DescribeDDoSAttackSourceResponse
constructor
A new instance of DescribeDDoSAttackSourceResponse.
Constructor Details
#initialize(total = nil, attacksourcelist = nil, requestid = nil) ⇒ DescribeDDoSAttackSourceResponse
Returns a new instance of DescribeDDoSAttackSourceResponse.
3453 3454 3455 3456 3457 |
# File 'lib/v20180709/models.rb', line 3453 def initialize(total=nil, attacksourcelist=nil, requestid=nil) @Total = total @AttackSourceList = attacksourcelist @RequestId = requestid end |
Instance Attribute Details
#AttackSourceList ⇒ Object
3451 3452 3453 |
# File 'lib/v20180709/models.rb', line 3451 def AttackSourceList @AttackSourceList end |
#RequestId ⇒ Object
3451 3452 3453 |
# File 'lib/v20180709/models.rb', line 3451 def RequestId @RequestId end |
#Total ⇒ Object
3451 3452 3453 |
# File 'lib/v20180709/models.rb', line 3451 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'lib/v20180709/models.rb', line 3459 def deserialize(params) @Total = params['Total'] unless params['AttackSourceList'].nil? @AttackSourceList = [] params['AttackSourceList'].each do |i| ddosattacksourcerecord_tmp = DDoSAttackSourceRecord.new ddosattacksourcerecord_tmp.deserialize(i) @AttackSourceList << ddosattacksourcerecord_tmp end end @RequestId = params['RequestId'] end |