Class: TencentCloud::Vod::V20180717::DescribeCLSTopicsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeCLSTopicsResponse
- Defined in:
- lib/v20180717/models.rb
Overview
DescribeCLSTopics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topics = nil, requestid = nil) ⇒ DescribeCLSTopicsResponse
constructor
A new instance of DescribeCLSTopicsResponse.
Constructor Details
#initialize(totalcount = nil, topics = nil, requestid = nil) ⇒ DescribeCLSTopicsResponse
Returns a new instance of DescribeCLSTopicsResponse.
10250 10251 10252 10253 10254 |
# File 'lib/v20180717/models.rb', line 10250 def initialize(totalcount=nil, topics=nil, requestid=nil) @TotalCount = totalcount @Topics = topics @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10248 10249 10250 |
# File 'lib/v20180717/models.rb', line 10248 def RequestId @RequestId end |
#Topics ⇒ Object
10248 10249 10250 |
# File 'lib/v20180717/models.rb', line 10248 def Topics @Topics end |
#TotalCount ⇒ Object
10248 10249 10250 |
# File 'lib/v20180717/models.rb', line 10248 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 |
# File 'lib/v20180717/models.rb', line 10256 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Topics'].nil? @Topics = [] params['Topics'].each do |i| clstopicinfo_tmp = CLSTopicInfo.new clstopicinfo_tmp.deserialize(i) @Topics << clstopicinfo_tmp end end @RequestId = params['RequestId'] end |