Class: TencentCloud::Ckafka::V20190819::DescribeDatahubTopicsResp
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::DescribeDatahubTopicsResp
- Defined in:
- lib/v20190819/models.rb
Overview
Datahub主题列表
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topiclist = nil) ⇒ DescribeDatahubTopicsResp
constructor
A new instance of DescribeDatahubTopicsResp.
Constructor Details
#initialize(totalcount = nil, topiclist = nil) ⇒ DescribeDatahubTopicsResp
Returns a new instance of DescribeDatahubTopicsResp.
5035 5036 5037 5038 |
# File 'lib/v20190819/models.rb', line 5035 def initialize(totalcount=nil, topiclist=nil) @TotalCount = totalcount @TopicList = topiclist end |
Instance Attribute Details
#TopicList ⇒ Object
5033 5034 5035 |
# File 'lib/v20190819/models.rb', line 5033 def TopicList @TopicList end |
#TotalCount ⇒ Object
5033 5034 5035 |
# File 'lib/v20190819/models.rb', line 5033 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 |
# File 'lib/v20190819/models.rb', line 5040 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TopicList'].nil? @TopicList = [] params['TopicList'].each do |i| datahubtopicdto_tmp = DatahubTopicDTO.new datahubtopicdto_tmp.deserialize(i) @TopicList << datahubtopicdto_tmp end end end |