类的使用
com.lark.oapi.service.corehr.v1.model.Enum
使用Enum的程序包
-
com.lark.oapi.service.corehr.v1.model中Enum的使用
修饰符和类型方法说明Enum.Builder.build()PersonName.getAdditionalNameType()Enum[]Address.getAddressTypeList()PhoneNumberAndAreaCode.getAreaCode()JobData.getAssignmentStartReason()BankAccount.getBank()BankAccount.getBankAccountType()Enum[]BankAccount.getBankAccountUsage()OffboardingInfo.getBlockReason()Employment.getCompensationType()JobData.getCompensationType()Contract.getContractType()Education.getDegree()Phone.getDeviceType()Contract.getDurationType()Email.getEmailUsage()OffboardingInfo.getEmployeeReason()PreHire.getEmployeeType()PreHireQuery.getEmployeeType()Employment.getEmploymentStatus()EmploymentCreate.getEmploymentStatus()Employment.getEmploymentType()EmploymentCreate.getEmploymentType()Education.getFieldOfStudyName()Dependent.getGender()Person.getGender()PersonInfoChn.getHukouType()NationalIdType.getIdentificationType()Enum[]Company.getIndustryList()Phone.getInternationalAreaCode()Education.getLevelOfEducation()Location.getLocale()Enum[]Location.getLocationUsageList()ManageRelation.getManagerType()Person.getMaritalStatus()PersonName.getNameType()PreHire.getOnboardingStatus()PreHireQuery.getOnboardingStatus()PersonalProfile.getPersonalProfileType()Phone.getPhoneUsage()Enum[]PersonInfoChn.getPoliticalAffiliationList()JobData.getProbationOutcome()Person.getRace()OffboardingInfo.getReason()Employment.getReasonForOffboarding()EmploymentCreate.getReasonForOffboarding()Employment.getRehire()EmploymentCreate.getRehire()Dependent.getRelationship()EmergencyContact.getRelationship()ManageRelation.getReportModeType()ResidentTax.getResidentStatus()Education.getSchoolName()Contract.getSigningType()PersonName.getSocial()Dependent.getSpousesWorkingStatus()Department.getStaffingModel()DepartmentCreate.getStaffingModel()Subdivision.getSubdivisionType()Department.getSubType()DepartmentCreate.getSubType()Enum[]Company.getSubTypeList()PersonName.getTitle()Company.getType()HiberarchyCommon.getType()Employment.getWorkShift()JobData.getWorkShift()修饰符和类型方法说明PersonName.Builder.additionalNameType(Enum additionalNameType) 补充姓名类型,比如emergency_contact_name(紧急联系人姓名)Address.Builder.addressTypeList(Enum[] addressTypeList) 地址类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)地址类型(address_type)枚举定义部分获得区号JobData.Builder.assignmentStartReason(Enum assignmentStartReason) 任职原因,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)任职原因(assignment_start_reason)枚举定义部分获得银行枚举,常见的银行枚举如:bank-5(交通银行)、bank-6(中国银行)、bank-7(中国建设银行)、bank-8(中国农业银行)、bank-9(中国工商银行)、bank-10(中国邮政储蓄银行)、bank-11(中国光大银行)、bank-12(中国民生银行)、bank-13(招商银行)、bank-14(中信银行)、bank-15(华夏银行)BankAccount.Builder.bankAccountType(Enum bankAccountType) 银行卡类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)银行卡类型(bank_account_type)枚举定义部分获得BankAccount.Builder.bankAccountUsage(Enum[] bankAccountUsage) 银行卡用途,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)银行卡用途(bank_account_usage)枚举定义部分获得OffboardingInfo.Builder.blockReason(Enum blockReason) 屏蔽原因Employment.Builder.compensationType(Enum compensationType) 薪资类型JobData.Builder.compensationType(Enum compensationType) 薪资类型Contract.Builder.contractType(Enum contractType) 合同类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同类型(contract_type)枚举定义部分获得学位,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)学位(degree)枚举定义获得Phone.Builder.deviceType(Enum deviceType) 设备类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)设备类型(device_type)枚举定义部分获得Contract.Builder.durationType(Enum durationType) 期限类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同期限类型(duration_type)枚举定义部分获得Email.Builder.emailUsage(Enum emailUsage) 邮箱用途,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)邮箱用途(email_usage)枚举定义获得OffboardingInfo.Builder.employeeReason(Enum employeeReason) 离职原因(员工)PreHire.Builder.employeeType(Enum employeeType) 雇佣类型PreHireQuery.Builder.employeeType(Enum employeeType) 雇佣类型Employment.Builder.employmentStatus(Enum employmentStatus) 雇员状态,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)雇员状态(employment_status)枚举定义获得EmploymentCreate.Builder.employmentStatus(Enum employmentStatus) 雇员状态Employment.Builder.employmentType(Enum employmentType) 雇佣类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)雇佣类型(employment_type)枚举定义获得EmploymentCreate.Builder.employmentType(Enum employmentType) 雇佣类型Education.Builder.fieldOfStudyName(Enum fieldOfStudyName) 专业名称亲属性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得性别,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)性别(gender)枚举定义部分获得户口类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)户口类型(hukou_type)枚举定义部分获得NationalIdType.Builder.identificationType(Enum identificationType) 证件类型Company.Builder.industryList(Enum[] industryList) 行业,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)行业(industry)枚举定义部分获得Phone.Builder.internationalAreaCode(Enum internationalAreaCode) 国家区号;;常见如:86_china(中国)、852_hong_kong(中国香港)、886_taiwan(中国台湾)、853_macao(中国澳门)、1_united_states_of_america(美利坚合众国)、7_russian_federation(俄罗斯联邦)、44_united_kingdom(英国)、81_japan(日本)、82_korea_republic_of(大韩民国)、91_india(印度)Education.Builder.levelOfEducation(Enum levelOfEducation) 学历,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)学历(level_of_education)枚举定义获得区域设置,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)区域设置(locale)枚举定义部分获得Location.Builder.locationUsageList(Enum[] locationUsageList) 地点用途,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)地点用途(location_usage)枚举定义部分获得ManageRelation.Builder.managerType(Enum managerType) 汇报关系(实现汇报,虚线汇报,第二汇报线...)Person.Builder.maritalStatus(Enum maritalStatus) 婚姻状况,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)婚姻状况(marital_status)枚举定义部分获得姓名类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)姓名类型(name_type)枚举定义部分获得PreHire.Builder.onboardingStatus(Enum onboardingStatus) 入职状态;;- 待入职(preboarding);;- 已删除(deleted);;- 准备就绪(day_one);;- 已撤销(withdrawn);;- 已完成(completed)PreHireQuery.Builder.onboardingStatus(Enum onboardingStatus) 入职状态PersonalProfile.Builder.personalProfileType(Enum personalProfileType) 个人资料类型,比如;银行储蓄卡复印件、证件照、个人信息采集表、生活照Phone.Builder.phoneUsage(Enum phoneUsage) 电话用途,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)电话用途(phone_usage)枚举定义部分获得PersonInfoChn.Builder.politicalAffiliationList(Enum[] politicalAffiliationList) 政治面貌,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)政治面貌(political_affiliation)枚举定义部分获得JobData.Builder.probationOutcome(Enum probationOutcome) 试用期结果,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)试用期结果(probation_outcome)枚举定义部分获得民族 / 种族,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)民族(race)枚举定义部分获得离职原因Employment.Builder.reasonForOffboarding(Enum reasonForOffboarding) 离职原因,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)离职原因(reason_for_offboarding)枚举定义部分获得EmploymentCreate.Builder.reasonForOffboarding(Enum reasonForOffboarding) 离职原因是否离职重聘是否离职重聘Dependent.Builder.relationship(Enum relationship) 亲属关系,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)亲属关系(relationship)枚举定义获得EmergencyContact.Builder.relationship(Enum relationship) 紧急联系人与本人亲属关系,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)亲属关系(relationship)枚举定义获得ManageRelation.Builder.reportModeType(Enum reportModeType) 汇报线类型 (按人汇报,按部门汇报...)ResidentTax.Builder.residentStatus(Enum residentStatus) 居民纳税身份Education.Builder.schoolName(Enum schoolName) 学校名称voidPersonName.setAdditionalNameType(Enum additionalNameType) voidAddress.setAddressTypeList(Enum[] addressTypeList) voidPhoneNumberAndAreaCode.setAreaCode(Enum areaCode) voidJobData.setAssignmentStartReason(Enum assignmentStartReason) voidvoidBankAccount.setBankAccountType(Enum bankAccountType) voidBankAccount.setBankAccountUsage(Enum[] bankAccountUsage) voidOffboardingInfo.setBlockReason(Enum blockReason) voidEmployment.setCompensationType(Enum compensationType) voidJobData.setCompensationType(Enum compensationType) voidContract.setContractType(Enum contractType) voidvoidPhone.setDeviceType(Enum deviceType) voidContract.setDurationType(Enum durationType) voidEmail.setEmailUsage(Enum emailUsage) voidOffboardingInfo.setEmployeeReason(Enum employeeReason) voidPreHire.setEmployeeType(Enum employeeType) voidPreHireQuery.setEmployeeType(Enum employeeType) voidEmployment.setEmploymentStatus(Enum employmentStatus) voidEmploymentCreate.setEmploymentStatus(Enum employmentStatus) voidEmployment.setEmploymentType(Enum employmentType) voidEmploymentCreate.setEmploymentType(Enum employmentType) voidEducation.setFieldOfStudyName(Enum fieldOfStudyName) voidvoidvoidPersonInfoChn.setHukouType(Enum hukouType) voidNationalIdType.setIdentificationType(Enum identificationType) voidCompany.setIndustryList(Enum[] industryList) voidPhone.setInternationalAreaCode(Enum internationalAreaCode) voidEducation.setLevelOfEducation(Enum levelOfEducation) voidvoidLocation.setLocationUsageList(Enum[] locationUsageList) voidManageRelation.setManagerType(Enum managerType) voidPerson.setMaritalStatus(Enum maritalStatus) voidPersonName.setNameType(Enum nameType) voidPreHire.setOnboardingStatus(Enum onboardingStatus) voidPreHireQuery.setOnboardingStatus(Enum onboardingStatus) voidPersonalProfile.setPersonalProfileType(Enum personalProfileType) voidPhone.setPhoneUsage(Enum phoneUsage) voidPersonInfoChn.setPoliticalAffiliationList(Enum[] politicalAffiliationList) voidJobData.setProbationOutcome(Enum probationOutcome) voidvoidvoidEmployment.setReasonForOffboarding(Enum reasonForOffboarding) voidEmploymentCreate.setReasonForOffboarding(Enum reasonForOffboarding) voidvoidvoidDependent.setRelationship(Enum relationship) voidEmergencyContact.setRelationship(Enum relationship) voidManageRelation.setReportModeType(Enum reportModeType) voidResidentTax.setResidentStatus(Enum residentStatus) voidEducation.setSchoolName(Enum schoolName) voidContract.setSigningType(Enum signingType) voidvoidDependent.setSpousesWorkingStatus(Enum spousesWorkingStatus) voidDepartment.setStaffingModel(Enum staffingModel) voidDepartmentCreate.setStaffingModel(Enum staffingModel) voidSubdivision.setSubdivisionType(Enum subdivisionType) voidDepartment.setSubType(Enum subType) voidDepartmentCreate.setSubType(Enum subType) voidCompany.setSubTypeList(Enum[] subTypeList) voidvoidvoidvoidEmployment.setWorkShift(Enum workShift) voidJobData.setWorkShift(Enum workShift) Contract.Builder.signingType(Enum signingType) 签订类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)签订类型(signing_type)枚举定义部分获得尊称Dependent.Builder.spousesWorkingStatus(Enum spousesWorkingStatus) 配偶工作状态,比如working(在岗)、not_working(不在岗)Department.Builder.staffingModel(Enum staffingModel) 是否使用职务DepartmentCreate.Builder.staffingModel(Enum staffingModel) 是否使用职务Subdivision.Builder.subdivisionType(Enum subdivisionType) 行政区类型,枚举值可通过文档【飞书人事枚举常量】行政区类型(subdivision_type)枚举定义部分获得部门子类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)部门子类型(department_sub_type)枚举定义部分获得子类型Company.Builder.subTypeList(Enum[] subTypeList) 主体类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)主体类型(company_sub_type)枚举定义部分获得头衔,比如;;Mr.性质,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)公司类型(company_type)枚举定义部分获得组织类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)组织类型(organization_type)枚举定义部分获得排班类型排班类型