public static class DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,?> |
bizHeaders
The header of the HTTP request.
|
Map<String,?> |
bizParams
The parameters in the HTTP request.
|
String |
body
The alert notification template.
|
String |
method
The HTTP request method.
|
String |
recoverBody
The notification template for clearing alerts.
|
String |
url
The URL of the request method.
|
| 构造器和说明 |
|---|
DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook() |
@NameInMap(value="BizHeaders") public Map<String,?> bizHeaders
The header of the HTTP request.
example:[{"Content-Type":"application/json"}]
@NameInMap(value="BizParams") public Map<String,?> bizParams
The parameters in the HTTP request.
example:[{"content:"mike"}]
@NameInMap(value="Body") public String body
The alert notification template.
example:{ "Alert name":"{{ .commonLabels.alertname }}{{if .commonLabels.clustername }}", "Cluster name":"{{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }}", "Application name":"{{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }}", "Notification policy":"{{ .dispatchRuleName }}", "Alert time":"{{ .startTime }}", "Alert content":"{{ for .alerts }} {{ .annotations.message }} {{ end }}" }
@NameInMap(value="Method") public String method
The HTTP request method.
Post
@NameInMap(value="RecoverBody") public String recoverBody
The notification template for clearing alerts.
example:{ "Alert name":"{{ .commonLabels.alertname }}{{if .commonLabels.clustername }}", "Cluster name":"{{ .commonLabels.clustername }} {{ end }}{{if eq "app" .commonLabels._aliyun_arms_involvedObject_kind }}", "Application name":"{{ .commonLabels._aliyun_arms_involvedObject_name }} {{ end }}", "Notification policy":"{{ .dispatchRuleName }}", "Recovery time":"{{ .endTime }}", "Alert content":"{{ for .alerts }} {{ .annotations.message }} {{ end }}" }
@NameInMap(value="Url") public String url
The URL of the request method.
example:https://oapi.dingtalk.com/robot/send?access_token=91f2f6****
public DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook()
public static DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook build(Map<String,?> map) throws Exception
Exceptionpublic DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setBizHeaders(Map<String,?> bizHeaders)
public DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setBizParams(Map<String,?> bizParams)
public DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setBody(String body)
public String getBody()
public DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setMethod(String method)
public String getMethod()
public DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setRecoverBody(String recoverBody)
public String getRecoverBody()
public DescribeWebhookContactsResponseBody.DescribeWebhookContactsResponseBodyPageBeanWebhookContactsWebhook setUrl(String url)
public String getUrl()
Copyright © 2024. All rights reserved.