Class: TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusInstancesOverview请求参数结构体
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) ⇒ DescribePrometheusInstancesOverviewRequest
constructor
A new instance of DescribePrometheusInstancesOverviewRequest.
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
#Filters ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
9209 9210 9211 |
# File 'lib/v20180525/models.rb', line 9209 def Filters @Filters end |
#Limit ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
9209 9210 9211 |
# File 'lib/v20180525/models.rb', line 9209 def Limit @Limit end |
#Offset ⇒ Object
ID: 通过实例ID来过滤 Name: 通过实例名称来过滤
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 |