Class: TencentCloud::Tke::V20180525::DescribePrometheusOverviewsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusOverviewsRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusOverviews请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤.
-
#Limit ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤.
-
#Offset ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, filters = nil) ⇒ DescribePrometheusOverviewsRequest
constructor
A new instance of DescribePrometheusOverviewsRequest.
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
#Filters ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
9274 9275 9276 |
# File 'lib/v20180525/models.rb', line 9274 def Filters @Filters end |
#Limit ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
9274 9275 9276 |
# File 'lib/v20180525/models.rb', line 9274 def Limit @Limit end |
#Offset ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
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 |