类的使用
com.lark.oapi.service.corehr.v1.model.Person.Builder
使用Person.Builder的程序包
-
com.lark.oapi.service.corehr.v1.model中Person.Builder的使用
修饰符和类型方法说明Person.Builder.addressList(Address[] addressList) 地址列表年龄Person.Builder.bankAccountList(BankAccount[] bankAccountList) 银行账号Person.Builder.customFields(ObjectFieldData[] customFields) 自定义字段Person.Builder.dateEnteredWorkforce(String dateEnteredWorkforce) 参加工作日期Person.Builder.dateOfBirth(String dateOfBirth) 出生日期Person.Builder.dependentList(Dependent[] dependentList) 亲属列表Person.Builder.educationList(Education[] educationList) 教育经历列表Person.Builder.emailAddress(String emailAddress) 邮箱邮箱列表Person.Builder.emergencyContactList(EmergencyContact[] emergencyContactList) 紧急联系人列表性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得Person.Builder.highestDegreeOfEducation(Education highestDegreeOfEducation) 最高学位教育经历Person.Builder.highestLevelOfEducation(Education highestLevelOfEducation) 最高学历教育Person ID法定姓名Person.Builder.maritalStatus(Enum maritalStatus) 婚姻状况,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)婚姻状况(marital_status)枚举定义部分获得Person.Builder.nameList(PersonName[] nameList) 姓名Person.Builder.nationalIdList(NationalId[] nationalIdList) 证件号码Person.Builder.nationalityId(String nationalityId) 国籍idstatic Person.BuilderPerson.newBuilder()Person.Builder.personalProfile(PersonalProfile[] personalProfile) 个人资料电话列表,只有当满足下面所有条件时,电话在个人信息页才可见:;- 电话号码不为空;- is_primary = "true" ;- phone_usage = "home"Person.Builder.phoneNumber(String phoneNumber) 个人手机号Person.Builder.preferredName(String preferredName) 常用名Person.Builder.profileImageId(String profileImageId) 头像资源的 ID民族 / 种族,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)民族(race)枚举定义部分获得Person.Builder.residentTaxIdList(String[] residentTaxIdList) 纳税身份信息Person.Builder.workExperienceList(WorkExperience[] workExperienceList) 工作履历列表