Class: TencentCloud::Wedata::V20250806::AlarmMessage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::AlarmMessage
- Defined in:
- lib/v20250806/models.rb
Overview
告警信息
Instance Attribute Summary collapse
- #AlarmLevel ⇒ Object
- #AlarmMessageId ⇒ Object
- #AlarmReason ⇒ Object
- #AlarmRecipients ⇒ Object
- #AlarmRuleId ⇒ Object
- #AlarmTime ⇒ Object
- #AlarmWays ⇒ Object
- #CurRunDate ⇒ Object
- #TaskId ⇒ Object
- #TaskName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarmmessageid = nil, alarmtime = nil, taskname = nil, taskid = nil, currundate = nil, alarmreason = nil, alarmlevel = nil, alarmruleid = nil, alarmways = nil, alarmrecipients = nil) ⇒ AlarmMessage
constructor
A new instance of AlarmMessage.
Constructor Details
#initialize(alarmmessageid = nil, alarmtime = nil, taskname = nil, taskid = nil, currundate = nil, alarmreason = nil, alarmlevel = nil, alarmruleid = nil, alarmways = nil, alarmrecipients = nil) ⇒ AlarmMessage
Returns a new instance of AlarmMessage.
139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20250806/models.rb', line 139 def initialize(=nil, alarmtime=nil, taskname=nil, taskid=nil, currundate=nil, alarmreason=nil, alarmlevel=nil, alarmruleid=nil, alarmways=nil, alarmrecipients=nil) @AlarmMessageId = @AlarmTime = alarmtime @TaskName = taskname @TaskId = taskid @CurRunDate = currundate @AlarmReason = alarmreason @AlarmLevel = alarmlevel @AlarmRuleId = alarmruleid @AlarmWays = alarmways @AlarmRecipients = alarmrecipients end |
Instance Attribute Details
#AlarmLevel ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmLevel @AlarmLevel end |
#AlarmMessageId ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmMessageId @AlarmMessageId end |
#AlarmReason ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmReason @AlarmReason end |
#AlarmRecipients ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmRecipients @AlarmRecipients end |
#AlarmRuleId ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmRuleId @AlarmRuleId end |
#AlarmTime ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmTime @AlarmTime end |
#AlarmWays ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def AlarmWays @AlarmWays end |
#CurRunDate ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def CurRunDate @CurRunDate end |
#TaskId ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def TaskId @TaskId end |
#TaskName ⇒ Object
137 138 139 |
# File 'lib/v20250806/models.rb', line 137 def TaskName @TaskName end |
Instance Method Details
#deserialize(params) ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/v20250806/models.rb', line 152 def deserialize(params) @AlarmMessageId = params['AlarmMessageId'] @AlarmTime = params['AlarmTime'] @TaskName = params['TaskName'] @TaskId = params['TaskId'] @CurRunDate = params['CurRunDate'] @AlarmReason = params['AlarmReason'] @AlarmLevel = params['AlarmLevel'] @AlarmRuleId = params['AlarmRuleId'] @AlarmWays = params['AlarmWays'] @AlarmRecipients = params['AlarmRecipients'] end |