public static class PhoneForUpdate.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
PhoneForUpdate |
build() |
PhoneForUpdate.Builder |
deviceType(String deviceType)
设备类型,枚举值可查询[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口获取,按如下参数查询即可:;-
object_api_name:phone;- custom_api_name:device_type
示例值:mobile_phone
|
PhoneForUpdate.Builder |
internationalAreaCode(String internationalAreaCode)
手机区号,枚举值可查询[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口获取,按如下参数查询即可:;-
object_api_name:phone;- custom_api_name:international_area_code
示例值:
|
PhoneForUpdate.Builder |
isPrimary(Boolean isPrimary)
主要电话,若有多个电话,只能有一个电话的「is_primary」为true
示例值:
|
PhoneForUpdate.Builder |
isPublic(Boolean isPublic)
示例值:
|
PhoneForUpdate.Builder |
phoneNumber(String phoneNumber)
示例值:178xxxx1234
|
PhoneForUpdate.Builder |
phoneUsage(String phoneUsage)
电话用途,枚举值可查询[获取字段详情](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom_field/get_by_param)接口获取,按如下参数查询即可:;-
custom_api_name:phone_usage;- object_api_name:phone
示例值:work
|
public PhoneForUpdate.Builder internationalAreaCode(String internationalAreaCode)
示例值:
internationalAreaCode - public PhoneForUpdate.Builder phoneNumber(String phoneNumber)
phoneNumber - public PhoneForUpdate.Builder deviceType(String deviceType)
示例值:mobile_phone
deviceType - public PhoneForUpdate.Builder phoneUsage(String phoneUsage)
示例值:work
phoneUsage - public PhoneForUpdate.Builder isPrimary(Boolean isPrimary)
示例值:
isPrimary - public PhoneForUpdate.Builder isPublic(Boolean isPublic)
isPublic - public PhoneForUpdate build()
Copyright © 2026. All rights reserved.