Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQTopicsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQTopics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, topics = nil, requestid = nil) ⇒ DescribeRocketMQTopicsResponse
constructor
A new instance of DescribeRocketMQTopicsResponse.
Constructor Details
#initialize(totalcount = nil, topics = nil, requestid = nil) ⇒ DescribeRocketMQTopicsResponse
Returns a new instance of DescribeRocketMQTopicsResponse.
7469 7470 7471 7472 7473 |
# File 'lib/v20200217/models.rb', line 7469 def initialize(totalcount=nil, topics=nil, requestid=nil) @TotalCount = totalcount @Topics = topics @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7467 7468 7469 |
# File 'lib/v20200217/models.rb', line 7467 def RequestId @RequestId end |
#Topics ⇒ Object
7467 7468 7469 |
# File 'lib/v20200217/models.rb', line 7467 def Topics @Topics end |
#TotalCount ⇒ Object
7467 7468 7469 |
# File 'lib/v20200217/models.rb', line 7467 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 |
# File 'lib/v20200217/models.rb', line 7475 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Topics'].nil? @Topics = [] params['Topics'].each do |i| rocketmqtopic_tmp = RocketMQTopic.new rocketmqtopic_tmp.deserialize(i) @Topics << rocketmqtopic_tmp end end @RequestId = params['RequestId'] end |