Class HrisShift


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

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

      Constructors 
      Constructor Description
      HrisShift()  
      HrisShift​(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> locationId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration, org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openapitools.jackson.nullable.JsonNullable<ApprovalStatus> approvalStatus()
      The approval status of the shift
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration()
      The total break duration for this shift in ISO 8601 duration format
      org.openapitools.jackson.nullable.JsonNullable<java.util.List<ShiftBreak>> breaks()
      The breaks taken during this shift
      static HrisShift.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId()
      The company ID associated with this shift
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
      The date and time the shift was created
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
      The employee ID associated with this shift
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime()
      The end time of the shift (ISO8601 date-time without timezone)
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      Unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId()
      The location ID where this shift takes place
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime()
      The start time of the shift (ISO8601 date-time without timezone)
      org.openapitools.jackson.nullable.JsonNullable<HrisShiftStatus> status()
      The status of the shift
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
      The date and time the shift was last updated
      HrisShift withApprovalStatus​(ApprovalStatus approvalStatus)
      The approval status of the shift
      HrisShift withApprovalStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus)
      The approval status of the shift
      HrisShift withBreakDuration​(java.lang.String breakDuration)
      The total break duration for this shift in ISO 8601 duration format
      HrisShift withBreakDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)
      The total break duration for this shift in ISO 8601 duration format
      HrisShift withBreaks​(java.util.List<ShiftBreak> breaks)
      The breaks taken during this shift
      HrisShift withBreaks​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
      The breaks taken during this shift
      HrisShift withCompanyId​(java.lang.String companyId)
      The company ID associated with this shift
      HrisShift withCompanyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
      The company ID associated with this shift
      HrisShift withCreatedAt​(java.time.OffsetDateTime createdAt)
      The date and time the shift was created
      HrisShift withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The date and time the shift was created
      HrisShift withEmployeeId​(java.lang.String employeeId)
      The employee ID associated with this shift
      HrisShift withEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
      The employee ID associated with this shift
      HrisShift withEndTime​(java.lang.String endTime)
      The end time of the shift (ISO8601 date-time without timezone)
      HrisShift withEndTime​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime)
      The end time of the shift (ISO8601 date-time without timezone)
      HrisShift withId​(java.lang.String id)
      Unique identifier
      HrisShift withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      HrisShift withLocationId​(java.lang.String locationId)
      The location ID where this shift takes place
      HrisShift withLocationId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
      The location ID where this shift takes place
      HrisShift withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      HrisShift withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      HrisShift withStartTime​(java.lang.String startTime)
      The start time of the shift (ISO8601 date-time without timezone)
      HrisShift withStartTime​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime)
      The start time of the shift (ISO8601 date-time without timezone)
      HrisShift withStatus​(HrisShiftStatus status)
      The status of the shift
      HrisShift withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status)
      The status of the shift
      HrisShift withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      The date and time the shift was last updated
      HrisShift withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      The date and time the shift was last updated
      • Methods inherited from class java.lang.Object

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

      • HrisShift

        public HrisShift​(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> locationId,
                         org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId,
                         org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime,
                         org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime,
                         org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration,
                         org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status,
                         org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus,
                         org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks,
                         org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                         org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      • HrisShift

        public HrisShift()
    • 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 associated with this shift
      • locationId

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

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

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime()
        The start time of the shift (ISO8601 date-time without timezone)
      • endTime

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime()
        The end time of the shift (ISO8601 date-time without timezone)
      • breakDuration

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

        public org.openapitools.jackson.nullable.JsonNullable<HrisShiftStatus> status()
        The status of the shift
      • approvalStatus

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public HrisShift withStartTime​(java.lang.String startTime)
        The start time of the shift (ISO8601 date-time without timezone)
      • withStartTime

        public HrisShift withStartTime​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime)
        The start time of the shift (ISO8601 date-time without timezone)
      • withEndTime

        public HrisShift withEndTime​(java.lang.String endTime)
        The end time of the shift (ISO8601 date-time without timezone)
      • withEndTime

        public HrisShift withEndTime​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime)
        The end time of the shift (ISO8601 date-time without timezone)
      • withBreakDuration

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

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

        public HrisShift withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status)
        The status of the shift
      • withApprovalStatus

        public HrisShift withApprovalStatus​(ApprovalStatus approvalStatus)
        The approval status of the shift
      • withApprovalStatus

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

        public HrisShift withBreaks​(java.util.List<ShiftBreak> breaks)
        The breaks taken during this shift
      • withBreaks

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

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

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

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

        public HrisShift withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The date and time the shift was last updated
      • 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