Class: TencentCloud::Apm::V20210622::DescribeApmPrometheusRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apm::V20210622::DescribeApmPrometheusRuleResponse
- Defined in:
- lib/v20210622/models.rb
Overview
DescribeApmPrometheusRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(apmprometheusrules = nil, requestid = nil) ⇒ DescribeApmPrometheusRuleResponse
constructor
A new instance of DescribeApmPrometheusRuleResponse.
Constructor Details
#initialize(apmprometheusrules = nil, requestid = nil) ⇒ DescribeApmPrometheusRuleResponse
Returns a new instance of DescribeApmPrometheusRuleResponse.
1571 1572 1573 1574 |
# File 'lib/v20210622/models.rb', line 1571 def initialize(apmprometheusrules=nil, requestid=nil) @ApmPrometheusRules = apmprometheusrules @RequestId = requestid end |
Instance Attribute Details
#ApmPrometheusRules ⇒ Object
1569 1570 1571 |
# File 'lib/v20210622/models.rb', line 1569 def ApmPrometheusRules @ApmPrometheusRules end |
#RequestId ⇒ Object
1569 1570 1571 |
# File 'lib/v20210622/models.rb', line 1569 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'lib/v20210622/models.rb', line 1576 def deserialize(params) unless params['ApmPrometheusRules'].nil? @ApmPrometheusRules = [] params['ApmPrometheusRules'].each do |i| apmprometheusrules_tmp = ApmPrometheusRules.new apmprometheusrules_tmp.deserialize(i) @ApmPrometheusRules << apmprometheusrules_tmp end end @RequestId = params['RequestId'] end |