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.
9526 9527 9528 9529 9530 |
# File 'lib/v20180525/models.rb', line 9526 def initialize(templates=nil, total=nil, requestid=nil) @Templates = templates @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
9524 9525 9526 |
# File 'lib/v20180525/models.rb', line 9524 def RequestId @RequestId end |
#Templates ⇒ Object
9524 9525 9526 |
# File 'lib/v20180525/models.rb', line 9524 def Templates @Templates end |
#Total ⇒ Object
9524 9525 9526 |
# File 'lib/v20180525/models.rb', line 9524 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 |
# File 'lib/v20180525/models.rb', line 9532 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 |