public class MailConfiguration extends AbstractModel
Constructor and Description |
---|
MailConfiguration() |
MailConfiguration(MailConfiguration 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 |
---|---|
Long[] |
getContactGroup()
Get Contact group ID.
|
Long[] |
getContactPerson()
Get Contact ID.
|
String[] |
getHealthStatus()
Get Sending a report with the specified health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
|
String[] |
getRegion()
Get Region configuration, such as "ap-guangzhou", "ap-shanghai".
|
Long |
getSendMail()
Get Whether to enable email sending.
|
void |
setContactGroup(Long[] ContactGroup)
Set Contact group ID.
|
void |
setContactPerson(Long[] ContactPerson)
Set Contact ID.
|
void |
setHealthStatus(String[] HealthStatus)
Set Sending a report with the specified health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".
|
void |
setRegion(String[] Region)
Set Region configuration, such as "ap-guangzhou", "ap-shanghai".
|
void |
setSendMail(Long SendMail)
Set Whether to enable email sending.
|
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 MailConfiguration()
public MailConfiguration(MailConfiguration source)
public Long getSendMail()
public void setSendMail(Long SendMail)
SendMail
- Whether to enable email sending. Valid values: 0 (No), 1 (Yes).public String[] getRegion()
public void setRegion(String[] Region)
Region
- Region configuration, such as "ap-guangzhou", "ap-shanghai". For the inspection email sending template, configure the region where you need to send the inspection email. For the subscription email sending template, configure the region to which the current subscribed instance belongs.public String[] getHealthStatus()
public void setHealthStatus(String[] HealthStatus)
HealthStatus
- Sending a report with the specified health level, such as "HEALTH", "SUB_HEALTH", "RISK", "HIGH_RISK".public Long[] getContactPerson()
public void setContactPerson(Long[] ContactPerson)
ContactPerson
- Contact ID. Either `ContactGroup` or `ContactID` should be passed in.public Long[] getContactGroup()
public void setContactGroup(Long[] ContactGroup)
ContactGroup
- Contact group ID. Either `ContactGroup` or `ContactID` should be passed in.Copyright © 2023. All rights reserved.