Class: TencentCloud::Wedata::V20250806::CreateOpsAlarmRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::CreateOpsAlarmRuleResponse
- Defined in:
- lib/v20250806/models.rb
Overview
CreateOpsAlarmRule返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ CreateOpsAlarmRuleResponse
constructor
A new instance of CreateOpsAlarmRuleResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ CreateOpsAlarmRuleResponse
Returns a new instance of CreateOpsAlarmRuleResponse.
1510 1511 1512 1513 |
# File 'lib/v20250806/models.rb', line 1510 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
1508 1509 1510 |
# File 'lib/v20250806/models.rb', line 1508 def Data @Data end |
#RequestId ⇒ Object
1508 1509 1510 |
# File 'lib/v20250806/models.rb', line 1508 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1515 1516 1517 1518 1519 1520 1521 |
# File 'lib/v20250806/models.rb', line 1515 def deserialize(params) unless params['Data'].nil? @Data = CreateAlarmRuleData.new @Data.deserialize(params['Data']) end @RequestId = params['RequestId'] end |