Class: TencentCloud::Tke::V20180525::ModifyPrometheusAlertRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusAlertRuleRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusAlertRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, alertrule = nil) ⇒ ModifyPrometheusAlertRuleRequest
constructor
A new instance of ModifyPrometheusAlertRuleRequest.
Constructor Details
#initialize(instanceid = nil, alertrule = nil) ⇒ ModifyPrometheusAlertRuleRequest
Returns a new instance of ModifyPrometheusAlertRuleRequest.
15926 15927 15928 15929 |
# File 'lib/v20180525/models.rb', line 15926 def initialize(instanceid=nil, alertrule=nil) @InstanceId = instanceid @AlertRule = alertrule end |
Instance Attribute Details
#AlertRule ⇒ Object
15924 15925 15926 |
# File 'lib/v20180525/models.rb', line 15924 def AlertRule @AlertRule end |
#InstanceId ⇒ Object
15924 15925 15926 |
# File 'lib/v20180525/models.rb', line 15924 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
15931 15932 15933 15934 15935 15936 15937 |
# File 'lib/v20180525/models.rb', line 15931 def deserialize(params) @InstanceId = params['InstanceId'] unless params['AlertRule'].nil? @AlertRule = PrometheusAlertRuleDetail.new @AlertRule.deserialize(params['AlertRule']) end end |