Class Data


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

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

      Constructors 
      Constructor Description
      Data()  
      Data​(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.time.OffsetDateTime> startTime, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration, org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> 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<HrisShiftResultApprovalStatus> 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 Data.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.time.OffsetDateTime> endTime()
      The end time of the shift
      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.time.OffsetDateTime> startTime()
      The start time of the shift
      org.openapitools.jackson.nullable.JsonNullable<HrisShiftResultStatus> 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
      Data withApprovalStatus​(HrisShiftResultApprovalStatus approvalStatus)
      The approval status of the shift
      Data withApprovalStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> approvalStatus)
      The approval status of the shift
      Data withBreakDuration​(java.lang.String breakDuration)
      The total break duration for this shift in ISO 8601 duration format
      Data withBreakDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)
      The total break duration for this shift in ISO 8601 duration format
      Data withBreaks​(java.util.List<ShiftBreak> breaks)
      The breaks taken during this shift
      Data withBreaks​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
      The breaks taken during this shift
      Data withCompanyId​(java.lang.String companyId)
      The company ID associated with this shift
      Data withCompanyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
      The company ID associated with this shift
      Data withCreatedAt​(java.time.OffsetDateTime createdAt)
      The date and time the shift was created
      Data withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The date and time the shift was created
      Data withEmployeeId​(java.lang.String employeeId)
      The employee ID associated with this shift
      Data withEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
      The employee ID associated with this shift
      Data withEndTime​(java.time.OffsetDateTime endTime)
      The end time of the shift
      Data withEndTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
      The end time of the shift
      Data withId​(java.lang.String id)
      Unique identifier
      Data withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      Data withLocationId​(java.lang.String locationId)
      The location ID where this shift takes place
      Data withLocationId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
      The location ID where this shift takes place
      Data withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      Data withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      Data withStartTime​(java.time.OffsetDateTime startTime)
      The start time of the shift
      Data withStartTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
      The start time of the shift
      Data withStatus​(HrisShiftResultStatus status)
      The status of the shift
      Data withStatus​(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status)
      The status of the shift
      Data withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      The date and time the shift was last updated
      Data 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

      • Data

        public Data​(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.time.OffsetDateTime> startTime,
                    org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime,
                    org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration,
                    org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status,
                    org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> 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)
      • Data

        public Data()
    • 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.time.OffsetDateTime> startTime()
        The start time of the shift
      • endTime

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime()
        The end time of the shift
      • 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<HrisShiftResultStatus> status()
        The status of the shift
      • approvalStatus

        public org.openapitools.jackson.nullable.JsonNullable<HrisShiftResultApprovalStatus> 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 Data withId​(java.lang.String id)
        Unique identifier
      • withId

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

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

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

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

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

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

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

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

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

        public Data withStartTime​(java.time.OffsetDateTime startTime)
        The start time of the shift
      • withStartTime

        public Data withStartTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
        The start time of the shift
      • withEndTime

        public Data withEndTime​(java.time.OffsetDateTime endTime)
        The end time of the shift
      • withEndTime

        public Data withEndTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
        The end time of the shift
      • withBreakDuration

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

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

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

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

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

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

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

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

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

        public Data 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