Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQConsumerConnectionDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, details = nil, requestid = nil) ⇒ DescribeRocketMQConsumerConnectionDetailResponse
constructor
A new instance of DescribeRocketMQConsumerConnectionDetailResponse.
Constructor Details
#initialize(totalcount = nil, details = nil, requestid = nil) ⇒ DescribeRocketMQConsumerConnectionDetailResponse
Returns a new instance of DescribeRocketMQConsumerConnectionDetailResponse.
6005 6006 6007 6008 6009 |
# File 'lib/v20200217/models.rb', line 6005 def initialize(totalcount=nil, details=nil, requestid=nil) @TotalCount = totalcount @Details = details @RequestId = requestid end |
Instance Attribute Details
#Details ⇒ Object
6003 6004 6005 |
# File 'lib/v20200217/models.rb', line 6003 def Details @Details end |
#RequestId ⇒ Object
6003 6004 6005 |
# File 'lib/v20200217/models.rb', line 6003 def RequestId @RequestId end |
#TotalCount ⇒ Object
6003 6004 6005 |
# File 'lib/v20200217/models.rb', line 6003 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 |
# File 'lib/v20200217/models.rb', line 6011 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Details'].nil? @Details = [] params['Details'].each do |i| rocketmqconsumertopic_tmp = RocketMQConsumerTopic.new rocketmqconsumertopic_tmp.deserialize(i) @Details << rocketmqconsumertopic_tmp end end @RequestId = params['RequestId'] end |