Class: TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewRequest

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

Overview

DescribePrometheusInstancesOverview请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePrometheusInstancesOverviewRequest.



9211
9212
9213
9214
9215
# File 'lib/v20180525/models.rb', line 9211

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

Instance Attribute Details

#FiltersObject

ID: 通过实例ID来过滤 Name: 通过实例名称来过滤

Parameters:

  • Offset:

    用于分页

  • Limit:

    用于分页

  • Filters:

    过滤实例,目前支持:



9209
9210
9211
# File 'lib/v20180525/models.rb', line 9209

def Filters
  @Filters
end

#LimitObject

ID: 通过实例ID来过滤 Name: 通过实例名称来过滤

Parameters:

  • Offset:

    用于分页

  • Limit:

    用于分页

  • Filters:

    过滤实例,目前支持:



9209
9210
9211
# File 'lib/v20180525/models.rb', line 9209

def Limit
  @Limit
end

#OffsetObject

ID: 通过实例ID来过滤 Name: 通过实例名称来过滤

Parameters:

  • Offset:

    用于分页

  • Limit:

    用于分页

  • Filters:

    过滤实例,目前支持:



9209
9210
9211
# File 'lib/v20180525/models.rb', line 9209

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
# File 'lib/v20180525/models.rb', line 9217

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