Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQSourceClusterTopicListRequest

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

Overview

DescribeRocketMQSourceClusterTopicList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, taskid = nil, filters = nil) ⇒ DescribeRocketMQSourceClusterTopicListRequest

Returns a new instance of DescribeRocketMQSourceClusterTopicListRequest.



7087
7088
7089
7090
7091
7092
# File 'lib/v20200217/models.rb', line 7087

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

Instance Attribute Details

#FiltersObject

TopicName, Type,Imported

Parameters:

  • Limit:

    分页大小

  • Offset:

    偏移量

  • TaskId:

    迁移任务名

  • Filters:

    查询过滤器,支持字段如下



7085
7086
7087
# File 'lib/v20200217/models.rb', line 7085

def Filters
  @Filters
end

#LimitObject

TopicName, Type,Imported

Parameters:

  • Limit:

    分页大小

  • Offset:

    偏移量

  • TaskId:

    迁移任务名

  • Filters:

    查询过滤器,支持字段如下



7085
7086
7087
# File 'lib/v20200217/models.rb', line 7085

def Limit
  @Limit
end

#OffsetObject

TopicName, Type,Imported

Parameters:

  • Limit:

    分页大小

  • Offset:

    偏移量

  • TaskId:

    迁移任务名

  • Filters:

    查询过滤器,支持字段如下



7085
7086
7087
# File 'lib/v20200217/models.rb', line 7085

def Offset
  @Offset
end

#TaskIdObject

TopicName, Type,Imported

Parameters:

  • Limit:

    分页大小

  • Offset:

    偏移量

  • TaskId:

    迁移任务名

  • Filters:

    查询过滤器,支持字段如下



7085
7086
7087
# File 'lib/v20200217/models.rb', line 7085

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
# File 'lib/v20200217/models.rb', line 7094

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