Class: TencentCloud::Monitor::V20180724::DescribePrometheusRecordRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribePrometheusRecordRulesResponse
- Defined in:
- lib/v20180724/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.
9023 9024 9025 9026 9027 |
# File 'lib/v20180724/models.rb', line 9023 def initialize(records=nil, total=nil, requestid=nil) @Records = records @Total = total @RequestId = requestid end |
Instance Attribute Details
#Records ⇒ Object
9021 9022 9023 |
# File 'lib/v20180724/models.rb', line 9021 def Records @Records end |
#RequestId ⇒ Object
9021 9022 9023 |
# File 'lib/v20180724/models.rb', line 9021 def RequestId @RequestId end |
#Total ⇒ Object
9021 9022 9023 |
# File 'lib/v20180724/models.rb', line 9021 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 |
# File 'lib/v20180724/models.rb', line 9029 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 |