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.
1780 1781 1782 1783 |
# File 'lib/v20210622/models.rb', line 1780 def initialize(apmprometheusrules=nil, requestid=nil) @ApmPrometheusRules = apmprometheusrules @RequestId = requestid end |
Instance Attribute Details
#ApmPrometheusRules ⇒ Object
1778 1779 1780 |
# File 'lib/v20210622/models.rb', line 1778 def ApmPrometheusRules @ApmPrometheusRules end |
#RequestId ⇒ Object
1778 1779 1780 |
# File 'lib/v20210622/models.rb', line 1778 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/v20210622/models.rb', line 1785 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 |