Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeRocketMQMigratingTopicList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MigrateTopicsObject

Parameters:

  • TotalCount:

    总条数

  • MigrateTopics:

    迁移topic列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6305
6306
6307
# File 'lib/v20200217/models.rb', line 6305

def MigrateTopics
  @MigrateTopics
end

#RequestIdObject

Parameters:

  • TotalCount:

    总条数

  • MigrateTopics:

    迁移topic列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6305
6306
6307
# File 'lib/v20200217/models.rb', line 6305

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总条数

  • MigrateTopics:

    迁移topic列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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