public class ModifyAlarmNoticeRequest extends AbstractModel
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 |
getModule()
Get Module name.
|
String |
getName()
Get Alarm notification rule name, which can contain up to 60 characters
|
String |
getNoticeId()
Get Alarm notification template ID
|
String |
getNoticeLanguage()
Get Notification language.
|
String |
getNoticeType()
Get Notification type.
|
URLNotice[] |
getURLNotices()
Get Callback notifications (up to 3)
|
UserNotice[] |
getUserNotices()
Get User notifications (up to 5)
|
void |
setModule(String Module)
Set Module name.
|
void |
setName(String Name)
Set Alarm notification rule name, which can contain up to 60 characters
|
void |
setNoticeId(String NoticeId)
Set Alarm notification template ID
|
void |
setNoticeLanguage(String NoticeLanguage)
Set Notification language.
|
void |
setNoticeType(String NoticeType)
Set Notification type.
|
void |
setURLNotices(URLNotice[] URLNotices)
Set Callback notifications (up to 3)
|
void |
setUserNotices(UserNotice[] UserNotices)
Set User notifications (up to 5)
|
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 ModifyAlarmNoticeRequest()
public ModifyAlarmNoticeRequest(ModifyAlarmNoticeRequest source)
public String getModule()
public void setModule(String Module)
Module
- Module name. Enter "monitor" herepublic String getName()
public void setName(String Name)
Name
- Alarm notification rule name, which can contain up to 60 characterspublic String getNoticeType()
public void setNoticeType(String NoticeType)
NoticeType
- Notification type. Valid values: ALARM (for unresolved alarms), OK (for resolved alarms), ALL (for all alarms)public String getNoticeLanguage()
public void setNoticeLanguage(String NoticeLanguage)
NoticeLanguage
- Notification language. Valid values: zh-CN (Chinese), en-US (English)public String getNoticeId()
public void setNoticeId(String NoticeId)
NoticeId
- Alarm notification template IDpublic UserNotice[] getUserNotices()
public void setUserNotices(UserNotice[] UserNotices)
UserNotices
- User notifications (up to 5)public URLNotice[] getURLNotices()
public void setURLNotices(URLNotice[] URLNotices)
URLNotices
- Callback notifications (up to 3)Copyright © 2021. All rights reserved.