Class: TencentCloud::Trocket::V20230308::DescribeTopicListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::DescribeTopicListResponse
- Defined in:
- lib/v20230308/models.rb
Overview
DescribeTopicList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ DescribeTopicListResponse
constructor
A new instance of DescribeTopicListResponse.
Constructor Details
#initialize(totalcount = nil, data = nil, requestid = nil) ⇒ DescribeTopicListResponse
Returns a new instance of DescribeTopicListResponse.
3620 3621 3622 3623 3624 |
# File 'lib/v20230308/models.rb', line 3620 def initialize(totalcount=nil, data=nil, requestid=nil) @TotalCount = totalcount @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
3618 3619 3620 |
# File 'lib/v20230308/models.rb', line 3618 def Data @Data end |
#RequestId ⇒ Object
3618 3619 3620 |
# File 'lib/v20230308/models.rb', line 3618 def RequestId @RequestId end |
#TotalCount ⇒ Object
3618 3619 3620 |
# File 'lib/v20230308/models.rb', line 3618 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 |
# File 'lib/v20230308/models.rb', line 3626 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| topicitem_tmp = TopicItem.new topicitem_tmp.deserialize(i) @Data << topicitem_tmp end end @RequestId = params['RequestId'] end |