Class: TencentCloud::Ckafka::V20190819::GroupOffsetResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::GroupOffsetResponse
- Defined in:
- lib/v20190819/models.rb
Overview
消费组偏移量返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topiclist = nil) ⇒ GroupOffsetResponse
constructor
A new instance of GroupOffsetResponse.
Constructor Details
#initialize(totalcount = nil, topiclist = nil) ⇒ GroupOffsetResponse
Returns a new instance of GroupOffsetResponse.
7429 7430 7431 7432 |
# File 'lib/v20190819/models.rb', line 7429 def initialize(totalcount=nil, topiclist=nil) @TotalCount = totalcount @TopicList = topiclist end |
Instance Attribute Details
#TopicList ⇒ Object
7427 7428 7429 |
# File 'lib/v20190819/models.rb', line 7427 def TopicList @TopicList end |
#TotalCount ⇒ Object
7427 7428 7429 |
# File 'lib/v20190819/models.rb', line 7427 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 |
# File 'lib/v20190819/models.rb', line 7434 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TopicList'].nil? @TopicList = [] params['TopicList'].each do |i| groupoffsettopic_tmp = GroupOffsetTopic.new groupoffsettopic_tmp.deserialize(i) @TopicList << groupoffsettopic_tmp end end end |