类 JobData.Builder

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

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

    • Builder

      public Builder()
  • 方法详细资料

    • id

      public JobData.Builder id(String id)
      任职信息 ID

      示例值:6890452208593372679

      参数:
      id -
      返回:
    • versionId

      public JobData.Builder versionId(String versionId)
      任职记录版本 ID

      示例值:6890452208593372697

      参数:
      versionId -
      返回:
    • jobLevelId

      public JobData.Builder jobLevelId(String jobLevelId)
      职务级别 ID,枚举值及详细信息可通过【批量查询职务级别】接口查询获得

      示例值:6890452208593372679

      参数:
      jobLevelId -
      返回:
    • jobGradeId

      public JobData.Builder jobGradeId(String jobGradeId)
      职等ID

      示例值:6890452208593372679

      参数:
      jobGradeId -
      返回:
    • employeeTypeId

      public JobData.Builder employeeTypeId(String employeeTypeId)
      人员类型 ID,枚举值及详细信息可通过【批量查询人员类型】接口查询获得

      示例值:6890452208593372679

      参数:
      employeeTypeId -
      返回:
    • workingHoursTypeId

      public JobData.Builder workingHoursTypeId(String workingHoursTypeId)
      工时制度 ID,枚举值及详细信息可通过【批量查询工时制度】接口查询获得

      示例值:6890452208593372679

      参数:
      workingHoursTypeId -
      返回:
    • workLocationId

      public JobData.Builder workLocationId(String workLocationId)
      工作地点 ID,枚举值及详细信息可通过【批量查询地点】接口查询获得

      示例值:6890452208593372679

      参数:
      workLocationId -
      返回:
    • departmentId

      public JobData.Builder departmentId(String departmentId)
      部门 ID,枚举值及详细信息可通过【批量查询部门】接口查询获得

      示例值:6890452208593372679

      参数:
      departmentId -
      返回:
    • jobId

      public JobData.Builder jobId(String jobId)
      职务 ID,枚举值及详细信息可通过【批量查询职务】接口查询获得

      示例值:6890452208593372679

      参数:
      jobId -
      返回:
    • probationStartDate

      public JobData.Builder probationStartDate(String probationStartDate)
      试用期开始日期

      示例值:2018-03-16

      参数:
      probationStartDate -
      返回:
    • probationEndDate

      public JobData.Builder probationEndDate(String probationEndDate)
      试用期结束日期(实际结束日期)

      示例值:2019-05-24

      参数:
      probationEndDate -
      返回:
    • primaryJobData

      public JobData.Builder primaryJobData(Boolean primaryJobData)
      是否为主任职

      示例值:true

      参数:
      primaryJobData -
      返回:
    • employmentId

      public JobData.Builder employmentId(String employmentId)
      雇佣 ID

      示例值:6893014062142064135

      参数:
      employmentId -
      返回:
    • effectiveTime

      public JobData.Builder effectiveTime(String effectiveTime)
      生效时间

      示例值:2020-05-01 00:00:00

      参数:
      effectiveTime -
      返回:
    • expirationTime

      public JobData.Builder expirationTime(String expirationTime)
      失效时间

      示例值:2020-05-02 00:00:00

      参数:
      expirationTime -
      返回:
    • jobFamilyId

      public JobData.Builder jobFamilyId(String jobFamilyId)
      职务序列 ID,枚举值及详细信息可通过【批量查询职务序列】接口查询获得

      示例值:1245678

      参数:
      jobFamilyId -
      返回:
    • assignmentStartReason

      public JobData.Builder assignmentStartReason(Enum assignmentStartReason)
      任职原因,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)任职原因(assignment_start_reason)枚举定义部分获得

      示例值:onboarding

      参数:
      assignmentStartReason -
      返回:
    • probationExpectedEndDate

      public JobData.Builder probationExpectedEndDate(String probationExpectedEndDate)
      预计试用期结束日期

      示例值:2006-01-02

      参数:
      probationExpectedEndDate -
      返回:
    • probationOutcome

      public JobData.Builder probationOutcome(Enum probationOutcome)
      试用期结果,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)试用期结果(probation_outcome)枚举定义部分获得

      示例值:passed

      参数:
      probationOutcome -
      返回:
    • weeklyWorkingHours

      public JobData.Builder weeklyWorkingHours(Integer weeklyWorkingHours)
      周工作时长

      示例值:30

      参数:
      weeklyWorkingHours -
      返回:
    • directManagerId

      public JobData.Builder directManagerId(String directManagerId)
      实线主管的任职记录ID

      示例值:6890452208593372679

      参数:
      directManagerId -
      返回:
    • dottedLineManagerIdList

      public JobData.Builder dottedLineManagerIdList(String[] dottedLineManagerIdList)
      虚线主管的任职记录ID

      示例值:["6971723901730686501"]

      参数:
      dottedLineManagerIdList -
      返回:
    • secondDirectManagerId

      public JobData.Builder secondDirectManagerId(String secondDirectManagerId)
      第二实线主管的任职记录ID

      示例值:6890452208593372679

      参数:
      secondDirectManagerId -
      返回:
    • costCenterRate

      public JobData.Builder costCenterRate(SupportCostCenterItem[] costCenterRate)
      成本中心分摊信息

      示例值:

      参数:
      costCenterRate -
      返回:
    • weeklyWorkingHoursV2

      public JobData.Builder weeklyWorkingHoursV2(Double weeklyWorkingHoursV2)
      周工作时长v2

      示例值:37.5

      参数:
      weeklyWorkingHoursV2 -
      返回:
    • workShift

      public JobData.Builder workShift(Enum workShift)
      排班类型

      示例值:

      参数:
      workShift -
      返回:
    • compensationType

      public JobData.Builder compensationType(Enum compensationType)
      薪资类型

      示例值:

      参数:
      compensationType -
      返回:
    • serviceCompany

      public JobData.Builder serviceCompany(String serviceCompany)
      任职公司

      示例值:6890452208593372680

      参数:
      serviceCompany -
      返回:
    • build

      public JobData build()