Class: TencentCloud::Monitor::V20180724::DescribeAlertRulesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAlertRulesRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAlertRules请求参数结构体
Instance Attribute Summary collapse
-
#InstanceId ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#Limit ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#Offset ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#RuleId ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#RuleName ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#RuleState ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
. -
#Type ⇒ Object
- 2=RuleEnabled
- 3=RuleDisabled
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, limit = nil, offset = nil, ruleid = nil, rulestate = nil, rulename = nil, type = nil) ⇒ DescribeAlertRulesRequest
constructor
A new instance of DescribeAlertRulesRequest.
Constructor Details
#initialize(instanceid = nil, limit = nil, offset = nil, ruleid = nil, rulestate = nil, rulename = nil, type = nil) ⇒ DescribeAlertRulesRequest
Returns a new instance of DescribeAlertRulesRequest.
4948 4949 4950 4951 4952 4953 4954 4955 4956 |
# File 'lib/v20180724/models.rb', line 4948 def initialize(instanceid=nil, limit=nil, offset=nil, ruleid=nil, rulestate=nil, rulename=nil, type=nil) @InstanceId = instanceid @Limit = limit @Offset = offset @RuleId = ruleid @RuleState = rulestate @RuleName = rulename @Type = type end |
Instance Attribute Details
#InstanceId ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def InstanceId @InstanceId end |
#Limit ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def Limit @Limit end |
#Offset ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def Offset @Offset end |
#RuleId ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def RuleId @RuleId end |
#RuleName ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def RuleName @RuleName end |
#RuleState ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def RuleState @RuleState end |
#Type ⇒ Object
4946 4947 4948 |
# File 'lib/v20180724/models.rb', line 4946 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
4958 4959 4960 4961 4962 4963 4964 4965 4966 |
# File 'lib/v20180724/models.rb', line 4958 def deserialize(params) @InstanceId = params['InstanceId'] @Limit = params['Limit'] @Offset = params['Offset'] @RuleId = params['RuleId'] @RuleState = params['RuleState'] @RuleName = params['RuleName'] @Type = params['Type'] end |