Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQVipInstancesRequest

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

Overview

DescribeRocketMQVipInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeRocketMQVipInstancesRequest.



7549
7550
7551
7552
7553
# File 'lib/v20200217/models.rb', line 7549

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

Instance Attribute Details

#FiltersObject

instanceIds - 实例ID instanceName - 实例名称 status - 实例状态

Parameters:

  • Filters:

    查询条件过滤器,支持的查询条件如下:

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



7547
7548
7549
# File 'lib/v20200217/models.rb', line 7547

def Filters
  @Filters
end

#LimitObject

instanceIds - 实例ID instanceName - 实例名称 status - 实例状态

Parameters:

  • Filters:

    查询条件过滤器,支持的查询条件如下:

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



7547
7548
7549
# File 'lib/v20200217/models.rb', line 7547

def Limit
  @Limit
end

#OffsetObject

instanceIds - 实例ID instanceName - 实例名称 status - 实例状态

Parameters:

  • Filters:

    查询条件过滤器,支持的查询条件如下:

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



7547
7548
7549
# File 'lib/v20200217/models.rb', line 7547

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
# File 'lib/v20200217/models.rb', line 7555

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