Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQSourceClusterGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groups = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterGroupListResponse
constructor
A new instance of DescribeRocketMQSourceClusterGroupListResponse.
Constructor Details
#initialize(groups = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterGroupListResponse
Returns a new instance of DescribeRocketMQSourceClusterGroupListResponse.
7052 7053 7054 7055 7056 |
# File 'lib/v20200217/models.rb', line 7052 def initialize(groups=nil, totalcount=nil, requestid=nil) @Groups = groups @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
7050 7051 7052 |
# File 'lib/v20200217/models.rb', line 7050 def Groups @Groups end |
#RequestId ⇒ Object
7050 7051 7052 |
# File 'lib/v20200217/models.rb', line 7050 def RequestId @RequestId end |
#TotalCount ⇒ Object
7050 7051 7052 |
# File 'lib/v20200217/models.rb', line 7050 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 |
# File 'lib/v20200217/models.rb', line 7058 def deserialize(params) unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| rocketmqgroupconfigoutput_tmp = RocketMQGroupConfigOutput.new rocketmqgroupconfigoutput_tmp.deserialize(i) @Groups << rocketmqgroupconfigoutput_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |