Class: TencentCloud::Cls::V20201016::DescribeTopicsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeTopicsResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeTopics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topics = nil, totalcount = nil, requestid = nil) ⇒ DescribeTopicsResponse
constructor
A new instance of DescribeTopicsResponse.
Constructor Details
#initialize(topics = nil, totalcount = nil, requestid = nil) ⇒ DescribeTopicsResponse
Returns a new instance of DescribeTopicsResponse.
10240 10241 10242 10243 10244 |
# File 'lib/v20201016/models.rb', line 10240 def initialize(topics=nil, totalcount=nil, requestid=nil) @Topics = topics @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10238 10239 10240 |
# File 'lib/v20201016/models.rb', line 10238 def RequestId @RequestId end |
#Topics ⇒ Object
10238 10239 10240 |
# File 'lib/v20201016/models.rb', line 10238 def Topics @Topics end |
#TotalCount ⇒ Object
10238 10239 10240 |
# File 'lib/v20201016/models.rb', line 10238 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 |
# File 'lib/v20201016/models.rb', line 10246 def deserialize(params) unless params['Topics'].nil? @Topics = [] params['Topics'].each do |i| topicinfo_tmp = TopicInfo.new topicinfo_tmp.deserialize(i) @Topics << topicinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |