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.
10311 10312 10313 10314 10315 |
# File 'lib/v20180525/models.rb', line 10311 def initialize(templates=nil, total=nil, requestid=nil) @Templates = templates @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10309 10310 10311 |
# File 'lib/v20180525/models.rb', line 10309 def RequestId @RequestId end |
#Templates ⇒ Object
10309 10310 10311 |
# File 'lib/v20180525/models.rb', line 10309 def Templates @Templates end |
#Total ⇒ Object
10309 10310 10311 |
# File 'lib/v20180525/models.rb', line 10309 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 |
# File 'lib/v20180525/models.rb', line 10317 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 |