public class CreateOrUpdateContactRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
contactId
The ID of the alert contact.
|
String |
contactName
The name of the alert contact.
|
String |
corpUserId |
String |
dingRobotUrl
The webhook URL of the DingTalk chatbot.
|
String |
email
The email address of the alert contact.
|
Boolean |
isEmailVerify
Specifies whether the email address is verified.
|
String |
phone
The mobile number of the alert contact.
|
Long |
reissueSendNotice
The operation that you want to perform if phone calls fail to be answered.
|
String |
resourceGroupId
The resource group ID.
|
| 构造器和说明 |
|---|
CreateOrUpdateContactRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateOrUpdateContactRequest |
build(Map<String,?> map) |
Long |
getContactId() |
String |
getContactName() |
String |
getCorpUserId() |
String |
getDingRobotUrl() |
String |
getEmail() |
Boolean |
getIsEmailVerify() |
String |
getPhone() |
Long |
getReissueSendNotice() |
String |
getResourceGroupId() |
CreateOrUpdateContactRequest |
setContactId(Long contactId) |
CreateOrUpdateContactRequest |
setContactName(String contactName) |
CreateOrUpdateContactRequest |
setCorpUserId(String corpUserId) |
CreateOrUpdateContactRequest |
setDingRobotUrl(String dingRobotUrl) |
CreateOrUpdateContactRequest |
setEmail(String email) |
CreateOrUpdateContactRequest |
setIsEmailVerify(Boolean isEmailVerify) |
CreateOrUpdateContactRequest |
setPhone(String phone) |
CreateOrUpdateContactRequest |
setReissueSendNotice(Long reissueSendNotice) |
CreateOrUpdateContactRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="ContactId") public Long contactId
The ID of the alert contact.
123
@NameInMap(value="ContactName") public String contactName
The name of the alert contact.
This parameter is required.
example:JohnDoe
@NameInMap(value="CorpUserId") public String corpUserId
@NameInMap(value="DingRobotUrl") public String dingRobotUrl
The webhook URL of the DingTalk chatbot.
example:https://oapi.dingtalk.com/robot/send?access_token=69d4e0******
@NameInMap(value="Email") public String email
The email address of the alert contact.
example:You must specify at least one of the Phone and Email parameters. Each mobile number or email address can be used for only one alert contact.
@NameInMap(value="IsEmailVerify") public Boolean isEmailVerify
Specifies whether the email address is verified.
example:true
@NameInMap(value="Phone") public String phone
The mobile number of the alert contact.
example:You must specify at least one of the Phone and Email parameters. Each mobile number or email address can be used for only one alert contact.
1381111****
@NameInMap(value="ReissueSendNotice") public Long reissueSendNotice
The operation that you want to perform if phone calls fail to be answered. Valid values:
3
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The resource group ID.
example:rg-acfmxyexli2****
public static CreateOrUpdateContactRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateOrUpdateContactRequest setContactId(Long contactId)
public Long getContactId()
public CreateOrUpdateContactRequest setContactName(String contactName)
public String getContactName()
public CreateOrUpdateContactRequest setCorpUserId(String corpUserId)
public String getCorpUserId()
public CreateOrUpdateContactRequest setDingRobotUrl(String dingRobotUrl)
public String getDingRobotUrl()
public CreateOrUpdateContactRequest setEmail(String email)
public String getEmail()
public CreateOrUpdateContactRequest setIsEmailVerify(Boolean isEmailVerify)
public Boolean getIsEmailVerify()
public CreateOrUpdateContactRequest setPhone(String phone)
public String getPhone()
public CreateOrUpdateContactRequest setReissueSendNotice(Long reissueSendNotice)
public Long getReissueSendNotice()
public CreateOrUpdateContactRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2024. All rights reserved.