Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListRequest

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

Overview

DescribeRocketMQSmoothMigrationTaskList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, filters = nil) ⇒ DescribeRocketMQSmoothMigrationTaskListRequest

Returns a new instance of DescribeRocketMQSmoothMigrationTaskListRequest.



6823
6824
6825
6826
6827
# File 'lib/v20200217/models.rb', line 6823

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

Instance Attribute Details

#FiltersObject

支持的字段如下 TaskStatus, 支持多选 ConnectionType,支持多选 ClusterId,精确搜索 TaskName,支持模糊搜索

Parameters:

  • Offset:

    查询起始偏移量

  • Limit:

    查询最大数量

  • Filters:

    查询过滤器,



6821
6822
6823
# File 'lib/v20200217/models.rb', line 6821

def Filters
  @Filters
end

#LimitObject

支持的字段如下 TaskStatus, 支持多选 ConnectionType,支持多选 ClusterId,精确搜索 TaskName,支持模糊搜索

Parameters:

  • Offset:

    查询起始偏移量

  • Limit:

    查询最大数量

  • Filters:

    查询过滤器,



6821
6822
6823
# File 'lib/v20200217/models.rb', line 6821

def Limit
  @Limit
end

#OffsetObject

支持的字段如下 TaskStatus, 支持多选 ConnectionType,支持多选 ClusterId,精确搜索 TaskName,支持模糊搜索

Parameters:

  • Offset:

    查询起始偏移量

  • Limit:

    查询最大数量

  • Filters:

    查询过滤器,



6821
6822
6823
# File 'lib/v20200217/models.rb', line 6821

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
# File 'lib/v20200217/models.rb', line 6829

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