Class: TencentCloud::Dts::V20211206::DescribeConsumerGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::DescribeConsumerGroupsResponse
- Defined in:
- lib/v20211206/models.rb
Overview
DescribeConsumerGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeConsumerGroupsResponse
constructor
A new instance of DescribeConsumerGroupsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeConsumerGroupsResponse
Returns a new instance of DescribeConsumerGroupsResponse.
2322 2323 2324 2325 2326 |
# File 'lib/v20211206/models.rb', line 2322 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
2320 2321 2322 |
# File 'lib/v20211206/models.rb', line 2320 def Items @Items end |
#RequestId ⇒ Object
2320 2321 2322 |
# File 'lib/v20211206/models.rb', line 2320 def RequestId @RequestId end |
#TotalCount ⇒ Object
2320 2321 2322 |
# File 'lib/v20211206/models.rb', line 2320 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 |
# File 'lib/v20211206/models.rb', line 2328 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @Items << groupinfo_tmp end end @RequestId = params['RequestId'] end |