Class: TencentCloud::Dayu::V20180709::DDoSAlarmThreshold
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DDoSAlarmThreshold
- Defined in:
- lib/v20180709/models.rb
Overview
DDoS告警阈值
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmtype = nil, alarmthreshold = nil) ⇒ DDoSAlarmThreshold
constructor
A new instance of DDoSAlarmThreshold.
Constructor Details
#initialize(alarmtype = nil, alarmthreshold = nil) ⇒ DDoSAlarmThreshold
Returns a new instance of DDoSAlarmThreshold.
1513 1514 1515 1516 |
# File 'lib/v20180709/models.rb', line 1513 def initialize(alarmtype=nil, alarmthreshold=nil) @AlarmType = alarmtype @AlarmThreshold = alarmthreshold end |
Instance Attribute Details
#AlarmThreshold ⇒ Object
1511 1512 1513 |
# File 'lib/v20180709/models.rb', line 1511 def AlarmThreshold @AlarmThreshold end |
#AlarmType ⇒ Object
1511 1512 1513 |
# File 'lib/v20180709/models.rb', line 1511 def AlarmType @AlarmType end |
Instance Method Details
#deserialize(params) ⇒ Object
1518 1519 1520 1521 |
# File 'lib/v20180709/models.rb', line 1518 def deserialize(params) @AlarmType = params['AlarmType'] @AlarmThreshold = params['AlarmThreshold'] end |