public class NoticeContentInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
NoticeContentInfo() |
NoticeContentInfo(NoticeContentInfo 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 |
getContent()
Get 通知内容模板正文信息。
|
String[] |
getHeaders()
Get 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
仅“自定义回调”支持该配置。
|
String |
getTitle()
Get 通知内容模板标题信息。
部分通知渠道类型不支持“标题”,请参照[腾讯云控制台页面](https://console.cloud.tencent.com/cls/alarm/notice-template)。
|
void |
setContent(String Content)
Set 通知内容模板正文信息。
|
void |
setHeaders(String[] Headers)
Set 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
仅“自定义回调”支持该配置。
|
void |
setTitle(String Title)
Set 通知内容模板标题信息。
部分通知渠道类型不支持“标题”,请参照[腾讯云控制台页面](https://console.cloud.tencent.com/cls/alarm/notice-template)。
|
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 NoticeContentInfo()
public NoticeContentInfo(NoticeContentInfo source)
public String getTitle()
public void setTitle(String Title)
Title
- 通知内容模板标题信息。
部分通知渠道类型不支持“标题”,请参照[腾讯云控制台页面](https://console.cloud.tencent.com/cls/alarm/notice-template)。public String getContent()
public void setContent(String Content)
Content
- 通知内容模板正文信息。public String[] getHeaders()
public void setHeaders(String[] Headers)
Headers
- 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
仅“自定义回调”支持该配置。Copyright © 2025. All rights reserved.