public class DashboardNoticeMode extends AbstractModel
header, skipSign
Constructor and Description |
---|
DashboardNoticeMode() |
DashboardNoticeMode(DashboardNoticeMode 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[] |
getReceiverChannels()
Get 仪表盘通知渠道。
- 支持:["Email","Sms","WeChat","Phone"]。
- 当ReceiverType为 `Email` 或 `WeCom` 时,ReceiverChannels无效。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getReceiverType()
Get 仪表盘通知方式。
- Uin:腾讯云用户
- Group:腾讯云用户组
- WeCom:企业微信回调
- Email:自定义邮件
- DingTalk:钉钉
- Lark:飞书
|
String |
getUrl()
Get 订阅方式 - 回调地址。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Url字段必填为各渠道的回调地址。
- 为:`WeCom` 时,Url为 企业微信回调地址。
- 为:`DingTalk` 时,Url为 钉钉机器人Webhook地址。
- 为:`Lark` 时,Url为 飞书机器人Webhook地址。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Url字段必须为空。
|
String[] |
getValues()
Get 知方式对应的值。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Values必须为空,且Url字段必填。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Values必填,且Url字段必须为空。
- 当ReceiverType为:`Uin ` 时,Values为用户id,通过 [拉取子用户](https://cloud.tencent.com/document/product/598/34587) 获取子用户 UID 。
- 当ReceiverType为:`Group` 时,Values为用户组id,通过 [查询用户组列表](https://cloud.tencent.com/document/product/598/34589) 获取用户组 ID 。
- 当ReceiverType为:`Email` 时,Values为用户邮箱信息。
|
void |
setReceiverChannels(String[] ReceiverChannels)
Set 仪表盘通知渠道。
- 支持:["Email","Sms","WeChat","Phone"]。
- 当ReceiverType为 `Email` 或 `WeCom` 时,ReceiverChannels无效。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setReceiverType(String ReceiverType)
Set 仪表盘通知方式。
- Uin:腾讯云用户
- Group:腾讯云用户组
- WeCom:企业微信回调
- Email:自定义邮件
- DingTalk:钉钉
- Lark:飞书
|
void |
setUrl(String Url)
Set 订阅方式 - 回调地址。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Url字段必填为各渠道的回调地址。
- 为:`WeCom` 时,Url为 企业微信回调地址。
- 为:`DingTalk` 时,Url为 钉钉机器人Webhook地址。
- 为:`Lark` 时,Url为 飞书机器人Webhook地址。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Url字段必须为空。
|
void |
setValues(String[] Values)
Set 知方式对应的值。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Values必须为空,且Url字段必填。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Values必填,且Url字段必须为空。
- 当ReceiverType为:`Uin ` 时,Values为用户id,通过 [拉取子用户](https://cloud.tencent.com/document/product/598/34587) 获取子用户 UID 。
- 当ReceiverType为:`Group` 时,Values为用户组id,通过 [查询用户组列表](https://cloud.tencent.com/document/product/598/34589) 获取用户组 ID 。
- 当ReceiverType为:`Email` 时,Values为用户邮箱信息。
|
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, toJsonString
public DashboardNoticeMode()
public DashboardNoticeMode(DashboardNoticeMode source)
public String getReceiverType()
public void setReceiverType(String ReceiverType)
ReceiverType
- 仪表盘通知方式。
- Uin:腾讯云用户
- Group:腾讯云用户组
- WeCom:企业微信回调
- Email:自定义邮件
- DingTalk:钉钉
- Lark:飞书public String[] getValues()
public void setValues(String[] Values)
Values
- 知方式对应的值。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Values必须为空,且Url字段必填。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Values必填,且Url字段必须为空。
- 当ReceiverType为:`Uin ` 时,Values为用户id,通过 [拉取子用户](https://cloud.tencent.com/document/product/598/34587) 获取子用户 UID 。
- 当ReceiverType为:`Group` 时,Values为用户组id,通过 [查询用户组列表](https://cloud.tencent.com/document/product/598/34589) 获取用户组 ID 。
- 当ReceiverType为:`Email` 时,Values为用户邮箱信息。public String[] getReceiverChannels()
public void setReceiverChannels(String[] ReceiverChannels)
ReceiverChannels
- 仪表盘通知渠道。
- 支持:["Email","Sms","WeChat","Phone"]。
- 当ReceiverType为 `Email` 或 `WeCom` 时,ReceiverChannels无效。
注意:此字段可能返回 null,表示取不到有效值。public String getUrl()
public void setUrl(String Url)
Url
- 订阅方式 - 回调地址。
- 当ReceiverType为:`WeCom`、`DingTalk`、`Lark` 时,Url字段必填为各渠道的回调地址。
- 为:`WeCom` 时,Url为 企业微信回调地址。
- 为:`DingTalk` 时,Url为 钉钉机器人Webhook地址。
- 为:`Lark` 时,Url为 飞书机器人Webhook地址。
- 当ReceiverType为:`Uin`、`Group`、`Email` 时,Url字段必须为空。Copyright © 2025. All rights reserved.