Class: TencentCloud::Dayu::V20180709::CreateBasicDDoSAlarmThresholdRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::CreateBasicDDoSAlarmThresholdRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateBasicDDoSAlarmThreshold请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, method = nil, alarmtype = nil, alarmthreshold = nil) ⇒ CreateBasicDDoSAlarmThresholdRequest
constructor
A new instance of CreateBasicDDoSAlarmThresholdRequest.
Constructor Details
#initialize(business = nil, method = nil, alarmtype = nil, alarmthreshold = nil) ⇒ CreateBasicDDoSAlarmThresholdRequest
Returns a new instance of CreateBasicDDoSAlarmThresholdRequest.
343 344 345 346 347 348 |
# File 'lib/v20180709/models.rb', line 343 def initialize(business=nil, method=nil, alarmtype=nil, alarmthreshold=nil) @Business = business @Method = method @AlarmType = alarmtype @AlarmThreshold = alarmthreshold end |
Instance Attribute Details
#AlarmThreshold ⇒ Object
341 342 343 |
# File 'lib/v20180709/models.rb', line 341 def AlarmThreshold @AlarmThreshold end |
#AlarmType ⇒ Object
341 342 343 |
# File 'lib/v20180709/models.rb', line 341 def AlarmType @AlarmType end |
#Business ⇒ Object
341 342 343 |
# File 'lib/v20180709/models.rb', line 341 def Business @Business end |
#Method ⇒ Object
341 342 343 |
# File 'lib/v20180709/models.rb', line 341 def Method @Method end |
Instance Method Details
#deserialize(params) ⇒ Object
350 351 352 353 354 355 |
# File 'lib/v20180709/models.rb', line 350 def deserialize(params) @Business = params['Business'] @Method = params['Method'] @AlarmType = params['AlarmType'] @AlarmThreshold = params['AlarmThreshold'] end |