Class: TencentCloud::Tke::V20180525::DescribePrometheusTempResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusTempResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusTemp返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templates = nil, total = nil, requestid = nil) ⇒ DescribePrometheusTempResponse
constructor
A new instance of DescribePrometheusTempResponse.
Constructor Details
#initialize(templates = nil, total = nil, requestid = nil) ⇒ DescribePrometheusTempResponse
Returns a new instance of DescribePrometheusTempResponse.
9504 9505 9506 9507 9508 |
# File 'lib/v20180525/models.rb', line 9504 def initialize(templates=nil, total=nil, requestid=nil) @Templates = templates @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9502 9503 9504 |
# File 'lib/v20180525/models.rb', line 9502 def RequestId @RequestId end |
#Templates ⇒ Object
9502 9503 9504 |
# File 'lib/v20180525/models.rb', line 9502 def Templates @Templates end |
#Total ⇒ Object
9502 9503 9504 |
# File 'lib/v20180525/models.rb', line 9502 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 |
# File 'lib/v20180525/models.rb', line 9510 def deserialize(params) unless params['Templates'].nil? @Templates = [] params['Templates'].each do |i| prometheustemp_tmp = PrometheusTemp.new prometheustemp_tmp.deserialize(i) @Templates << prometheustemp_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |