Class TimeOff.Builder

  • Enclosing class:
    TimeOff

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

      • id

        public TimeOff.Builder id​(java.lang.String id)
        Unique identifier
      • id

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

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

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

        public TimeOff.Builder employeeId​(java.lang.String employeeId)
        The employee ID
      • employeeId

        public TimeOff.Builder employeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
        The employee ID
      • remoteEmployeeId

        public TimeOff.Builder remoteEmployeeId​(java.lang.String remoteEmployeeId)
        Provider's unique identifier of the employee
      • remoteEmployeeId

        public TimeOff.Builder remoteEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
        Provider's unique identifier of the employee
      • approverId

        public TimeOff.Builder approverId​(java.lang.String approverId)
        The approver ID
      • approverId

        public TimeOff.Builder approverId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId)
        The approver ID
      • remoteApproverId

        public TimeOff.Builder remoteApproverId​(java.lang.String remoteApproverId)
        Provider's unique identifier of the approver
      • remoteApproverId

        public TimeOff.Builder remoteApproverId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteApproverId)
        Provider's unique identifier of the approver
      • status

        public TimeOff.Builder status​(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffStatus> status)
        The status of the time off request
      • type

        @Deprecated
        public TimeOff.Builder type​(TimeOffType type)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The type of the time off request
      • type

        @Deprecated
        public TimeOff.Builder type​(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffType> type)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The type of the time off request
      • startDate

        public TimeOff.Builder startDate​(java.time.OffsetDateTime startDate)
        The start date of the time off request
      • startDate

        public TimeOff.Builder startDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate)
        The start date of the time off request
      • endDate

        public TimeOff.Builder endDate​(java.time.OffsetDateTime endDate)
        The end date of the time off request
      • endDate

        public TimeOff.Builder endDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate)
        The end date of the time off request
      • startHalfDay

        public TimeOff.Builder startHalfDay​(StartHalfDay startHalfDay)
        True if the start of the time off request begins half way through the day
      • startHalfDay

        public TimeOff.Builder startHalfDay​(org.openapitools.jackson.nullable.JsonNullable<? extends StartHalfDay> startHalfDay)
        True if the start of the time off request begins half way through the day
      • endHalfDay

        public TimeOff.Builder endHalfDay​(EndHalfDay endHalfDay)
        True if the end of the time off request ends half way through the day
      • endHalfDay

        public TimeOff.Builder endHalfDay​(org.openapitools.jackson.nullable.JsonNullable<? extends EndHalfDay> endHalfDay)
        True if the end of the time off request ends half way through the day
      • duration

        public TimeOff.Builder duration​(java.lang.String duration)
        The duration of the time off request
      • duration

        public TimeOff.Builder duration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
        The duration of the time off request
      • timeOffPolicyId

        public TimeOff.Builder timeOffPolicyId​(java.lang.String timeOffPolicyId)
        The time off policy id associated with this time off request
      • timeOffPolicyId

        public TimeOff.Builder timeOffPolicyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId)
        The time off policy id associated with this time off request
      • remoteTimeOffPolicyId

        public TimeOff.Builder remoteTimeOffPolicyId​(java.lang.String remoteTimeOffPolicyId)
        Provider's unique identifier of the time off policy id associated with this time off request
      • remoteTimeOffPolicyId

        public TimeOff.Builder remoteTimeOffPolicyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteTimeOffPolicyId)
        Provider's unique identifier of the time off policy id associated with this time off request
      • createdDate

        public TimeOff.Builder createdDate​(java.time.OffsetDateTime createdDate)
        The created date of the time off request
      • createdDate

        public TimeOff.Builder createdDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdDate)
        The created date of the time off request
      • updatedDate

        public TimeOff.Builder updatedDate​(java.time.OffsetDateTime updatedDate)
        The updated date of the time off request
      • updatedDate

        public TimeOff.Builder updatedDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedDate)
        The updated date of the time off request