Class: TencentCloud::Tke::V20180525::DescribePrometheusTemplatesRequest

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

Overview

DescribePrometheusTemplates请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePrometheusTemplatesRequest.



9626
9627
9628
9629
9630
# File 'lib/v20180525/models.rb', line 9626

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

Instance Attribute Details

#FiltersObject

Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤

Parameters:

  • Filters:

    模糊过滤条件,支持

  • Offset:

    分页偏移

  • Limit:

    总数限制



9624
9625
9626
# File 'lib/v20180525/models.rb', line 9624

def Filters
  @Filters
end

#LimitObject

Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤

Parameters:

  • Filters:

    模糊过滤条件,支持

  • Offset:

    分页偏移

  • Limit:

    总数限制



9624
9625
9626
# File 'lib/v20180525/models.rb', line 9624

def Limit
  @Limit
end

#OffsetObject

Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤

Parameters:

  • Filters:

    模糊过滤条件,支持

  • Offset:

    分页偏移

  • Limit:

    总数限制



9624
9625
9626
# File 'lib/v20180525/models.rb', line 9624

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
# File 'lib/v20180525/models.rb', line 9632

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
  @Offset = params['Offset']
  @Limit = params['Limit']
end