public static class EmergencyContactForUpdate.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
EmergencyContactForUpdate.Builder |
address(AddressForUpdate address)
地址
示例值:
|
EmergencyContactForUpdate |
build() |
EmergencyContactForUpdate.Builder |
customFields(ObjectFieldData[] customFields)
自定义字段
示例值:
|
EmergencyContactForUpdate.Builder |
email(EmailForUpdate email)
邮箱
示例值:
|
EmergencyContactForUpdate.Builder |
isPrimary(Boolean isPrimary)
主要联系人,若有多个联系人,只能有一个联系人的「is_primary」为true
示例值:
|
EmergencyContactForUpdate.Builder |
legalName(String legalName)
示例值:
|
EmergencyContactForUpdate.Builder |
phones(PhoneForUpdate[] phones)
示例值:
|
EmergencyContactForUpdate.Builder |
relationship(String relationship)
紧急联系人与本人亲属关系,枚举值可查询[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口获取,按如下参数查询即可:;-
object_api_name:emergency_contact;- custom_api_name:relationship
示例值:parent
|
public EmergencyContactForUpdate.Builder legalName(String legalName)
legalName - public EmergencyContactForUpdate.Builder relationship(String relationship)
示例值:parent
relationship - public EmergencyContactForUpdate.Builder phones(PhoneForUpdate[] phones)
phones - public EmergencyContactForUpdate.Builder address(AddressForUpdate address)
示例值:
address - public EmergencyContactForUpdate.Builder email(EmailForUpdate email)
示例值:
email - public EmergencyContactForUpdate.Builder isPrimary(Boolean isPrimary)
示例值:
isPrimary - public EmergencyContactForUpdate.Builder customFields(ObjectFieldData[] customFields)
示例值:
customFields - public EmergencyContactForUpdate build()
Copyright © 2026. All rights reserved.