Class: TencentCloud::Iotexplorer::V20190423::TopicRulePayload
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TopicRulePayload
- Defined in:
- lib/v20190423/models.rb
Overview
TopicRulePayload结构
Instance Attribute Summary collapse
-
#Actions ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ].
-
#Description ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ].
-
#RuleDisabled ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ].
-
#Sql ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ].
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sql = nil, actions = nil, description = nil, ruledisabled = nil) ⇒ TopicRulePayload
constructor
A new instance of TopicRulePayload.
Constructor Details
#initialize(sql = nil, actions = nil, description = nil, ruledisabled = nil) ⇒ TopicRulePayload
14026 14027 14028 14029 14030 14031 |
# File 'lib/v20190423/models.rb', line 14026 def initialize(sql=nil, actions=nil, description=nil, ruledisabled=nil) @Sql = sql @Actions = actions @Description = description @RuleDisabled = ruledisabled end |
Instance Attribute Details
#Actions ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ]
14024 14025 14026 |
# File 'lib/v20190423/models.rb', line 14024 def Actions @Actions end |
#Description ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ]
14024 14025 14026 |
# File 'lib/v20190423/models.rb', line 14024 def Description @Description end |
#RuleDisabled ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ]
14024 14025 14026 |
# File 'lib/v20190423/models.rb', line 14024 def RuleDisabled @RuleDisabled end |
#Sql ⇒ Object
[ { “republish”: { “topic”: “TEST/test” } }, { “forward”: { “api”: “test.com:8080” } }, { “ckafka”: { “instance”: { “id”: “ckafka-test”, “name”: “” }, “topic”: { “id”: “topic-test”, “name”: “test” }, “region”: “gz” } }, { “cmqqueue”: { “queuename”: “queue-test-TEST”, “region”: “gz” } }, { “mysql”: { “instanceid”: “cdb-test”, “region”: “gz”, “username”: “test”, “userpwd”: “*****”, “dbname”: “d_mqtt”, “tablename”: “t_test”, “fieldpairs”: [ { “field”: “test”, “value”: “test” } ], “devicetype”: “CUSTOM” } } ]
14024 14025 14026 |
# File 'lib/v20190423/models.rb', line 14024 def Sql @Sql end |
Instance Method Details
#deserialize(params) ⇒ Object
14033 14034 14035 14036 14037 14038 |
# File 'lib/v20190423/models.rb', line 14033 def deserialize(params) @Sql = params['Sql'] @Actions = params['Actions'] @Description = params['Description'] @RuleDisabled = params['RuleDisabled'] end |