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.
13920 13921 13922 13923 13924 13925 13926 |
# File 'lib/v20190423/models.rb', line 13920 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
13918 13919 13920 |
# File 'lib/v20190423/models.rb', line 13918 def Actions @Actions end |
#Description ⇒ Object
13918 13919 13920 |
# File 'lib/v20190423/models.rb', line 13918 def Description @Description end |
#RuleDisabled ⇒ Object
13918 13919 13920 |
# File 'lib/v20190423/models.rb', line 13918 def RuleDisabled @RuleDisabled end |
#RuleName ⇒ Object
13918 13919 13920 |
# File 'lib/v20190423/models.rb', line 13918 def RuleName @RuleName end |
#Sql ⇒ Object
13918 13919 13920 |
# File 'lib/v20190423/models.rb', line 13918 def Sql @Sql end |
Instance Method Details
#deserialize(params) ⇒ Object
13928 13929 13930 13931 13932 13933 13934 |
# File 'lib/v20190423/models.rb', line 13928 def deserialize(params) @RuleName = params['RuleName'] @Sql = params['Sql'] @Description = params['Description'] @Actions = params['Actions'] @RuleDisabled = params['RuleDisabled'] end |