Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumeStatsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumeStatsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQConsumeStats返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(consumerstatslist = nil, requestid = nil) ⇒ DescribeRocketMQConsumeStatsResponse
constructor
A new instance of DescribeRocketMQConsumeStatsResponse.
Constructor Details
#initialize(consumerstatslist = nil, requestid = nil) ⇒ DescribeRocketMQConsumeStatsResponse
Returns a new instance of DescribeRocketMQConsumeStatsResponse.
5936 5937 5938 5939 |
# File 'lib/v20200217/models.rb', line 5936 def initialize(consumerstatslist=nil, requestid=nil) @ConsumerStatsList = consumerstatslist @RequestId = requestid end |
Instance Attribute Details
#ConsumerStatsList ⇒ Object
5934 5935 5936 |
# File 'lib/v20200217/models.rb', line 5934 def ConsumerStatsList @ConsumerStatsList end |
#RequestId ⇒ Object
5934 5935 5936 |
# File 'lib/v20200217/models.rb', line 5934 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 |
# File 'lib/v20200217/models.rb', line 5941 def deserialize(params) unless params['ConsumerStatsList'].nil? @ConsumerStatsList = [] params['ConsumerStatsList'].each do |i| consumerstats_tmp = ConsumerStats.new consumerstats_tmp.deserialize(i) @ConsumerStatsList << consumerstats_tmp end end @RequestId = params['RequestId'] end |