Class: TencentCloud::Ckafka::V20190819::TopicDetailResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TopicDetailResponse
- Defined in:
- lib/v20190819/models.rb
Overview
主题详情返回实体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topiclist = nil, totalcount = nil) ⇒ TopicDetailResponse
constructor
A new instance of TopicDetailResponse.
Constructor Details
#initialize(topiclist = nil, totalcount = nil) ⇒ TopicDetailResponse
Returns a new instance of TopicDetailResponse.
11799 11800 11801 11802 |
# File 'lib/v20190819/models.rb', line 11799 def initialize(topiclist=nil, totalcount=nil) @TopicList = topiclist @TotalCount = totalcount end |
Instance Attribute Details
#TopicList ⇒ Object
11797 11798 11799 |
# File 'lib/v20190819/models.rb', line 11797 def TopicList @TopicList end |
#TotalCount ⇒ Object
11797 11798 11799 |
# File 'lib/v20190819/models.rb', line 11797 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 |
# File 'lib/v20190819/models.rb', line 11804 def deserialize(params) unless params['TopicList'].nil? @TopicList = [] params['TopicList'].each do |i| topicdetail_tmp = TopicDetail.new topicdetail_tmp.deserialize(i) @TopicList << topicdetail_tmp end end @TotalCount = params['TotalCount'] end |