Class: TencentCloud::Tdmq::V20200217::RocketMQTopicConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::RocketMQTopicConfig
- Defined in:
- lib/v20200217/models.rb
Overview
RocketMQ主题配置信息
Instance Attribute Summary collapse
-
#Namespace ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息.
-
#Partitions ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息.
-
#Remark ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息.
-
#TopicName ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息.
-
#Type ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespace = nil, topicname = nil, type = nil, partitions = nil, remark = nil) ⇒ RocketMQTopicConfig
constructor
A new instance of RocketMQTopicConfig.
Constructor Details
#initialize(namespace = nil, topicname = nil, type = nil, partitions = nil, remark = nil) ⇒ RocketMQTopicConfig
Returns a new instance of RocketMQTopicConfig.
12333 12334 12335 12336 12337 12338 12339 |
# File 'lib/v20200217/models.rb', line 12333 def initialize(namespace=nil, topicname=nil, type=nil, partitions=nil, remark=nil) @Namespace = namespace @TopicName = topicname @Type = type @Partitions = partitions @Remark = remark end |
Instance Attribute Details
#Namespace ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息
12331 12332 12333 |
# File 'lib/v20200217/models.rb', line 12331 def Namespace @Namespace end |
#Partitions ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息
12331 12332 12333 |
# File 'lib/v20200217/models.rb', line 12331 def Partitions @Partitions end |
#Remark ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息
12331 12332 12333 |
# File 'lib/v20200217/models.rb', line 12331 def Remark @Remark end |
#TopicName ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息
12331 12332 12333 |
# File 'lib/v20200217/models.rb', line 12331 def TopicName @TopicName end |
#Type ⇒ Object
Normal,普通 PartitionedOrder, 分区顺序 Transaction,事务消息 DelayScheduled,延迟/定时消息
12331 12332 12333 |
# File 'lib/v20200217/models.rb', line 12331 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
12341 12342 12343 12344 12345 12346 12347 |
# File 'lib/v20200217/models.rb', line 12341 def deserialize(params) @Namespace = params['Namespace'] @TopicName = params['TopicName'] @Type = params['Type'] @Partitions = params['Partitions'] @Remark = params['Remark'] end |