Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicStatsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicStatsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQTopicStats返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicstatslist = nil, requestid = nil) ⇒ DescribeRocketMQTopicStatsResponse
constructor
A new instance of DescribeRocketMQTopicStatsResponse.
Constructor Details
#initialize(topicstatslist = nil, requestid = nil) ⇒ DescribeRocketMQTopicStatsResponse
Returns a new instance of DescribeRocketMQTopicStatsResponse.
7344 7345 7346 7347 |
# File 'lib/v20200217/models.rb', line 7344 def initialize(topicstatslist=nil, requestid=nil) @TopicStatsList = topicstatslist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7342 7343 7344 |
# File 'lib/v20200217/models.rb', line 7342 def RequestId @RequestId end |
#TopicStatsList ⇒ Object
7342 7343 7344 |
# File 'lib/v20200217/models.rb', line 7342 def TopicStatsList @TopicStatsList end |
Instance Method Details
#deserialize(params) ⇒ Object
7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'lib/v20200217/models.rb', line 7349 def deserialize(params) unless params['TopicStatsList'].nil? @TopicStatsList = [] params['TopicStatsList'].each do |i| topicstats_tmp = TopicStats.new topicstats_tmp.deserialize(i) @TopicStatsList << topicstats_tmp end end @RequestId = params['RequestId'] end |