Class: TencentCloud::Tke::V20180525::DescribePrometheusTempRequest

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

Overview

DescribePrometheusTemp请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePrometheusTempRequest.



9473
9474
9475
9476
9477
# File 'lib/v20180525/models.rb', line 9473

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:

    总数限制



9471
9472
9473
# File 'lib/v20180525/models.rb', line 9471

def Filters
  @Filters
end

#LimitObject

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

Parameters:

  • Filters:

    模糊过滤条件,支持

  • Offset:

    分页偏移

  • Limit:

    总数限制



9471
9472
9473
# File 'lib/v20180525/models.rb', line 9471

def Limit
  @Limit
end

#OffsetObject

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

Parameters:

  • Filters:

    模糊过滤条件,支持

  • Offset:

    分页偏移

  • Limit:

    总数限制



9471
9472
9473
# File 'lib/v20180525/models.rb', line 9471

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
# File 'lib/v20180525/models.rb', line 9479

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