public class AlarmInfo extends AbstractModel
header, skipSign| 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 Alert Information ID
|
String |
getAlarmRecipient()
Get Alert Recipient, multiple recipients separated by ;
|
String |
getAlarmRecipientId()
Get Alert Recipient ID, multiple recipient IDs separated by ;
|
String |
getAlarmType()
Get Alert Categories; 'failure' indicates failure alert; 'overtime' indicates timeout alert
|
String |
getAlarmWay()
Get Alert Method; 'SMS' indicates SMS; 'Email' indicates email; 'HTTP' indicates an interface method; 'Wechat' indicates WeChat method
|
Long |
getHours()
Get Estimated Running Hours, value range 0-23
|
Long |
getMinutes()
Get Estimated Running Minutes, value range 0-59
|
Long |
getStatus()
Get Alert Status Setting; '1' indicates available; '0' indicates unavailable, default is available
|
String |
getTaskIds()
Get Associated Task ID
|
Long |
getTriggerType()
Get Alert Trigger Moment; '1' means first run failure; '2' means failure after all retries;
|
void |
setAlarmId(String AlarmId)
Set Alert Information ID
|
void |
setAlarmRecipient(String AlarmRecipient)
Set Alert Recipient, multiple recipients separated by ;
|
void |
setAlarmRecipientId(String AlarmRecipientId)
Set Alert Recipient ID, multiple recipient IDs separated by ;
|
void |
setAlarmType(String AlarmType)
Set Alert Categories; 'failure' indicates failure alert; 'overtime' indicates timeout alert
|
void |
setAlarmWay(String AlarmWay)
Set Alert Method; 'SMS' indicates SMS; 'Email' indicates email; 'HTTP' indicates an interface method; 'Wechat' indicates WeChat method
|
void |
setHours(Long Hours)
Set Estimated Running Hours, value range 0-23
|
void |
setMinutes(Long Minutes)
Set Estimated Running Minutes, value range 0-59
|
void |
setStatus(Long Status)
Set Alert Status Setting; '1' indicates available; '0' indicates unavailable, default is available
|
void |
setTaskIds(String TaskIds)
Set Associated Task ID
|
void |
setTriggerType(Long TriggerType)
Set Alert Trigger Moment; '1' means first run failure; '2' means failure after all retries;
|
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 AlarmInfo()
public AlarmInfo(AlarmInfo source)
public String getTaskIds()
public void setTaskIds(String TaskIds)
TaskIds - Associated Task IDpublic String getAlarmType()
public void setAlarmType(String AlarmType)
AlarmType - Alert Categories; 'failure' indicates failure alert; 'overtime' indicates timeout alertpublic String getAlarmWay()
public void setAlarmWay(String AlarmWay)
AlarmWay - Alert Method; 'SMS' indicates SMS; 'Email' indicates email; 'HTTP' indicates an interface method; 'Wechat' indicates WeChat methodpublic String getAlarmRecipient()
public void setAlarmRecipient(String AlarmRecipient)
AlarmRecipient - Alert Recipient, multiple recipients separated by ;public String getAlarmRecipientId()
public void setAlarmRecipientId(String AlarmRecipientId)
AlarmRecipientId - Alert Recipient ID, multiple recipient IDs separated by ;public Long getHours()
public void setHours(Long Hours)
Hours - Estimated Running Hours, value range 0-23public Long getMinutes()
public void setMinutes(Long Minutes)
Minutes - Estimated Running Minutes, value range 0-59public Long getTriggerType()
public void setTriggerType(Long TriggerType)
TriggerType - Alert Trigger Moment; '1' means first run failure; '2' means failure after all retries;public String getAlarmId()
public void setAlarmId(String AlarmId)
AlarmId - Alert Information IDpublic Long getStatus()
public void setStatus(Long Status)
Status - Alert Status Setting; '1' indicates available; '0' indicates unavailable, default is availableCopyright © 2025. All rights reserved.