Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQSourceClusterTopicList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topics = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterTopicListResponse
constructor
A new instance of DescribeRocketMQSourceClusterTopicListResponse.
Constructor Details
#initialize(topics = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQSourceClusterTopicListResponse
Returns a new instance of DescribeRocketMQSourceClusterTopicListResponse.
7120 7121 7122 7123 7124 |
# File 'lib/v20200217/models.rb', line 7120 def initialize(topics=nil, totalcount=nil, requestid=nil) @Topics = topics @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7118 7119 7120 |
# File 'lib/v20200217/models.rb', line 7118 def RequestId @RequestId end |
#Topics ⇒ Object
7118 7119 7120 |
# File 'lib/v20200217/models.rb', line 7118 def Topics @Topics end |
#TotalCount ⇒ Object
7118 7119 7120 |
# File 'lib/v20200217/models.rb', line 7118 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 |
# File 'lib/v20200217/models.rb', line 7126 def deserialize(params) unless params['Topics'].nil? @Topics = [] params['Topics'].each do |i| rocketmqtopicconfigoutput_tmp = RocketMQTopicConfigOutput.new rocketmqtopicconfigoutput_tmp.deserialize(i) @Topics << rocketmqtopicconfigoutput_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |