Class: TencentCloud::Tdmq::V20200217::RocketMQConsumerTopic
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::RocketMQConsumerTopic
- Defined in:
- lib/v20200217/models.rb
Overview
消费者详情中的主题信息
Instance Attribute Summary collapse
-
#Accumulative ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LastConsumptionTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PartitionNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Topic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topic = nil, type = nil, partitionnum = nil, accumulative = nil, lastconsumptiontime = nil, subrule = nil) ⇒ RocketMQConsumerTopic
constructor
A new instance of RocketMQConsumerTopic.
Constructor Details
#initialize(topic = nil, type = nil, partitionnum = nil, accumulative = nil, lastconsumptiontime = nil, subrule = nil) ⇒ RocketMQConsumerTopic
Returns a new instance of RocketMQConsumerTopic.
11647 11648 11649 11650 11651 11652 11653 11654 |
# File 'lib/v20200217/models.rb', line 11647 def initialize(topic=nil, type=nil, partitionnum=nil, accumulative=nil, lastconsumptiontime=nil, subrule=nil) @Topic = topic @Type = type @PartitionNum = partitionnum @Accumulative = accumulative @LastConsumptionTime = lastconsumptiontime @SubRule = subrule end |
Instance Attribute Details
#Accumulative ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def Accumulative @Accumulative end |
#LastConsumptionTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def LastConsumptionTime @LastConsumptionTime end |
#PartitionNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def PartitionNum @PartitionNum end |
#SubRule ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def SubRule @SubRule end |
#Topic ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def Topic @Topic end |
#Type ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11645 11646 11647 |
# File 'lib/v20200217/models.rb', line 11645 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
11656 11657 11658 11659 11660 11661 11662 11663 |
# File 'lib/v20200217/models.rb', line 11656 def deserialize(params) @Topic = params['Topic'] @Type = params['Type'] @PartitionNum = params['PartitionNum'] @Accumulative = params['Accumulative'] @LastConsumptionTime = params['LastConsumptionTime'] @SubRule = params['SubRule'] end |