Class: TencentCloud::Tke::V20180525::DescribePrometheusTemplatesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusTemplatesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusTemplates请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤.
-
#Limit ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤.
-
#Offset ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filters = nil, offset = nil, limit = nil) ⇒ DescribePrometheusTemplatesRequest
constructor
A new instance of DescribePrometheusTemplatesRequest.
Constructor Details
#initialize(filters = nil, offset = nil, limit = nil) ⇒ DescribePrometheusTemplatesRequest
Returns a new instance of DescribePrometheusTemplatesRequest.
9626 9627 9628 9629 9630 |
# File 'lib/v20180525/models.rb', line 9626 def initialize(filters=nil, offset=nil, limit=nil) @Filters = filters @Offset = offset @Limit = limit end |
Instance Attribute Details
#Filters ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤
9624 9625 9626 |
# File 'lib/v20180525/models.rb', line 9624 def Filters @Filters end |
#Limit ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤
9624 9625 9626 |
# File 'lib/v20180525/models.rb', line 9624 def Limit @Limit end |
#Offset ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤
9624 9625 9626 |
# File 'lib/v20180525/models.rb', line 9624 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 |
# File 'lib/v20180525/models.rb', line 9632 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 |