Class TimeOffListRequest


  • public final class TimeOffListRequest
    extends java.lang.Object
    • Method Detail

      • getApproverId

        public java.util.Optional<java.lang.String> getApproverId()
        Returns:
        If provided, will only return time off for this approver.
      • getCreatedAfter

        public java.util.Optional<java.time.OffsetDateTime> getCreatedAfter()
        Returns:
        If provided, will only return objects created after this datetime.
      • getCreatedBefore

        public java.util.Optional<java.time.OffsetDateTime> getCreatedBefore()
        Returns:
        If provided, will only return objects created before this datetime.
      • getCursor

        public java.util.Optional<java.lang.String> getCursor()
        Returns:
        The pagination cursor value.
      • getEmployeeId

        public java.util.Optional<java.lang.String> getEmployeeId()
        Returns:
        If provided, will only return time off for this employee.
      • getEndedAfter

        public java.util.Optional<java.time.OffsetDateTime> getEndedAfter()
        Returns:
        If provided, will only return employees that ended after this datetime.
      • getEndedBefore

        public java.util.Optional<java.time.OffsetDateTime> getEndedBefore()
        Returns:
        If provided, will only return time-offs that ended before this datetime.
      • getExpand

        public java.util.Optional<TimeOffListRequestExpand> getExpand()
        Returns:
        Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
      • getIncludeDeletedData

        public java.util.Optional<java.lang.Boolean> getIncludeDeletedData()
        Returns:
        Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
      • getIncludeRemoteData

        public java.util.Optional<java.lang.Boolean> getIncludeRemoteData()
        Returns:
        Whether to include the original data Merge fetched from the third-party to produce these models.
      • getIncludeShellData

        public java.util.Optional<java.lang.Boolean> getIncludeShellData()
        Returns:
        Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
      • getModifiedAfter

        public java.util.Optional<java.time.OffsetDateTime> getModifiedAfter()
        Returns:
        If provided, only objects synced by Merge after this date time will be returned.
      • getModifiedBefore

        public java.util.Optional<java.time.OffsetDateTime> getModifiedBefore()
        Returns:
        If provided, only objects synced by Merge before this date time will be returned.
      • getPageSize

        public java.util.Optional<java.lang.Integer> getPageSize()
        Returns:
        Number of results to return per page.
      • getRemoteId

        public java.util.Optional<java.lang.String> getRemoteId()
        Returns:
        The API provider's ID for the given object.
      • getRequestType

        public java.util.Optional<TimeOffListRequestRequestType> getRequestType()
        Returns:
        If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT')
        • VACATION - VACATION
        • SICK - SICK
        • PERSONAL - PERSONAL
        • JURY_DUTY - JURY_DUTY
        • VOLUNTEER - VOLUNTEER
        • BEREAVEMENT - BEREAVEMENT
      • getShowEnumOrigins

        public java.util.Optional<TimeOffListRequestShowEnumOrigins> getShowEnumOrigins()
        Returns:
        A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. Learn more
      • getStartedAfter

        public java.util.Optional<java.time.OffsetDateTime> getStartedAfter()
        Returns:
        If provided, will only return time-offs that started after this datetime.
      • getStartedBefore

        public java.util.Optional<java.time.OffsetDateTime> getStartedBefore()
        Returns:
        If provided, will only return time-offs that started before this datetime.
      • getStatus

        public java.util.Optional<TimeOffListRequestStatus> getStatus()
        Returns:
        If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED')
        • REQUESTED - REQUESTED
        • APPROVED - APPROVED
        • DECLINED - DECLINED
        • CANCELLED - CANCELLED
        • DELETED - DELETED
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

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