Class HrisShift.Builder

  • Enclosing class:
    HrisShift

    public static final class HrisShift.Builder
    extends java.lang.Object
    • Method Detail

      • id

        public HrisShift.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public HrisShift.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public HrisShift.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • employeeId

        public HrisShift.Builder employeeId​(java.lang.String employeeId)
        The employee ID associated with this shift
      • employeeId

        public HrisShift.Builder employeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
        The employee ID associated with this shift
      • locationId

        public HrisShift.Builder locationId​(java.lang.String locationId)
        The location ID where this shift takes place
      • locationId

        public HrisShift.Builder locationId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
        The location ID where this shift takes place
      • companyId

        public HrisShift.Builder companyId​(java.lang.String companyId)
        The company ID associated with this shift
      • companyId

        public HrisShift.Builder companyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
        The company ID associated with this shift
      • startTime

        public HrisShift.Builder startTime​(java.time.OffsetDateTime startTime)
        The start time of the shift
      • startTime

        public HrisShift.Builder startTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
        The start time of the shift
      • endTime

        public HrisShift.Builder endTime​(java.time.OffsetDateTime endTime)
        The end time of the shift
      • endTime

        public HrisShift.Builder endTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
        The end time of the shift
      • breakDuration

        public HrisShift.Builder breakDuration​(java.lang.String breakDuration)
        The total break duration for this shift in ISO 8601 duration format
      • breakDuration

        public HrisShift.Builder breakDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)
        The total break duration for this shift in ISO 8601 duration format
      • approvalStatus

        public HrisShift.Builder approvalStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus)
        The approval status of the shift
      • breaks

        public HrisShift.Builder breaks​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
        The breaks taken during this shift
      • createdAt

        public HrisShift.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The date and time the shift was created
      • createdAt

        public HrisShift.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The date and time the shift was created
      • updatedAt

        public HrisShift.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        The date and time the shift was last updated
      • updatedAt

        public HrisShift.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The date and time the shift was last updated