Class: TencentCloud::Trocket::V20230308::TopicConsumeStats
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::TopicConsumeStats
- Defined in:
- lib/v20230308/models.rb
Overview
主题消费进度
Instance Attribute Summary collapse
-
#ConsumerLag ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
-
#LastUpdateTime ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
-
#QueueNum ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
-
#SubString ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
-
#Topic ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
-
#TopicType ⇒ Object
- UNSPECIFIED:未指定 - NORMAL:普通消息 - FIFO:顺序消息 - DELAY:延时消息 - TRANSACTION:事务消息.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topic = nil, topictype = nil, queuenum = nil, consumerlag = nil, substring = nil, lastupdatetime = nil) ⇒ TopicConsumeStats
constructor
A new instance of TopicConsumeStats.
Constructor Details
#initialize(topic = nil, topictype = nil, queuenum = nil, consumerlag = nil, substring = nil, lastupdatetime = nil) ⇒ TopicConsumeStats
Returns a new instance of TopicConsumeStats.
6321 6322 6323 6324 6325 6326 6327 6328 |
# File 'lib/v20230308/models.rb', line 6321 def initialize(topic=nil, topictype=nil, queuenum=nil, consumerlag=nil, substring=nil, lastupdatetime=nil) @Topic = topic @TopicType = topictype @QueueNum = queuenum @ConsumerLag = consumerlag @SubString = substring @LastUpdateTime = lastupdatetime end |
Instance Attribute Details
#ConsumerLag ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def ConsumerLag @ConsumerLag end |
#LastUpdateTime ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def LastUpdateTime @LastUpdateTime end |
#QueueNum ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def QueueNum @QueueNum end |
#SubString ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def SubString @SubString end |
#Topic ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def Topic @Topic end |
#TopicType ⇒ Object
- UNSPECIFIED:未指定
- NORMAL:普通消息
- FIFO:顺序消息
- DELAY:延时消息
- TRANSACTION:事务消息
6319 6320 6321 |
# File 'lib/v20230308/models.rb', line 6319 def TopicType @TopicType end |
Instance Method Details
#deserialize(params) ⇒ Object
6330 6331 6332 6333 6334 6335 6336 6337 |
# File 'lib/v20230308/models.rb', line 6330 def deserialize(params) @Topic = params['Topic'] @TopicType = params['TopicType'] @QueueNum = params['QueueNum'] @ConsumerLag = params['ConsumerLag'] @SubString = params['SubString'] @LastUpdateTime = params['LastUpdateTime'] end |