Class: TencentCloud::Tke::V20180525::DescribePrometheusRecordRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePrometheusRecordRulesResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePrometheusRecordRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(records = nil, total = nil, requestid = nil) ⇒ DescribePrometheusRecordRulesResponse
constructor
A new instance of DescribePrometheusRecordRulesResponse.
Constructor Details
#initialize(records = nil, total = nil, requestid = nil) ⇒ DescribePrometheusRecordRulesResponse
Returns a new instance of DescribePrometheusRecordRulesResponse.
10181 10182 10183 10184 10185 |
# File 'lib/v20180525/models.rb', line 10181 def initialize(records=nil, total=nil, requestid=nil) @Records = records @Total = total @RequestId = requestid end |
Instance Attribute Details
#Records ⇒ Object
10179 10180 10181 |
# File 'lib/v20180525/models.rb', line 10179 def Records @Records end |
#RequestId ⇒ Object
10179 10180 10181 |
# File 'lib/v20180525/models.rb', line 10179 def RequestId @RequestId end |
#Total ⇒ Object
10179 10180 10181 |
# File 'lib/v20180525/models.rb', line 10179 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 |
# File 'lib/v20180525/models.rb', line 10187 def deserialize(params) unless params['Records'].nil? @Records = [] params['Records'].each do |i| prometheusrecordruleyamlitem_tmp = PrometheusRecordRuleYamlItem.new prometheusrecordruleyamlitem_tmp.deserialize(i) @Records << prometheusrecordruleyamlitem_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |