Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQGroupsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeRocketMQGroupsResponse
constructor
A new instance of DescribeRocketMQGroupsResponse.
Constructor Details
#initialize(totalcount = nil, groups = nil, requestid = nil) ⇒ DescribeRocketMQGroupsResponse
Returns a new instance of DescribeRocketMQGroupsResponse.
6241 6242 6243 6244 6245 |
# File 'lib/v20200217/models.rb', line 6241 def initialize(totalcount=nil, groups=nil, requestid=nil) @TotalCount = totalcount @Groups = groups @RequestId = requestid end |
Instance Attribute Details
#Groups ⇒ Object
6239 6240 6241 |
# File 'lib/v20200217/models.rb', line 6239 def Groups @Groups end |
#RequestId ⇒ Object
6239 6240 6241 |
# File 'lib/v20200217/models.rb', line 6239 def RequestId @RequestId end |
#TotalCount ⇒ Object
6239 6240 6241 |
# File 'lib/v20200217/models.rb', line 6239 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 |
# File 'lib/v20200217/models.rb', line 6247 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Groups'].nil? @Groups = [] params['Groups'].each do |i| rocketmqgroup_tmp = RocketMQGroup.new rocketmqgroup_tmp.deserialize(i) @Groups << rocketmqgroup_tmp end end @RequestId = params['RequestId'] end |