Class: TencentCloud::Monitor::V20180724::UpdateAlertRuleStateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::UpdateAlertRuleStateRequest
- Defined in:
- lib/v20180724/models.rb
Overview
UpdateAlertRuleState请求参数结构体
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
默认状态码为 2 启用。. -
#RuleIds ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
默认状态码为 2 启用。. -
#RuleState ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
默认状态码为 2 启用。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleids = nil, instanceid = nil, rulestate = nil) ⇒ UpdateAlertRuleStateRequest
constructor
A new instance of UpdateAlertRuleStateRequest.
Constructor Details
#initialize(ruleids = nil, instanceid = nil, rulestate = nil) ⇒ UpdateAlertRuleStateRequest
Returns a new instance of UpdateAlertRuleStateRequest.
15633 15634 15635 15636 15637 |
# File 'lib/v20180724/models.rb', line 15633 def initialize(ruleids=nil, instanceid=nil, rulestate=nil) @RuleIds = ruleids @InstanceId = instanceid @RuleState = rulestate end |
Instance Attribute Details
#InstanceId ⇒ Object
15631 15632 15633 |
# File 'lib/v20180724/models.rb', line 15631 def InstanceId @InstanceId end |
#RuleIds ⇒ Object
15631 15632 15633 |
# File 'lib/v20180724/models.rb', line 15631 def RuleIds @RuleIds end |
#RuleState ⇒ Object
15631 15632 15633 |
# File 'lib/v20180724/models.rb', line 15631 def RuleState @RuleState end |
Instance Method Details
#deserialize(params) ⇒ Object
15639 15640 15641 15642 15643 |
# File 'lib/v20180724/models.rb', line 15639 def deserialize(params) @RuleIds = params['RuleIds'] @InstanceId = params['InstanceId'] @RuleState = params['RuleState'] end |