Class: TencentCloud::Iotcloud::V20210408::TopicRuleInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::TopicRuleInfo
- Defined in:
- lib/v20210408/models.rb
Overview
规则详细信息
Instance Attribute Summary collapse
- #CreatedAt ⇒ Object
- #Description ⇒ Object
- #RuleDisabled ⇒ Object
- #RuleName ⇒ Object
- #TopicPattern ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulename = nil, description = nil, createdat = nil, ruledisabled = nil, topicpattern = nil) ⇒ TopicRuleInfo
constructor
A new instance of TopicRuleInfo.
Constructor Details
#initialize(rulename = nil, description = nil, createdat = nil, ruledisabled = nil, topicpattern = nil) ⇒ TopicRuleInfo
Returns a new instance of TopicRuleInfo.
4225 4226 4227 4228 4229 4230 4231 |
# File 'lib/v20210408/models.rb', line 4225 def initialize(rulename=nil, description=nil, createdat=nil, ruledisabled=nil, topicpattern=nil) @RuleName = rulename @Description = description @CreatedAt = createdat @RuleDisabled = ruledisabled @TopicPattern = topicpattern end |
Instance Attribute Details
#CreatedAt ⇒ Object
4223 4224 4225 |
# File 'lib/v20210408/models.rb', line 4223 def CreatedAt @CreatedAt end |
#Description ⇒ Object
4223 4224 4225 |
# File 'lib/v20210408/models.rb', line 4223 def Description @Description end |
#RuleDisabled ⇒ Object
4223 4224 4225 |
# File 'lib/v20210408/models.rb', line 4223 def RuleDisabled @RuleDisabled end |
#RuleName ⇒ Object
4223 4224 4225 |
# File 'lib/v20210408/models.rb', line 4223 def RuleName @RuleName end |
#TopicPattern ⇒ Object
4223 4224 4225 |
# File 'lib/v20210408/models.rb', line 4223 def TopicPattern @TopicPattern end |
Instance Method Details
#deserialize(params) ⇒ Object
4233 4234 4235 4236 4237 4238 4239 |
# File 'lib/v20210408/models.rb', line 4233 def deserialize(params) @RuleName = params['RuleName'] @Description = params['Description'] @CreatedAt = params['CreatedAt'] @RuleDisabled = params['RuleDisabled'] @TopicPattern = params['TopicPattern'] end |