Class ReceiverInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.ReceiverInfo
-
public class ReceiverInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ReceiverInfo()ReceiverInfo(ReceiverInfo 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetEndTime()Get 告警时间段结束时间。含义同StartTimeLonggetId()Get ReceiverIdLonggetNeedSendNotice()Get 是否需要电话告警触达提示。0不需要,1需要String[]getNotifyWay()Get 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"LonggetPersonInterval()Get 电话告警对个人间隔(秒)StringgetReceiveLanguage()Get 告警接收语言,枚举值(zh-CN,en-US)Long[]getReceiverGroupList()Get 接收组列表。通过平台接口查询到的接收组 ID 列表StringgetReceiverType()Get 接收人类型。“group” 或 “user”Long[]getReceiverUserList()Get 接收人列表。通过平台接口查询到的接收人 ID 列表String[]getRecoverNotify()Get 恢复通知方式。可选"SMS"LonggetRoundInterval()Get 电话告警每轮间隔(秒)LonggetRoundNumber()Get 电话告警轮数String[]getSendFor()Get 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)LonggetStartTime()Get 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"Long[]getUidList()Get 电话告警接收者 UIDvoidsetEndTime(Long EndTime)Set 告警时间段结束时间。含义同StartTimevoidsetId(Long Id)Set ReceiverIdvoidsetNeedSendNotice(Long NeedSendNotice)Set 是否需要电话告警触达提示。0不需要,1需要voidsetNotifyWay(String[] NotifyWay)Set 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"voidsetPersonInterval(Long PersonInterval)Set 电话告警对个人间隔(秒)voidsetReceiveLanguage(String ReceiveLanguage)Set 告警接收语言,枚举值(zh-CN,en-US)voidsetReceiverGroupList(Long[] ReceiverGroupList)Set 接收组列表。通过平台接口查询到的接收组 ID 列表voidsetReceiverType(String ReceiverType)Set 接收人类型。“group” 或 “user”voidsetReceiverUserList(Long[] ReceiverUserList)Set 接收人列表。通过平台接口查询到的接收人 ID 列表voidsetRecoverNotify(String[] RecoverNotify)Set 恢复通知方式。可选"SMS"voidsetRoundInterval(Long RoundInterval)Set 电话告警每轮间隔(秒)voidsetRoundNumber(Long RoundNumber)Set 电话告警轮数voidsetSendFor(String[] SendFor)Set 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)voidsetStartTime(Long StartTime)Set 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"voidsetUidList(Long[] UidList)Set 电话告警接收者 UIDvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ReceiverInfo
public ReceiverInfo()
-
ReceiverInfo
public ReceiverInfo(ReceiverInfo 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.
-
-
Method Detail
-
getStartTime
public Long getStartTime()
Get 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"- Returns:
- StartTime 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"
-
setStartTime
public void setStartTime(Long StartTime)
Set 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"- Parameters:
StartTime- 告警时间段开始时间。范围[0,86400),作为 UNIX 时间戳转成北京时间后去掉日期,例如7200表示"10:0:0"
-
getEndTime
public Long getEndTime()
Get 告警时间段结束时间。含义同StartTime- Returns:
- EndTime 告警时间段结束时间。含义同StartTime
-
setEndTime
public void setEndTime(Long EndTime)
Set 告警时间段结束时间。含义同StartTime- Parameters:
EndTime- 告警时间段结束时间。含义同StartTime
-
getNotifyWay
public String[] getNotifyWay()
Get 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"- Returns:
- NotifyWay 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"
-
setNotifyWay
public void setNotifyWay(String[] NotifyWay)
Set 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"- Parameters:
NotifyWay- 告警通知方式。可选 "SMS","SITE","EMAIL","CALL","WECHAT"
-
getReceiverType
public String getReceiverType()
Get 接收人类型。“group” 或 “user”- Returns:
- ReceiverType 接收人类型。“group” 或 “user”
-
setReceiverType
public void setReceiverType(String ReceiverType)
Set 接收人类型。“group” 或 “user”- Parameters:
ReceiverType- 接收人类型。“group” 或 “user”
-
getId
public Long getId()
Get ReceiverId- Returns:
- Id ReceiverId
-
setId
public void setId(Long Id)
Set ReceiverId- Parameters:
Id- ReceiverId
-
getSendFor
public String[] getSendFor()
Get 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)- Returns:
- SendFor 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)
-
setSendFor
public void setSendFor(String[] SendFor)
Set 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)- Parameters:
SendFor- 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)
-
getUidList
public Long[] getUidList()
Get 电话告警接收者 UID- Returns:
- UidList 电话告警接收者 UID
-
setUidList
public void setUidList(Long[] UidList)
Set 电话告警接收者 UID- Parameters:
UidList- 电话告警接收者 UID
-
getRoundNumber
public Long getRoundNumber()
Get 电话告警轮数- Returns:
- RoundNumber 电话告警轮数
-
setRoundNumber
public void setRoundNumber(Long RoundNumber)
Set 电话告警轮数- Parameters:
RoundNumber- 电话告警轮数
-
getPersonInterval
public Long getPersonInterval()
Get 电话告警对个人间隔(秒)- Returns:
- PersonInterval 电话告警对个人间隔(秒)
-
setPersonInterval
public void setPersonInterval(Long PersonInterval)
Set 电话告警对个人间隔(秒)- Parameters:
PersonInterval- 电话告警对个人间隔(秒)
-
getRoundInterval
public Long getRoundInterval()
Get 电话告警每轮间隔(秒)- Returns:
- RoundInterval 电话告警每轮间隔(秒)
-
setRoundInterval
public void setRoundInterval(Long RoundInterval)
Set 电话告警每轮间隔(秒)- Parameters:
RoundInterval- 电话告警每轮间隔(秒)
-
getRecoverNotify
public String[] getRecoverNotify()
Get 恢复通知方式。可选"SMS"- Returns:
- RecoverNotify 恢复通知方式。可选"SMS"
-
setRecoverNotify
public void setRecoverNotify(String[] RecoverNotify)
Set 恢复通知方式。可选"SMS"- Parameters:
RecoverNotify- 恢复通知方式。可选"SMS"
-
getNeedSendNotice
public Long getNeedSendNotice()
Get 是否需要电话告警触达提示。0不需要,1需要- Returns:
- NeedSendNotice 是否需要电话告警触达提示。0不需要,1需要
-
setNeedSendNotice
public void setNeedSendNotice(Long NeedSendNotice)
Set 是否需要电话告警触达提示。0不需要,1需要- Parameters:
NeedSendNotice- 是否需要电话告警触达提示。0不需要,1需要
-
getReceiverGroupList
public Long[] getReceiverGroupList()
Get 接收组列表。通过平台接口查询到的接收组 ID 列表- Returns:
- ReceiverGroupList 接收组列表。通过平台接口查询到的接收组 ID 列表
-
setReceiverGroupList
public void setReceiverGroupList(Long[] ReceiverGroupList)
Set 接收组列表。通过平台接口查询到的接收组 ID 列表- Parameters:
ReceiverGroupList- 接收组列表。通过平台接口查询到的接收组 ID 列表
-
getReceiverUserList
public Long[] getReceiverUserList()
Get 接收人列表。通过平台接口查询到的接收人 ID 列表- Returns:
- ReceiverUserList 接收人列表。通过平台接口查询到的接收人 ID 列表
-
setReceiverUserList
public void setReceiverUserList(Long[] ReceiverUserList)
Set 接收人列表。通过平台接口查询到的接收人 ID 列表- Parameters:
ReceiverUserList- 接收人列表。通过平台接口查询到的接收人 ID 列表
-
getReceiveLanguage
public String getReceiveLanguage()
Get 告警接收语言,枚举值(zh-CN,en-US)- Returns:
- ReceiveLanguage 告警接收语言,枚举值(zh-CN,en-US)
-
setReceiveLanguage
public void setReceiveLanguage(String ReceiveLanguage)
Set 告警接收语言,枚举值(zh-CN,en-US)- Parameters:
ReceiveLanguage- 告警接收语言,枚举值(zh-CN,en-US)
-
-