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 告警恢复通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。
|
NoticeContentInfo |
getTriggerContent()
Get 告警触发通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 渠道类型
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
void |
setRecoveryContent(NoticeContentInfo RecoveryContent)
Set 告警恢复通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTriggerContent(NoticeContentInfo TriggerContent)
Set 告警触发通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public 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
- 告警触发通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。public NoticeContentInfo getRecoveryContent()
public void setRecoveryContent(NoticeContentInfo RecoveryContent)
RecoveryContent
- 告警恢复通知内容模板。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.