public class PrometheusNotification extends AbstractModel
| Constructor and Description | 
|---|
| PrometheusNotification() | 
| PrometheusNotification(PrometheusNotification 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 | 
|---|---|
| Boolean | getEnabled()Get Whether it is enabled | 
| String[] | getNotifyWay()Get Alarm delivery method. | 
| Boolean | getPhoneArriveNotice()Get Phone call alarm arrival notification
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| Long | getPhoneCircleInterval()Get Polling interval in seconds
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| Long | getPhoneCircleTimes()Get The number of phone call alarms
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| Long | getPhoneInnerInterval()Get Dialing interval in seconds within one polling
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| Long[] | getPhoneNotifyOrder()Get The alarm sequence of phone calls
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| Long[] | getReceiverGroups()Get The alarm recipient group (user group)
Note: this field may return `null`, indicating that no valid value can be obtained. | 
| String | getRepeatInterval()Get Convergence time | 
| String | getTimeRangeEnd()Get End time | 
| String | getTimeRangeStart()Get Start time | 
| String | getType()Get Channel type. | 
| String | getWebHook()Get This parameter is required if `Type` is `webhook`. | 
| void | setEnabled(Boolean Enabled)Set Whether it is enabled | 
| void | setNotifyWay(String[] NotifyWay)Set Alarm delivery method. | 
| void | setPhoneArriveNotice(Boolean PhoneArriveNotice)Set Phone call alarm arrival notification
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| void | setPhoneCircleInterval(Long PhoneCircleInterval)Set Polling interval in seconds
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| void | setPhoneCircleTimes(Long PhoneCircleTimes)Set The number of phone call alarms
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| void | setPhoneInnerInterval(Long PhoneInnerInterval)Set Dialing interval in seconds within one polling
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| void | setPhoneNotifyOrder(Long[] PhoneNotifyOrder)Set The alarm sequence of phone calls
This parameter is used when you specify `CALL` for `NotifyWay`. | 
| void | setReceiverGroups(Long[] ReceiverGroups)Set The alarm recipient group (user group)
Note: this field may return `null`, indicating that no valid value can be obtained. | 
| void | setRepeatInterval(String RepeatInterval)Set Convergence time | 
| void | setTimeRangeEnd(String TimeRangeEnd)Set End time | 
| void | setTimeRangeStart(String TimeRangeStart)Set Start time | 
| void | setType(String Type)Set Channel type. | 
| void | setWebHook(String WebHook)Set This parameter is required if `Type` is `webhook`. | 
| 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, toJsonStringpublic PrometheusNotification()
public PrometheusNotification(PrometheusNotification source)
public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled - Whether it is enabledpublic String getRepeatInterval()
public void setRepeatInterval(String RepeatInterval)
RepeatInterval - Convergence timepublic String getTimeRangeStart()
public void setTimeRangeStart(String TimeRangeStart)
TimeRangeStart - Start timepublic String getTimeRangeEnd()
public void setTimeRangeEnd(String TimeRangeEnd)
TimeRangeEnd - End timepublic String[] getNotifyWay()
public void setNotifyWay(String[] NotifyWay)
NotifyWay - Alarm delivery method. Valid values: `SMS`, `EMAIL`, `CALL`, and `WECHAT`
It respectively represents SMS, email, phone calls, and WeChat.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long[] getReceiverGroups()
public void setReceiverGroups(Long[] ReceiverGroups)
ReceiverGroups - The alarm recipient group (user group)
Note: this field may return `null`, indicating that no valid value can be obtained.public Long[] getPhoneNotifyOrder()
public void setPhoneNotifyOrder(Long[] PhoneNotifyOrder)
PhoneNotifyOrder - The alarm sequence of phone calls
This parameter is used when you specify `CALL` for `NotifyWay`.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long getPhoneCircleTimes()
public void setPhoneCircleTimes(Long PhoneCircleTimes)
PhoneCircleTimes - The number of phone call alarms
This parameter is used when you specify `CALL` for `NotifyWay`.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long getPhoneInnerInterval()
public void setPhoneInnerInterval(Long PhoneInnerInterval)
PhoneInnerInterval - Dialing interval in seconds within one polling
This parameter is used when you specify `CALL` for `NotifyWay`.
Note: this field may return `null`, indicating that no valid value can be obtained.public Long getPhoneCircleInterval()
public void setPhoneCircleInterval(Long PhoneCircleInterval)
PhoneCircleInterval - Polling interval in seconds
This parameter is used when you specify `CALL` for `NotifyWay`.
Note: this field may return `null`, indicating that no valid value can be obtained.public Boolean getPhoneArriveNotice()
public void setPhoneArriveNotice(Boolean PhoneArriveNotice)
PhoneArriveNotice - Phone call alarm arrival notification
This parameter is used when you specify `CALL` for `NotifyWay`.
Note: this field may return `null`, indicating that no valid value can be obtained.public String getType()
public void setType(String Type)
Type - Channel type. Default value: `amp`. The following channels are supported:
amp
webhook
Note: this field may return `null`, indicating that no valid value can be obtained.public String getWebHook()
public void setWebHook(String WebHook)
WebHook - This parameter is required if `Type` is `webhook`.
Note: this field may return `null`, indicating that no valid value can be obtained.Copyright © 2022. All rights reserved.