Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQVipInstancesRequest

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

Overview

DescribeRabbitMQVipInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeRabbitMQVipInstancesRequest.



5585
5586
5587
5588
5589
# File 'lib/v20200217/models.rb', line 5585

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

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



5583
5584
5585
# File 'lib/v20200217/models.rb', line 5583

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



5583
5584
5585
# File 'lib/v20200217/models.rb', line 5583

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



5583
5584
5585
# File 'lib/v20200217/models.rb', line 5583

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
# File 'lib/v20200217/models.rb', line 5591

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