类 PersonInfoChn.Builder

java.lang.Object
com.lark.oapi.service.corehr.v1.model.PersonInfoChn.Builder
封闭类:
PersonInfoChn

public static class PersonInfoChn.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public PersonInfoChn.Builder id(String id)
      个人附加信息 ID

      示例值:6950635856373745165

      参数:
      id -
      返回:
    • nativeRegion

      public PersonInfoChn.Builder nativeRegion(String nativeRegion)
      籍贯 ID;- 枚举值可通过「查询单条省份/行政区信息」接口获取

      示例值:6863326263973512712

      参数:
      nativeRegion -
      返回:
    • politicalAffiliationList

      public PersonInfoChn.Builder politicalAffiliationList(Enum[] politicalAffiliationList)
      政治面貌,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)政治面貌(political_affiliation)枚举定义部分获得

      示例值:

      参数:
      politicalAffiliationList -
      返回:
    • hukouType

      public PersonInfoChn.Builder hukouType(Enum hukouType)
      户口类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)户口类型(hukou_type)枚举定义部分获得

      示例值:

      参数:
      hukouType -
      返回:
    • hukouLocation

      public PersonInfoChn.Builder hukouLocation(String hukouLocation)
      户口所在地

      示例值:山东省平阴县

      参数:
      hukouLocation -
      返回:
    • personId

      public PersonInfoChn.Builder personId(String personId)
      Person ID

      示例值:6919733647952053768

      参数:
      personId -
      返回:
    • customFields

      public PersonInfoChn.Builder customFields(ObjectFieldData[] customFields)
      自定义字段

      示例值:

      参数:
      customFields -
      返回:
    • workingYears

      public PersonInfoChn.Builder workingYears(Integer workingYears)
      工龄

      示例值:2

      参数:
      workingYears -
      返回:
    • build

      public PersonInfoChn build()