类 Person.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.Person.Builder
- 封闭类:
Person
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addressList(Address[] addressList) 地址列表年龄bankAccountList(BankAccount[] bankAccountList) 银行账号build()customFields(ObjectFieldData[] customFields) 自定义字段dateEnteredWorkforce(String dateEnteredWorkforce) 参加工作日期dateOfBirth(String dateOfBirth) 出生日期dependentList(Dependent[] dependentList) 亲属列表educationList(Education[] educationList) 教育经历列表emailAddress(String emailAddress) 邮箱邮箱列表emergencyContactList(EmergencyContact[] emergencyContactList) 紧急联系人列表性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得highestDegreeOfEducation(Education highestDegreeOfEducation) 最高学位教育经历highestLevelOfEducation(Education highestLevelOfEducation) 最高学历教育Person ID法定姓名maritalStatus(Enum maritalStatus) 婚姻状况,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)婚姻状况(marital_status)枚举定义部分获得nameList(PersonName[] nameList) 姓名nationalIdList(NationalId[] nationalIdList) 证件号码nationalityId(String nationalityId) 国籍idpersonalProfile(PersonalProfile[] personalProfile) 个人资料电话列表,只有当满足下面所有条件时,电话在个人信息页才可见:;- 电话号码不为空;- is_primary = "true" ;- phone_usage = "home"phoneNumber(String phoneNumber) 个人手机号preferredName(String preferredName) 常用名profileImageId(String profileImageId) 头像资源的 ID民族 / 种族,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)民族(race)枚举定义部分获得residentTaxIdList(String[] residentTaxIdList) 纳税身份信息workExperienceList(WorkExperience[] workExperienceList) 工作履历列表
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
phoneNumber
个人手机号示例值:11111111111
- 参数:
phoneNumber-- 返回:
-
legalName
法定姓名示例值:张三
- 参数:
legalName-- 返回:
-
preferredName
常用名示例值:张四
- 参数:
preferredName-- 返回:
-
id
Person ID示例值:646465654545
- 参数:
id-- 返回:
-
nameList
姓名示例值:
- 参数:
nameList-- 返回:
-
gender
性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得示例值:
- 参数:
gender-- 返回:
-
dateOfBirth
出生日期示例值:2020-01-01
- 参数:
dateOfBirth-- 返回:
-
nationalityId
国籍id示例值:123456789
- 参数:
nationalityId-- 返回:
-
race
民族 / 种族,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)民族(race)枚举定义部分获得示例值:
- 参数:
race-- 返回:
-
maritalStatus
婚姻状况,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)婚姻状况(marital_status)枚举定义部分获得示例值:
- 参数:
maritalStatus-- 返回:
-
phoneList
电话列表,只有当满足下面所有条件时,电话在个人信息页才可见:;- 电话号码不为空;- is_primary = "true" ;- phone_usage = "home"示例值:
- 参数:
phoneList-- 返回:
-
addressList
地址列表示例值:
- 参数:
addressList-- 返回:
-
emailList
邮箱列表示例值:
- 参数:
emailList-- 返回:
-
workExperienceList
工作履历列表示例值:
- 参数:
workExperienceList-- 返回:
-
educationList
教育经历列表示例值:
- 参数:
educationList-- 返回:
-
bankAccountList
银行账号示例值:
- 参数:
bankAccountList-- 返回:
-
nationalIdList
证件号码示例值:
- 参数:
nationalIdList-- 返回:
-
dependentList
亲属列表示例值:
- 参数:
dependentList-- 返回:
-
emergencyContactList
紧急联系人列表示例值:
- 参数:
emergencyContactList-- 返回:
-
dateEnteredWorkforce
参加工作日期示例值:2020-10-01
- 参数:
dateEnteredWorkforce-- 返回:
-
profileImageId
头像资源的 ID示例值:dfysuc8x76dsfsw
- 参数:
profileImageId-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
emailAddress
邮箱示例值:test@163.com
- 参数:
emailAddress-- 返回:
-
residentTaxIdList
纳税身份信息示例值:["1", "2"]
- 参数:
residentTaxIdList-- 返回:
-
age
年龄示例值:25
- 参数:
age-- 返回:
-
highestLevelOfEducation
最高学历教育示例值:
- 参数:
highestLevelOfEducation-- 返回:
-
highestDegreeOfEducation
最高学位教育经历示例值:
- 参数:
highestDegreeOfEducation-- 返回:
-
personalProfile
个人资料示例值:
- 参数:
personalProfile-- 返回:
-
build
-