public class AlarmNotice extends AbstractModel
Constructor and Description |
---|
AlarmNotice() |
AlarmNotice(AlarmNotice 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 |
getAMPConsumerId()
Get Backend AMP consumer ID.
|
CLSNotice[] |
getCLSNotices()
Get Channel to push alarm notifications to CLS.
|
String |
getId()
Get Alarm notification template ID
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getIsPreset()
Get Whether it is the system default notification template.
|
String |
getName()
Get Alarm notification template name
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getNoticeLanguage()
Get Notification language.
|
String |
getNoticeType()
Get Alarm notification type.
|
String[] |
getPolicyIds()
Get List of IDs of the alarm policies bound to alarm notification template
Note: this field may return null, indicating that no valid values can be obtained.
|
Tag[] |
getTags()
Get Tags bound to a notification template
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUpdatedAt()
Get Last modified time
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getUpdatedBy()
Get Last modified by
Note: this field may return null, indicating that no valid values can be obtained.
|
URLNotice[] |
getURLNotices()
Get Callback notification list
Note: this field may return null, indicating that no valid values can be obtained.
|
UserNotice[] |
getUserNotices()
Get User notification list
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setAMPConsumerId(String AMPConsumerId)
Set Backend AMP consumer ID.
|
void |
setCLSNotices(CLSNotice[] CLSNotices)
Set Channel to push alarm notifications to CLS.
|
void |
setId(String Id)
Set Alarm notification template ID
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setIsPreset(Long IsPreset)
Set Whether it is the system default notification template.
|
void |
setName(String Name)
Set Alarm notification template name
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setNoticeLanguage(String NoticeLanguage)
Set Notification language.
|
void |
setNoticeType(String NoticeType)
Set Alarm notification type.
|
void |
setPolicyIds(String[] PolicyIds)
Set List of IDs of the alarm policies bound to alarm notification template
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setTags(Tag[] Tags)
Set Tags bound to a notification template
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUpdatedAt(String UpdatedAt)
Set Last modified time
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setUpdatedBy(String UpdatedBy)
Set Last modified by
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setURLNotices(URLNotice[] URLNotices)
Set Callback notification list
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setUserNotices(UserNotice[] UserNotices)
Set User notification list
Note: this field may return null, indicating that no valid values can be obtained.
|
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 AlarmNotice()
public AlarmNotice(AlarmNotice source)
public String getId()
public void setId(String Id)
Id
- Alarm notification template ID
Note: this field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name
- Alarm notification template name
Note: this field may return null, indicating that no valid values can be obtained.public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt
- Last modified time
Note: this field may return null, indicating that no valid values can be obtained.public String getUpdatedBy()
public void setUpdatedBy(String UpdatedBy)
UpdatedBy
- Last modified by
Note: this field may return null, indicating that no valid values can be obtained.public String getNoticeType()
public void setNoticeType(String NoticeType)
NoticeType
- Alarm notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms)
Note: this field may return null, indicating that no valid values can be obtained.public UserNotice[] getUserNotices()
public void setUserNotices(UserNotice[] UserNotices)
UserNotices
- User notification list
Note: this field may return null, indicating that no valid values can be obtained.public URLNotice[] getURLNotices()
public void setURLNotices(URLNotice[] URLNotices)
URLNotices
- Callback notification list
Note: this field may return null, indicating that no valid values can be obtained.public Long getIsPreset()
public void setIsPreset(Long IsPreset)
IsPreset
- Whether it is the system default notification template. Valid values: 0 (no), 1 (yes)
Note: this field may return null, indicating that no valid values can be obtained.public String getNoticeLanguage()
public void setNoticeLanguage(String NoticeLanguage)
NoticeLanguage
- Notification language. Valid values: zh-CN (Chinese), en-US (English)
Note: this field may return null, indicating that no valid values can be obtained.public String[] getPolicyIds()
public void setPolicyIds(String[] PolicyIds)
PolicyIds
- List of IDs of the alarm policies bound to alarm notification template
Note: this field may return null, indicating that no valid values can be obtained.public String getAMPConsumerId()
public void setAMPConsumerId(String AMPConsumerId)
AMPConsumerId
- Backend AMP consumer ID.
Note: This field may return null, indicating that no valid values can be obtained.public CLSNotice[] getCLSNotices()
public void setCLSNotices(CLSNotice[] CLSNotices)
CLSNotices
- Channel to push alarm notifications to CLS.
Note: This field may return `null`, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tags bound to a notification template
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.