Class: TencentCloud::Wedata::V20210820::AlarmInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::AlarmInfo
- Defined in:
- lib/v20210820/models.rb
Overview
任务告警信息
Instance Attribute Summary collapse
- #AlarmId ⇒ Object
- #AlarmRecipient ⇒ Object
- #AlarmRecipientId ⇒ Object
- #AlarmType ⇒ Object
- #AlarmWay ⇒ Object
- #Hours ⇒ Object
- #Minutes ⇒ Object
- #Status ⇒ Object
- #TaskIds ⇒ Object
- #TriggerType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskids = nil, alarmtype = nil, alarmway = nil, alarmrecipient = nil, alarmrecipientid = nil, hours = nil, minutes = nil, triggertype = nil, alarmid = nil, status = nil) ⇒ AlarmInfo
constructor
A new instance of AlarmInfo.
Constructor Details
#initialize(taskids = nil, alarmtype = nil, alarmway = nil, alarmrecipient = nil, alarmrecipientid = nil, hours = nil, minutes = nil, triggertype = nil, alarmid = nil, status = nil) ⇒ AlarmInfo
Returns a new instance of AlarmInfo.
744 745 746 747 748 749 750 751 752 753 754 755 |
# File 'lib/v20210820/models.rb', line 744 def initialize(taskids=nil, alarmtype=nil, alarmway=nil, alarmrecipient=nil, alarmrecipientid=nil, hours=nil, minutes=nil, triggertype=nil, alarmid=nil, status=nil) @TaskIds = taskids @AlarmType = alarmtype @AlarmWay = alarmway @AlarmRecipient = alarmrecipient @AlarmRecipientId = alarmrecipientid @Hours = hours @Minutes = minutes @TriggerType = triggertype @AlarmId = alarmid @Status = status end |
Instance Attribute Details
#AlarmId ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def AlarmId @AlarmId end |
#AlarmRecipient ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def AlarmRecipient @AlarmRecipient end |
#AlarmRecipientId ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def AlarmRecipientId @AlarmRecipientId end |
#AlarmType ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def AlarmType @AlarmType end |
#AlarmWay ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def AlarmWay @AlarmWay end |
#Hours ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def Hours @Hours end |
#Minutes ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def Minutes @Minutes end |
#Status ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def Status @Status end |
#TaskIds ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def TaskIds @TaskIds end |
#TriggerType ⇒ Object
742 743 744 |
# File 'lib/v20210820/models.rb', line 742 def TriggerType @TriggerType end |
Instance Method Details
#deserialize(params) ⇒ Object
757 758 759 760 761 762 763 764 765 766 767 768 |
# File 'lib/v20210820/models.rb', line 757 def deserialize(params) @TaskIds = params['TaskIds'] @AlarmType = params['AlarmType'] @AlarmWay = params['AlarmWay'] @AlarmRecipient = params['AlarmRecipient'] @AlarmRecipientId = params['AlarmRecipientId'] @Hours = params['Hours'] @Minutes = params['Minutes'] @TriggerType = params['TriggerType'] @AlarmId = params['AlarmId'] @Status = params['Status'] end |