Class: TencentCloud::Tke::V20180525::DescribePrometheusTempRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusTempRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusTemp请求参数结构体
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) ⇒ DescribePrometheusTempRequest
constructor
A new instance of DescribePrometheusTempRequest.
Constructor Details
#initialize(filters = nil, offset = nil, limit = nil) ⇒ DescribePrometheusTempRequest
Returns a new instance of DescribePrometheusTempRequest.
9473 9474 9475 9476 9477 |
# File 'lib/v20180525/models.rb', line 9473 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过滤
9471 9472 9473 |
# File 'lib/v20180525/models.rb', line 9471 def Filters @Filters end |
#Limit ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤
9471 9472 9473 |
# File 'lib/v20180525/models.rb', line 9471 def Limit @Limit end |
#Offset ⇒ Object
Level 按模板级别过滤 Name 按名称过滤 Describe 按描述过滤 ID 按templateId过滤
9471 9472 9473 |
# File 'lib/v20180525/models.rb', line 9471 def Offset @Offset end |
Instance Method Details
#deserialize(params) ⇒ Object
9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 |
# File 'lib/v20180525/models.rb', line 9479 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 |