Class: TencentCloud::Tdmq::V20200217::RocketMQTopicDistribution

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

RocketMQtopic分布情况

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topictype = nil, count = nil) ⇒ RocketMQTopicDistribution

Returns a new instance of RocketMQTopicDistribution.



12406
12407
12408
12409
# File 'lib/v20200217/models.rb', line 12406

def initialize(topictype=nil, count=nil)
  @TopicType = topictype
  @Count = count
end

Instance Attribute Details

#CountObject

Parameters:

  • TopicType:

    topic类型

  • Count:

    topic数量



12404
12405
12406
# File 'lib/v20200217/models.rb', line 12404

def Count
  @Count
end

#TopicTypeObject

Parameters:

  • TopicType:

    topic类型

  • Count:

    topic数量



12404
12405
12406
# File 'lib/v20200217/models.rb', line 12404

def TopicType
  @TopicType
end

Instance Method Details

#deserialize(params) ⇒ Object



12411
12412
12413
12414
# File 'lib/v20200217/models.rb', line 12411

def deserialize(params)
  @TopicType = params['TopicType']
  @Count = params['Count']
end