public static class CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
cardTemplate
The configurations of the alert card template.
|
Boolean |
dailyNoc
Indicates whether daily statistics are sent.
|
String |
dailyNocTime
The point in time at which the daily statistics are sent.
|
Boolean |
enableOutgoing
Indicates whether the Outgoing feature is enabled.
|
String |
robotAddress
The webhook URL of the IM chatbot.
|
Float |
robotId
The ID of the IM chatbot.
|
String |
robotName
The name of the IM chatbot.
|
String |
token
The token required to enable the Outgoing feature.
|
String |
type
The type of the IM chatbot.
|
| 构造器和说明 |
|---|
CreateOrUpdateIMRobotResponseBodyAlertRobot() |
@NameInMap(value="CardTemplate") public String cardTemplate
The configurations of the alert card template.
example:{ "button": [ "claim", "close", "follow", "send_itsm", "block", "unResolvedIncident" ], "field": [ { "fieldName": "alarmName", "visible": true }, { "fieldName": "notificationPolicy", "visible": true }, { "fieldName": "alarmContent", "visible": true }, { "fieldName": "alarmTime", "visible": true }, { "fieldName": "seriesChart", "visible": true }, { "fieldName": "includeEvent", "visible": true }, { "fieldName": "assigned", "visible": true }, { "fieldName": "similarAlarm", "visible": true }, { "fieldName": "operator", "visible": true } ] }
@NameInMap(value="DailyNoc") public Boolean dailyNoc
Indicates whether daily statistics are sent. Valid values:
false (default): Daily statistics are not sent.true: Daily statistics are sent.true
@NameInMap(value="DailyNocTime") public String dailyNocTime
The point in time at which the daily statistics are sent. The information that ARMS sends at the specified points in time includes the total number of alerts generated on the current day, the number of cleared alerts, and the number of alerts to be cleared.
example:09:30,17:00
@NameInMap(value="EnableOutgoing") public Boolean enableOutgoing
Indicates whether the Outgoing feature is enabled.
example:true
@NameInMap(value="RobotAddress") public String robotAddress
The webhook URL of the IM chatbot.
example:https://oapi.dingtalk.com/robot/send?access_token=e1a049121******
@NameInMap(value="RobotId") public Float robotId
The ID of the IM chatbot.
example:123
@NameInMap(value="RobotName") public String robotName
The name of the IM chatbot.
example:Chatbot name
@NameInMap(value="Token") public String token
The token required to enable the Outgoing feature.
example:1656558719183be1245ab44********
@NameInMap(value="Type") public String type
The type of the IM chatbot. Valid values:
dingding: DingTalk chatbotwechat: WeCom chatbotdingding
public CreateOrUpdateIMRobotResponseBodyAlertRobot()
public static CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot build(Map<String,?> map) throws Exception
Exceptionpublic CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setCardTemplate(String cardTemplate)
public String getCardTemplate()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setDailyNoc(Boolean dailyNoc)
public Boolean getDailyNoc()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setDailyNocTime(String dailyNocTime)
public String getDailyNocTime()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setEnableOutgoing(Boolean enableOutgoing)
public Boolean getEnableOutgoing()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setRobotAddress(String robotAddress)
public String getRobotAddress()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setRobotId(Float robotId)
public Float getRobotId()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setRobotName(String robotName)
public String getRobotName()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setToken(String token)
public String getToken()
public CreateOrUpdateIMRobotResponseBody.CreateOrUpdateIMRobotResponseBodyAlertRobot setType(String type)
public String getType()
Copyright © 2024. All rights reserved.