Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQMigratingTopicListRequest

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(taskid = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeRocketMQMigratingTopicListRequest

Returns a new instance of DescribeRocketMQMigratingTopicListRequest.



6274
6275
6276
6277
6278
6279
# File 'lib/v20200217/models.rb', line 6274

def initialize(taskid=nil, limit=nil, offset=nil, filters=nil)
  @TaskId = taskid
  @Limit = limit
  @Offset = offset
  @Filters = filters
end

Instance Attribute Details

#FiltersObject

Parameters:

  • TaskId:

    迁移任务名称

  • Limit:

    分页大小

  • Offset:

    偏移量

  • Filters:

    查询过滤器,支持topicname、MigrationStatus查询



6272
6273
6274
# File 'lib/v20200217/models.rb', line 6272

def Filters
  @Filters
end

#LimitObject

Parameters:

  • TaskId:

    迁移任务名称

  • Limit:

    分页大小

  • Offset:

    偏移量

  • Filters:

    查询过滤器,支持topicname、MigrationStatus查询



6272
6273
6274
# File 'lib/v20200217/models.rb', line 6272

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • TaskId:

    迁移任务名称

  • Limit:

    分页大小

  • Offset:

    偏移量

  • Filters:

    查询过滤器,支持topicname、MigrationStatus查询



6272
6273
6274
# File 'lib/v20200217/models.rb', line 6272

def Offset
  @Offset
end

#TaskIdObject

Parameters:

  • TaskId:

    迁移任务名称

  • Limit:

    分页大小

  • Offset:

    偏移量

  • Filters:

    查询过滤器,支持topicname、MigrationStatus查询



6272
6273
6274
# File 'lib/v20200217/models.rb', line 6272

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
# File 'lib/v20200217/models.rb', line 6281

def deserialize(params)
  @TaskId = params['TaskId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
end