类 JobData.Builder

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

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

    • Builder

      public Builder()
  • 方法详细资料

    • jobDataId

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

      示例值:6890452208593372679

      参数:
      jobDataId -
      返回:
    • versionId

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

      示例值:6890452208593372697

      参数:
      versionId -
      返回:
    • 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 -
      返回:
    • jobLevelId

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

      示例值:6890452208593372679

      参数:
      jobLevelId -
      返回:
    • jobGradeId

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

      示例值:6890452208593372679

      参数:
      jobGradeId -
      返回:
    • jobFamilyId

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

      示例值:1245678

      参数:
      jobFamilyId -
      返回:
    • probationStartDate

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

      示例值:2018-03-16T00:00:00

      参数:
      probationStartDate -
      返回:
    • probationEndDate

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

      示例值:2019-05-24T00:00:00

      参数:
      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 -
      返回:
    • assignmentStartReason

      public JobData.Builder assignmentStartReason(Enum assignmentStartReason)
      任职原因,枚举值可通过文档【飞书人事枚举常量】任职原因(assignment_start_reason)枚举定义部分获得

      示例值:onboarding

      参数:
      assignmentStartReason -
      返回:
    • probationExpectedEndDate

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

      示例值:2006-01-02

      参数:
      probationExpectedEndDate -
      返回:
    • probationOutcome

      public JobData.Builder probationOutcome(Enum probationOutcome)
      试用期结果,枚举值可通过文档【飞书人事枚举常量】试用期结果(probation_outcome)枚举定义部分获得

      示例值:passed

      参数:
      probationOutcome -
      返回:
    • directManager

      public JobData.Builder directManager(BasicJobData directManager)
      直属上级

      示例值:

      参数:
      directManager -
      返回:
    • dottedLineManagers

      public JobData.Builder dottedLineManagers(BasicJobData[] dottedLineManagers)
      虚线上级

      示例值:

      参数:
      dottedLineManagers -
      返回:
    • secondDirectManager

      public JobData.Builder secondDirectManager(BasicJobData secondDirectManager)
      第二实线主管

      示例值:6890452208593372679

      参数:
      secondDirectManager -
      返回:
    • costCenterRates

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

      示例值:

      参数:
      costCenterRates -
      返回:
    • 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()