Class: TencentCloud::Tke::V20180525::DescribePrometheusOverviewsRequest

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

Overview

DescribePrometheusOverviews请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribePrometheusOverviewsRequest.



9276
9277
9278
9279
9280
# File 'lib/v20180525/models.rb', line 9276

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:

    过滤实例,目前支持:



9274
9275
9276
# File 'lib/v20180525/models.rb', line 9274

def Filters
  @Filters
end

#LimitObject

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

Parameters:

  • Offset:

    用于分页

  • Limit:

    用于分页

  • Filters:

    过滤实例,目前支持:



9274
9275
9276
# File 'lib/v20180525/models.rb', line 9274

def Limit
  @Limit
end

#OffsetObject

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

Parameters:

  • Offset:

    用于分页

  • Limit:

    用于分页

  • Filters:

    过滤实例,目前支持:



9274
9275
9276
# File 'lib/v20180525/models.rb', line 9274

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
# File 'lib/v20180525/models.rb', line 9282

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