public class NoticeContent extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| NoticeContent() | 
| NoticeContent(NoticeContent source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| NoticeContentInfo | getRecoveryContent()Get 告警恢复通知内容模板。 | 
| NoticeContentInfo | getTriggerContent()Get 告警触发通知内容模板。 | 
| String | getType()Get 渠道类型
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调; | 
| void | setRecoveryContent(NoticeContentInfo RecoveryContent)Set 告警恢复通知内容模板。 | 
| void | setTriggerContent(NoticeContentInfo TriggerContent)Set 告警触发通知内容模板。 | 
| void | setType(String Type)Set 渠道类型
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调; | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic NoticeContent()
public NoticeContent(NoticeContent source)
public String getType()
public void setType(String Type)
Type - 渠道类型
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;public NoticeContentInfo getTriggerContent()
public void setTriggerContent(NoticeContentInfo TriggerContent)
TriggerContent - 告警触发通知内容模板。public NoticeContentInfo getRecoveryContent()
public void setRecoveryContent(NoticeContentInfo RecoveryContent)
RecoveryContent - 告警恢复通知内容模板。Copyright © 2025. All rights reserved.