Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQMigratingTopicList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, migratetopics = nil, requestid = nil) ⇒ DescribeRocketMQMigratingTopicListResponse
constructor
A new instance of DescribeRocketMQMigratingTopicListResponse.
Constructor Details
#initialize(totalcount = nil, migratetopics = nil, requestid = nil) ⇒ DescribeRocketMQMigratingTopicListResponse
Returns a new instance of DescribeRocketMQMigratingTopicListResponse.
6307 6308 6309 6310 6311 |
# File 'lib/v20200217/models.rb', line 6307 def initialize(totalcount=nil, migratetopics=nil, requestid=nil) @TotalCount = totalcount @MigrateTopics = migratetopics @RequestId = requestid end |
Instance Attribute Details
#MigrateTopics ⇒ Object
6305 6306 6307 |
# File 'lib/v20200217/models.rb', line 6305 def MigrateTopics @MigrateTopics end |
#RequestId ⇒ Object
6305 6306 6307 |
# File 'lib/v20200217/models.rb', line 6305 def RequestId @RequestId end |
#TotalCount ⇒ Object
6305 6306 6307 |
# File 'lib/v20200217/models.rb', line 6305 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 |
# File 'lib/v20200217/models.rb', line 6313 def deserialize(params) @TotalCount = params['TotalCount'] unless params['MigrateTopics'].nil? @MigrateTopics = [] params['MigrateTopics'].each do |i| migratetopic_tmp = MigrateTopic.new migratetopic_tmp.deserialize(i) @MigrateTopics << migratetopic_tmp end end @RequestId = params['RequestId'] end |