Class: TencentCloud::Dayu::V20180709::DDoSAttackSourceRecord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DDoSAttackSourceRecord
- Defined in:
- lib/v20180709/models.rb
Overview
攻击源信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(srcip = nil, province = nil, nation = nil, packetsum = nil, packetlen = nil) ⇒ DDoSAttackSourceRecord
constructor
A new instance of DDoSAttackSourceRecord.
Constructor Details
#initialize(srcip = nil, province = nil, nation = nil, packetsum = nil, packetlen = nil) ⇒ DDoSAttackSourceRecord
Returns a new instance of DDoSAttackSourceRecord.
1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/v20180709/models.rb', line 1539 def initialize(srcip=nil, province=nil, nation=nil, packetsum=nil, packetlen=nil) @SrcIp = srcip @Province = province @Nation = nation @PacketSum = packetsum @PacketLen = packetlen end |
Instance Attribute Details
#Nation ⇒ Object
1537 1538 1539 |
# File 'lib/v20180709/models.rb', line 1537 def Nation @Nation end |
#PacketLen ⇒ Object
1537 1538 1539 |
# File 'lib/v20180709/models.rb', line 1537 def PacketLen @PacketLen end |
#PacketSum ⇒ Object
1537 1538 1539 |
# File 'lib/v20180709/models.rb', line 1537 def PacketSum @PacketSum end |
#Province ⇒ Object
1537 1538 1539 |
# File 'lib/v20180709/models.rb', line 1537 def Province @Province end |
#SrcIp ⇒ Object
1537 1538 1539 |
# File 'lib/v20180709/models.rb', line 1537 def SrcIp @SrcIp end |
Instance Method Details
#deserialize(params) ⇒ Object
1547 1548 1549 1550 1551 1552 1553 |
# File 'lib/v20180709/models.rb', line 1547 def deserialize(params) @SrcIp = params['SrcIp'] @Province = params['Province'] @Nation = params['Nation'] @PacketSum = params['PacketSum'] @PacketLen = params['PacketLen'] end |