Class TimeOff


  • public class TimeOff
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TimeOff.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeOff()  
      TimeOff​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteApproverId, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffType> type, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate, org.openapitools.jackson.nullable.JsonNullable<? extends StartHalfDay> startHalfDay, org.openapitools.jackson.nullable.JsonNullable<? extends EndHalfDay> endHalfDay, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteTimeOffPolicyId, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffReason> reason, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdDate, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedDate, org.openapitools.jackson.nullable.JsonNullable<? extends Policy> policy)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId()
      The approver ID
      static TimeOff.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdDate()
      The created date of the time off request
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration()
      The duration of the time off request
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
      The employee ID
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate()
      Inclusive end date of the time off request (ISO8601 date-time without timezone).
      org.openapitools.jackson.nullable.JsonNullable<EndHalfDay> endHalfDay()
      True if the end of the time off request ends half way through the day
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      Unique identifier
      org.openapitools.jackson.nullable.JsonNullable<Policy> policy()
      The time off policy associated with Time Off
      org.openapitools.jackson.nullable.JsonNullable<TimeOffReason> reason()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteApproverId()
      Provider's unique identifier of the approver
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
      Provider's unique identifier of the employee
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      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
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate()
      The start date of the time off request (ISO8601 date-time without timezone)
      org.openapitools.jackson.nullable.JsonNullable<StartHalfDay> startHalfDay()
      True if the start of the time off request begins half way through the day
      org.openapitools.jackson.nullable.JsonNullable<TimeOffStatus> status()
      The status of the time off request
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId()
      The time off policy id associated with this time off request
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<TimeOffType> type()
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedDate()
      The updated date of the time off request
      TimeOff withApproverId​(java.lang.String approverId)
      The approver ID
      TimeOff withApproverId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId)
      The approver ID
      TimeOff withCreatedDate​(java.time.OffsetDateTime createdDate)
      The created date of the time off request
      TimeOff withCreatedDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdDate)
      The created date of the time off request
      TimeOff withDuration​(java.lang.String duration)
      The duration of the time off request
      TimeOff withDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
      The duration of the time off request
      TimeOff withEmployeeId​(java.lang.String employeeId)
      The employee ID
      TimeOff withEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
      The employee ID
      TimeOff withEndDate​(java.lang.String endDate)
      Inclusive end date of the time off request (ISO8601 date-time without timezone).
      TimeOff withEndDate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate)
      Inclusive end date of the time off request (ISO8601 date-time without timezone).
      TimeOff withEndHalfDay​(EndHalfDay endHalfDay)
      True if the end of the time off request ends half way through the day
      TimeOff withEndHalfDay​(org.openapitools.jackson.nullable.JsonNullable<? extends EndHalfDay> endHalfDay)
      True if the end of the time off request ends half way through the day
      TimeOff withId​(java.lang.String id)
      Unique identifier
      TimeOff withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      TimeOff withPolicy​(Policy policy)
      The time off policy associated with Time Off
      TimeOff withPolicy​(org.openapitools.jackson.nullable.JsonNullable<? extends Policy> policy)
      The time off policy associated with Time Off
      TimeOff withReason​(TimeOffReason reason)  
      TimeOff withReason​(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffReason> reason)  
      TimeOff withRemoteApproverId​(java.lang.String remoteApproverId)
      Provider's unique identifier of the approver
      TimeOff withRemoteApproverId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteApproverId)
      Provider's unique identifier of the approver
      TimeOff withRemoteEmployeeId​(java.lang.String remoteEmployeeId)
      Provider's unique identifier of the employee
      TimeOff withRemoteEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
      Provider's unique identifier of the employee
      TimeOff withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      TimeOff withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      TimeOff withRemoteTimeOffPolicyId​(java.lang.String remoteTimeOffPolicyId)
      Provider's unique identifier of the time off policy id associated with this time off request
      TimeOff withRemoteTimeOffPolicyId​(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
      TimeOff withStartDate​(java.lang.String startDate)
      The start date of the time off request (ISO8601 date-time without timezone)
      TimeOff withStartDate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate)
      The start date of the time off request (ISO8601 date-time without timezone)
      TimeOff withStartHalfDay​(StartHalfDay startHalfDay)
      True if the start of the time off request begins half way through the day
      TimeOff withStartHalfDay​(org.openapitools.jackson.nullable.JsonNullable<? extends StartHalfDay> startHalfDay)
      True if the start of the time off request begins half way through the day
      TimeOff withStatus​(TimeOffStatus status)
      The status of the time off request
      TimeOff withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffStatus> status)
      The status of the time off request
      TimeOff withTimeOffPolicyId​(java.lang.String timeOffPolicyId)
      The time off policy id associated with this time off request
      TimeOff withTimeOffPolicyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId)
      The time off policy id associated with this time off request
      TimeOff withType​(TimeOffType type)
      Deprecated.
      field: This will be removed in a future release, please migrate away from it as soon as possible.
      TimeOff withType​(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.
      TimeOff withUpdatedDate​(java.time.OffsetDateTime updatedDate)
      The updated date of the time off request
      TimeOff withUpdatedDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedDate)
      The updated date of the time off request
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimeOff

        public TimeOff​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteApproverId,
                       org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffStatus> status,
                       org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffType> type,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate,
                       org.openapitools.jackson.nullable.JsonNullable<? extends StartHalfDay> startHalfDay,
                       org.openapitools.jackson.nullable.JsonNullable<? extends EndHalfDay> endHalfDay,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId,
                       org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteTimeOffPolicyId,
                       org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffReason> reason,
                       org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdDate,
                       org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedDate,
                       org.openapitools.jackson.nullable.JsonNullable<? extends Policy> policy)
      • TimeOff

        public TimeOff()
    • Method Detail

      • id

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

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

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

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

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

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

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

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<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 org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate()
        The start date of the time off request (ISO8601 date-time without timezone)
      • endDate

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate()
        Inclusive end date of the time off request (ISO8601 date-time without timezone). The time off includes this day
      • startHalfDay

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

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

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

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

        public 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
      • reason

        public org.openapitools.jackson.nullable.JsonNullable<TimeOffReason> reason()
      • createdDate

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

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

        public org.openapitools.jackson.nullable.JsonNullable<Policy> policy()
        The time off policy associated with Time Off
      • withId

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

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

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

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

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

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

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

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

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

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

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

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

        public TimeOff withStatus​(TimeOffStatus status)
        The status of the time off request
      • withStatus

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

        @Deprecated
        public TimeOff withType​(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
      • withType

        @Deprecated
        public TimeOff withType​(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
      • withStartDate

        public TimeOff withStartDate​(java.lang.String startDate)
        The start date of the time off request (ISO8601 date-time without timezone)
      • withStartDate

        public TimeOff withStartDate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startDate)
        The start date of the time off request (ISO8601 date-time without timezone)
      • withEndDate

        public TimeOff withEndDate​(java.lang.String endDate)
        Inclusive end date of the time off request (ISO8601 date-time without timezone). The time off includes this day
      • withEndDate

        public TimeOff withEndDate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endDate)
        Inclusive end date of the time off request (ISO8601 date-time without timezone). The time off includes this day
      • withStartHalfDay

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

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

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

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

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

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

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

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

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

        public TimeOff withRemoteTimeOffPolicyId​(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
      • withReason

        public TimeOff withReason​(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffReason> reason)
      • withCreatedDate

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

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

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

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

        public TimeOff withPolicy​(Policy policy)
        The time off policy associated with Time Off
      • withPolicy

        public TimeOff withPolicy​(org.openapitools.jackson.nullable.JsonNullable<? extends Policy> policy)
        The time off policy associated with Time Off
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object