类 PersonInfo.Builder
java.lang.Object
com.lark.oapi.service.corehr.v2.model.PersonInfo.Builder
- 封闭类:
PersonInfo
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addressList(Address[] addressList) 地址列表年龄bankAccountList(BankAccount[] bankAccountList) 银行账户bornCountryRegion(String bornCountryRegion) 出生国家/地区build()customFields(CustomFieldData[] customFields) 自定义字段dateEnteredWorkforce(String dateEnteredWorkforce) 参加工作日期dateOfBirth(String dateOfBirth) 出生日期dependentList(Dependent[] dependentList) 家庭成员列表disableCardNumber(String disableCardNumber) 残疾证号educationList(Education[] educationList) 教育经历列表emailAddress(String emailAddress) 邮箱地址邮箱列表emergencyContactList(EmergencyContact[] emergencyContactList) 紧急联系人列表familyAddress(String familyAddress) 家庭地址firstEntryTime(String firstEntryTime) 首次入境日期-| 性别,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:gender - object_api_name:personhighestDegreeOfEducation(Education highestDegreeOfEducation) 最高学位教育经历highestLevelOfEducation(Education highestLevelOfEducation) 最高学历教育经历hukouLocation(String hukouLocation) 户口所在地户口类型,枚举值可通过文档【飞书人事枚举常量】户口类型(hukou_type)枚举定义部分获得isDisabled(Boolean isDisabled) 是否残疾isMartyrFamily(Boolean isMartyrFamily) 是否烈属isOldAlone(Boolean isOldAlone) 是否孤老预计离境日期法定姓名maritalStatus(Enum maritalStatus) -| 婚姻状况,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:marital_status - object_api_name:personmartyrCardNumber(String martyrCardNumber) 烈属证号nameList(PersonName[] nameList) 姓名列表nationalIdList(NationalId[] nationalIdList) 证件nationalIdNumber(String nationalIdNumber) 居民身份证件号码nationalityIdV2(String nationalityIdV2) 国籍 ID,可通过【查询国籍信息】接口查询nativeRegion(String nativeRegion) 籍贯 IDpersonalProfile(PersonalProfile[] personalProfile) 个人资料附件个人信息 IDpersonInfoChns(PersonInfoChn[] personInfoChns) 个人附加信息电话列表,只有当满足下面所有条件时,电话在个人信息页才可见phoneNumber(String phoneNumber) 个人电话politicalAffiliations(Enum[] politicalAffiliations) 政治面貌,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:political_affiliation - object_api_name:person_info_chnpreferredEnglishFullName(String preferredEnglishFullName) 常用英文全名preferredLocalFullName(String preferredLocalFullName) 常用本地全名preferredName(String preferredName) 常用名profileImageId(String profileImageId) 头像资源的 ID-| 民族 / 种族,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:ethnicity_race - object_api_name:person-| 宗教信仰,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name:person - custom_api_name:religionresidentTaxes(ResidentTax[] residentTaxes) 居民身份信息人才 IDworkExperienceList(WorkExperienceInfo[] workExperienceList) 工作经历列表workingYears(Integer workingYears) 工龄
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
personId
个人信息 ID示例值:6919733936050406926
- 参数:
personId-- 返回:
-
phoneNumber
个人电话示例值:13649211111
- 参数:
phoneNumber-- 返回:
-
legalName
法定姓名示例值:张三
- 参数:
legalName-- 返回:
-
preferredName
常用名示例值:刘梓新(Henry)
- 参数:
preferredName-- 返回:
-
preferredLocalFullName
常用本地全名示例值:刘梓新
- 参数:
preferredLocalFullName-- 返回:
-
preferredEnglishFullName
常用英文全名示例值:Henry
- 参数:
preferredEnglishFullName-- 返回:
-
nameList
姓名列表示例值:
- 参数:
nameList-- 返回:
-
gender
-| 性别,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:gender - object_api_name:person示例值:
- 参数:
gender-- 返回:
-
dateOfBirth
出生日期示例值:2020-01-01
- 参数:
dateOfBirth-- 返回:
-
nationalityIdV2
国籍 ID,可通过【查询国籍信息】接口查询示例值:6862995757234914821
- 参数:
nationalityIdV2-- 返回:
-
race
-| 民族 / 种族,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:ethnicity_race - object_api_name:person示例值:
- 参数:
race-- 返回:
-
maritalStatus
-| 婚姻状况,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:marital_status - object_api_name:person示例值:
- 参数:
maritalStatus-- 返回:
-
phoneList
电话列表,只有当满足下面所有条件时,电话在个人信息页才可见示例值:
- 参数:
phoneList-- 返回:
-
addressList
地址列表示例值:
- 参数:
addressList-- 返回:
-
emailList
邮箱列表示例值:
- 参数:
emailList-- 返回:
-
workExperienceList
工作经历列表示例值:
- 参数:
workExperienceList-- 返回:
-
educationList
教育经历列表示例值:
- 参数:
educationList-- 返回:
-
bankAccountList
银行账户示例值:
- 参数:
bankAccountList-- 返回:
-
nationalIdList
证件示例值:
- 参数:
nationalIdList-- 返回:
-
dependentList
家庭成员列表示例值:
- 参数:
dependentList-- 返回:
-
emergencyContactList
紧急联系人列表示例值:
- 参数:
emergencyContactList-- 返回:
-
dateEnteredWorkforce
参加工作日期示例值:2020-10-01
- 参数:
dateEnteredWorkforce-- 返回:
-
workingYears
工龄示例值:2
- 参数:
workingYears-- 返回:
-
profileImageId
头像资源的 ID示例值:dfysuc8x76dsfsw
- 参数:
profileImageId-- 返回:
-
emailAddress
邮箱地址示例值:test@163.com
- 参数:
emailAddress-- 返回:
-
age
年龄示例值:22
- 参数:
age-- 返回:
-
highestLevelOfEducation
最高学历教育经历示例值:
- 参数:
highestLevelOfEducation-- 返回:
-
highestDegreeOfEducation
最高学位教育经历示例值:
- 参数:
highestDegreeOfEducation-- 返回:
-
personalProfile
个人资料附件示例值:
- 参数:
personalProfile-- 返回:
-
nativeRegion
籍贯 ID示例值:6863326262618752111
- 参数:
nativeRegion-- 返回:
-
hukouType
户口类型,枚举值可通过文档【飞书人事枚举常量】户口类型(hukou_type)枚举定义部分获得示例值:
- 参数:
hukouType-- 返回:
-
hukouLocation
户口所在地示例值:山东省平阴县
- 参数:
hukouLocation-- 返回:
-
politicalAffiliations
政治面貌,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:political_affiliation - object_api_name:person_info_chn示例值:
- 参数:
politicalAffiliations-- 返回:
-
talentId
人才 ID示例值:6863326262618752123
- 参数:
talentId-- 返回:
-
customFields
自定义字段示例值:
- 参数:
customFields-- 返回:
-
nationalIdNumber
居民身份证件号码示例值:11010000000000
- 参数:
nationalIdNumber-- 返回:
-
familyAddress
家庭地址示例值:6863326262618752123
- 参数:
familyAddress-- 返回:
-
personInfoChns
个人附加信息示例值:6863326262618752123
- 参数:
personInfoChns-- 返回:
-
bornCountryRegion
出生国家/地区示例值:中国
- 参数:
bornCountryRegion-- 返回:
-
isDisabled
是否残疾示例值:true
- 参数:
isDisabled-- 返回:
-
disableCardNumber
残疾证号示例值:1110000
- 参数:
disableCardNumber-- 返回:
-
isMartyrFamily
是否烈属示例值:true
- 参数:
isMartyrFamily-- 返回:
-
martyrCardNumber
烈属证号示例值:1110000
- 参数:
martyrCardNumber-- 返回:
-
isOldAlone
是否孤老示例值:true
- 参数:
isOldAlone-- 返回:
-
residentTaxes
居民身份信息示例值:6863326262618752123
- 参数:
residentTaxes-- 返回:
-
firstEntryTime
首次入境日期示例值:2021-01-02
- 参数:
firstEntryTime-- 返回:
-
leaveTime
预计离境日期示例值:2022-01-02
- 参数:
leaveTime-- 返回:
-
religion
-| 宗教信仰,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name:person - custom_api_name:religion示例值:
- 参数:
religion-- 返回:
-
build
-