Class: TencentCloud::Tdmq::V20200217::RocketMQClusterRecentStats
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::RocketMQClusterRecentStats
- Defined in:
- lib/v20200217/models.rb
Overview
RocketMQ近期使用量
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicnum = nil, producedmsgnum = nil, consumedmsgnum = nil, accumulativemsgnum = nil) ⇒ RocketMQClusterRecentStats
constructor
A new instance of RocketMQClusterRecentStats.
Constructor Details
#initialize(topicnum = nil, producedmsgnum = nil, consumedmsgnum = nil, accumulativemsgnum = nil) ⇒ RocketMQClusterRecentStats
Returns a new instance of RocketMQClusterRecentStats.
11582 11583 11584 11585 11586 11587 |
# File 'lib/v20200217/models.rb', line 11582 def initialize(topicnum=nil, producedmsgnum=nil, consumedmsgnum=nil, accumulativemsgnum=nil) @TopicNum = topicnum @ProducedMsgNum = producedmsgnum @ConsumedMsgNum = consumedmsgnum @AccumulativeMsgNum = accumulativemsgnum end |
Instance Attribute Details
#AccumulativeMsgNum ⇒ Object
11580 11581 11582 |
# File 'lib/v20200217/models.rb', line 11580 def AccumulativeMsgNum @AccumulativeMsgNum end |
#ConsumedMsgNum ⇒ Object
11580 11581 11582 |
# File 'lib/v20200217/models.rb', line 11580 def ConsumedMsgNum @ConsumedMsgNum end |
#ProducedMsgNum ⇒ Object
11580 11581 11582 |
# File 'lib/v20200217/models.rb', line 11580 def ProducedMsgNum @ProducedMsgNum end |
#TopicNum ⇒ Object
11580 11581 11582 |
# File 'lib/v20200217/models.rb', line 11580 def TopicNum @TopicNum end |
Instance Method Details
#deserialize(params) ⇒ Object
11589 11590 11591 11592 11593 11594 |
# File 'lib/v20200217/models.rb', line 11589 def deserialize(params) @TopicNum = params['TopicNum'] @ProducedMsgNum = params['ProducedMsgNum'] @ConsumedMsgNum = params['ConsumedMsgNum'] @AccumulativeMsgNum = params['AccumulativeMsgNum'] end |