Class: TencentCloud::Waf::V20180125::DescribeTopicsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DescribeTopicsResponse
- Defined in:
- lib/v20180125/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
9570 9571 9572 9573 9574 |
# File 'lib/v20180125/models.rb', line 9570 def initialize(topics=nil, totalcount=nil, requestid=nil) @Topics = topics @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9568 9569 9570 |
# File 'lib/v20180125/models.rb', line 9568 def RequestId @RequestId end |
#Topics ⇒ Object
9568 9569 9570 |
# File 'lib/v20180125/models.rb', line 9568 def Topics @Topics end |
#TotalCount ⇒ Object
9568 9569 9570 |
# File 'lib/v20180125/models.rb', line 9568 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 |
# File 'lib/v20180125/models.rb', line 9576 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 |