public class ModifyAlarmNoticeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyAlarmNoticeRequest() |
ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest 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 |
---|---|
String |
getAlarmNoticeId()
Get 通知渠道组ID。
|
Long |
getAlarmShieldStatus()
Get 免登录操作告警开关。
参数值:
1:关闭
2:开启(默认开启)
|
DeliverConfig |
getDeliverConfig()
Get 投递日志配置。
|
Long |
getDeliverStatus()
Get 投递日志开关。
参数值:
1:关闭;
2:开启
|
String |
getJumpDomain()
Get 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
String |
getName()
Get 通知渠道组名称。
|
NoticeReceiver[] |
getNoticeReceivers()
Get 通知接收对象。
|
NoticeRule[] |
getNoticeRules()
Get 通知规则。
注意:
- Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
- 传其中一组数据,则另一组数据置空。
|
Tag[] |
getTags()
Get 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
String |
getType()
Get 通知类型。可选值:
Trigger - 告警触发
Recovery - 告警恢复
All - 告警触发和告警恢复
|
WebCallback[] |
getWebCallbacks()
Get 接口回调信息(包括企业微信等)。
|
void |
setAlarmNoticeId(String AlarmNoticeId)
Set 通知渠道组ID。
|
void |
setAlarmShieldStatus(Long AlarmShieldStatus)
Set 免登录操作告警开关。
参数值:
1:关闭
2:开启(默认开启)
|
void |
setDeliverConfig(DeliverConfig DeliverConfig)
Set 投递日志配置。
|
void |
setDeliverStatus(Long DeliverStatus)
Set 投递日志开关。
参数值:
1:关闭;
2:开启
|
void |
setJumpDomain(String JumpDomain)
Set 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
void |
setName(String Name)
Set 通知渠道组名称。
|
void |
setNoticeReceivers(NoticeReceiver[] NoticeReceivers)
Set 通知接收对象。
|
void |
setNoticeRules(NoticeRule[] NoticeRules)
Set 通知规则。
注意:
- Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
- 传其中一组数据,则另一组数据置空。
|
void |
setTags(Tag[] Tags)
Set 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。
|
void |
setType(String Type)
Set 通知类型。可选值:
Trigger - 告警触发
Recovery - 告警恢复
All - 告警触发和告警恢复
|
void |
setWebCallbacks(WebCallback[] WebCallbacks)
Set 接口回调信息(包括企业微信等)。
|
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 ModifyAlarmNoticeRequest()
public ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest source)
public String getAlarmNoticeId()
public void setAlarmNoticeId(String AlarmNoticeId)
AlarmNoticeId
- 通知渠道组ID。public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 标签描述列表,通过指定该参数可以同时绑定标签到相应的通知渠道组。最大支持10个标签键值对,并且不能有重复的键值对。public String getName()
public void setName(String Name)
Name
- 通知渠道组名称。public String getType()
public void setType(String Type)
Type
- 通知类型。可选值:
public NoticeReceiver[] getNoticeReceivers()
public void setNoticeReceivers(NoticeReceiver[] NoticeReceivers)
NoticeReceivers
- 通知接收对象。public WebCallback[] getWebCallbacks()
public void setWebCallbacks(WebCallback[] WebCallbacks)
WebCallbacks
- 接口回调信息(包括企业微信等)。public NoticeRule[] getNoticeRules()
public void setNoticeRules(NoticeRule[] NoticeRules)
NoticeRules
- 通知规则。
注意:
- Type、NoticeReceivers和WebCallbacks是一组配置,NoticeRules是另一组配置,2组配置互斥。
- 传其中一组数据,则另一组数据置空。public String getJumpDomain()
public void setJumpDomain(String JumpDomain)
JumpDomain
- 调用链接域名。http:// 或者 https:// 开头,不能/结尾public Long getDeliverStatus()
public void setDeliverStatus(Long DeliverStatus)
DeliverStatus
- 投递日志开关。
参数值:
1:关闭;
2:开启public DeliverConfig getDeliverConfig()
public void setDeliverConfig(DeliverConfig DeliverConfig)
DeliverConfig
- 投递日志配置。public Long getAlarmShieldStatus()
public void setAlarmShieldStatus(Long AlarmShieldStatus)
AlarmShieldStatus
- 免登录操作告警开关。
参数值:
1:关闭
2:开启(默认开启)Copyright © 2024. All rights reserved.