Class: TencentCloud::Iotexplorer::V20190423::TopicRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TopicRule
- Defined in:
- lib/v20190423/models.rb
Overview
TopicRule结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulename = nil, sql = nil, description = nil, actions = nil, ruledisabled = nil) ⇒ TopicRule
constructor
A new instance of TopicRule.
Constructor Details
#initialize(rulename = nil, sql = nil, description = nil, actions = nil, ruledisabled = nil) ⇒ TopicRule
Returns a new instance of TopicRule.
13950 13951 13952 13953 13954 13955 13956 |
# File 'lib/v20190423/models.rb', line 13950 def initialize(rulename=nil, sql=nil, description=nil, actions=nil, ruledisabled=nil) @RuleName = rulename @Sql = sql @Description = description @Actions = actions @RuleDisabled = ruledisabled end |
Instance Attribute Details
#Actions ⇒ Object
13948 13949 13950 |
# File 'lib/v20190423/models.rb', line 13948 def Actions @Actions end |
#Description ⇒ Object
13948 13949 13950 |
# File 'lib/v20190423/models.rb', line 13948 def Description @Description end |
#RuleDisabled ⇒ Object
13948 13949 13950 |
# File 'lib/v20190423/models.rb', line 13948 def RuleDisabled @RuleDisabled end |
#RuleName ⇒ Object
13948 13949 13950 |
# File 'lib/v20190423/models.rb', line 13948 def RuleName @RuleName end |
#Sql ⇒ Object
13948 13949 13950 |
# File 'lib/v20190423/models.rb', line 13948 def Sql @Sql end |
Instance Method Details
#deserialize(params) ⇒ Object
13958 13959 13960 13961 13962 13963 13964 |
# File 'lib/v20190423/models.rb', line 13958 def deserialize(params) @RuleName = params['RuleName'] @Sql = params['Sql'] @Description = params['Description'] @Actions = params['Actions'] @RuleDisabled = params['RuleDisabled'] end |