Class: TencentCloud::Monitor::V20180724::CreateAlertRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CreateAlertRuleResponse
- Defined in:
- lib/v20180724/models.rb
Overview
CreateAlertRule返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, requestid = nil) ⇒ CreateAlertRuleResponse
constructor
A new instance of CreateAlertRuleResponse.
Constructor Details
#initialize(ruleid = nil, requestid = nil) ⇒ CreateAlertRuleResponse
Returns a new instance of CreateAlertRuleResponse.
1985 1986 1987 1988 |
# File 'lib/v20180724/models.rb', line 1985 def initialize(ruleid=nil, requestid=nil) @RuleId = ruleid @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1983 1984 1985 |
# File 'lib/v20180724/models.rb', line 1983 def RequestId @RequestId end |
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1983 1984 1985 |
# File 'lib/v20180724/models.rb', line 1983 def RuleId @RuleId end |
Instance Method Details
#deserialize(params) ⇒ Object
1990 1991 1992 1993 |
# File 'lib/v20180724/models.rb', line 1990 def deserialize(params) @RuleId = params['RuleId'] @RequestId = params['RequestId'] end |