public class AlarmInfo extends AbstractModel
Constructor and Description |
---|
AlarmInfo() |
AlarmInfo(AlarmInfo 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 |
getAlarmId()
Get 告警信息id
|
String |
getAlarmRecipient()
Get 告警接收人,多个告警接收人以;分割
|
String |
getAlarmRecipientId()
Get 告警接收人id,多个告警接收人id以;分割
|
String |
getAlarmType()
Get 告警类别;failure表示失败告警;overtime表示超时告警
|
String |
getAlarmWay()
Get 告警方式;SMS表示短信;Email表示邮件;HTTP 表示接口方式;Wechat表示微信方式
|
Long |
getHours()
Get 预计运行的小时,取值范围0-23
|
Long |
getMinutes()
Get 预计运行分钟,取值范围0-59
|
Long |
getStatus()
Get 告警状态设置;1表示可用;0表示不可用,默认可用
|
String |
getTaskIds()
Get 关联任务id
|
Long |
getTriggerType()
Get 告警出发时机;1表示第一次运行失败;2表示所有重试完成后失败;
|
void |
setAlarmId(String AlarmId)
Set 告警信息id
|
void |
setAlarmRecipient(String AlarmRecipient)
Set 告警接收人,多个告警接收人以;分割
|
void |
setAlarmRecipientId(String AlarmRecipientId)
Set 告警接收人id,多个告警接收人id以;分割
|
void |
setAlarmType(String AlarmType)
Set 告警类别;failure表示失败告警;overtime表示超时告警
|
void |
setAlarmWay(String AlarmWay)
Set 告警方式;SMS表示短信;Email表示邮件;HTTP 表示接口方式;Wechat表示微信方式
|
void |
setHours(Long Hours)
Set 预计运行的小时,取值范围0-23
|
void |
setMinutes(Long Minutes)
Set 预计运行分钟,取值范围0-59
|
void |
setStatus(Long Status)
Set 告警状态设置;1表示可用;0表示不可用,默认可用
|
void |
setTaskIds(String TaskIds)
Set 关联任务id
|
void |
setTriggerType(Long TriggerType)
Set 告警出发时机;1表示第一次运行失败;2表示所有重试完成后失败;
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AlarmInfo()
public AlarmInfo(AlarmInfo source)
public String getTaskIds()
public void setTaskIds(String TaskIds)
TaskIds
- 关联任务idpublic String getAlarmType()
public void setAlarmType(String AlarmType)
AlarmType
- 告警类别;failure表示失败告警;overtime表示超时告警public String getAlarmWay()
public void setAlarmWay(String AlarmWay)
AlarmWay
- 告警方式;SMS表示短信;Email表示邮件;HTTP 表示接口方式;Wechat表示微信方式public String getAlarmRecipient()
public void setAlarmRecipient(String AlarmRecipient)
AlarmRecipient
- 告警接收人,多个告警接收人以;分割public String getAlarmRecipientId()
public void setAlarmRecipientId(String AlarmRecipientId)
AlarmRecipientId
- 告警接收人id,多个告警接收人id以;分割public Long getHours()
public void setHours(Long Hours)
Hours
- 预计运行的小时,取值范围0-23public Long getMinutes()
public void setMinutes(Long Minutes)
Minutes
- 预计运行分钟,取值范围0-59public Long getTriggerType()
public void setTriggerType(Long TriggerType)
TriggerType
- 告警出发时机;1表示第一次运行失败;2表示所有重试完成后失败;public String getAlarmId()
public void setAlarmId(String AlarmId)
AlarmId
- 告警信息idpublic Long getStatus()
public void setStatus(Long Status)
Status
- 告警状态设置;1表示可用;0表示不可用,默认可用Copyright © 2022. All rights reserved.