类 Company.Builder

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

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

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public Company.Builder id(String id)
      公司 ID

      示例值:4692472714243080020

      参数:
      id -
      返回:
    • hiberarchyCommon

      public Company.Builder hiberarchyCommon(HiberarchyCommon hiberarchyCommon)
      层级关系,内层字段见实体

      示例值:

      参数:
      hiberarchyCommon -
      返回:
    • type

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

      示例值:

      参数:
      type -
      返回:
    • industryList

      public Company.Builder industryList(Enum[] industryList)
      行业,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)行业(industry)枚举定义部分获得

      示例值:

      参数:
      industryList -
      返回:
    • legalRepresentative

      public Company.Builder legalRepresentative(I18n[] legalRepresentative)
      法定代表人

      示例值:

      参数:
      legalRepresentative -
      返回:
    • postCode

      public Company.Builder postCode(String postCode)
      邮编

      示例值:邮编

      参数:
      postCode -
      返回:
    • taxPayerId

      public Company.Builder taxPayerId(String taxPayerId)
      纳税人识别号

      示例值:123456840

      参数:
      taxPayerId -
      返回:
    • confidential

      public Company.Builder confidential(Boolean confidential)
      是否保密

      示例值:true

      参数:
      confidential -
      返回:
    • subTypeList

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

      示例值:

      参数:
      subTypeList -
      返回:
    • branchCompany

      public Company.Builder branchCompany(Boolean branchCompany)
      是否为分公司

      示例值:true

      参数:
      branchCompany -
      返回:
    • primaryManager

      public Company.Builder primaryManager(I18n[] primaryManager)
      主要负责人

      示例值:

      参数:
      primaryManager -
      返回:
    • customFields

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

      示例值:

      参数:
      customFields -
      返回:
    • build

      public Company build()