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
10168 10169 10170 10171 10172 |
# File 'lib/v20180525/models.rb', line 10168 def initialize(templates=nil, total=nil, requestid=nil) @Templates = templates @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10166 10167 10168 |
# File 'lib/v20180525/models.rb', line 10166 def RequestId @RequestId end |
#Templates ⇒ Object
10166 10167 10168 |
# File 'lib/v20180525/models.rb', line 10166 def Templates @Templates end |
#Total ⇒ Object
10166 10167 10168 |
# File 'lib/v20180525/models.rb', line 10166 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 |
# File 'lib/v20180525/models.rb', line 10174 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 |