Class: TencentCloud::Tdmq::V20200217::DescribePulsarProInstancesRequest

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

Overview

DescribePulsarProInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePulsarProInstancesRequest.



4852
4853
4854
4855
4856
# File 'lib/v20200217/models.rb', line 4852

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

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



4850
4851
4852
# File 'lib/v20200217/models.rb', line 4850

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



4850
4851
4852
# File 'lib/v20200217/models.rb', line 4850

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Filters:

    查询条件过滤器

  • Limit:

    查询数目上限,默认20

  • Offset:

    查询起始位置



4850
4851
4852
# File 'lib/v20200217/models.rb', line 4850

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
# File 'lib/v20200217/models.rb', line 4858

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