Class: TencentCloud::Cls::V20201016::EscalateNoticeInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::EscalateNoticeInfo
- Defined in:
- lib/v20201016/models.rb
Overview
升级通知
Instance Attribute Summary collapse
-
#Escalate ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
-
#EscalateNotice ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
-
#Interval ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
-
#NoticeReceivers ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
-
#Type ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
-
#WebCallbacks ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级 - 未恢复:当前告警持续未恢复则升级.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(noticereceivers = nil, webcallbacks = nil, escalate = nil, interval = nil, type = nil, escalatenotice = nil) ⇒ EscalateNoticeInfo
constructor
A new instance of EscalateNoticeInfo.
Constructor Details
#initialize(noticereceivers = nil, webcallbacks = nil, escalate = nil, interval = nil, type = nil, escalatenotice = nil) ⇒ EscalateNoticeInfo
Returns a new instance of EscalateNoticeInfo.
10849 10850 10851 10852 10853 10854 10855 10856 |
# File 'lib/v20201016/models.rb', line 10849 def initialize(noticereceivers=nil, webcallbacks=nil, escalate=nil, interval=nil, type=nil, escalatenotice=nil) @NoticeReceivers = noticereceivers @WebCallbacks = webcallbacks @Escalate = escalate @Interval = interval @Type = type @EscalateNotice = escalatenotice end |
Instance Attribute Details
#Escalate ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def Escalate @Escalate end |
#EscalateNotice ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def EscalateNotice @EscalateNotice end |
#Interval ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def Interval @Interval end |
#NoticeReceivers ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def NoticeReceivers @NoticeReceivers end |
#Type ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def Type @Type end |
#WebCallbacks ⇒ Object
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
- 未恢复:当前告警持续未恢复则升级
10847 10848 10849 |
# File 'lib/v20201016/models.rb', line 10847 def WebCallbacks @WebCallbacks end |
Instance Method Details
#deserialize(params) ⇒ Object
10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 |
# File 'lib/v20201016/models.rb', line 10858 def deserialize(params) unless params['NoticeReceivers'].nil? @NoticeReceivers = [] params['NoticeReceivers'].each do |i| noticereceiver_tmp = NoticeReceiver.new noticereceiver_tmp.deserialize(i) @NoticeReceivers << noticereceiver_tmp end end unless params['WebCallbacks'].nil? @WebCallbacks = [] params['WebCallbacks'].each do |i| webcallback_tmp = WebCallback.new webcallback_tmp.deserialize(i) @WebCallbacks << webcallback_tmp end end @Escalate = params['Escalate'] @Interval = params['Interval'] @Type = params['Type'] unless params['EscalateNotice'].nil? @EscalateNotice = EscalateNoticeInfo.new @EscalateNotice.deserialize(params['EscalateNotice']) end end |