Class HrisShift
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HrisShift
-
public class HrisShift extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHrisShift.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.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 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 shiftorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>breakDuration()The total break duration for this shift in ISO 8601 duration formatorg.openapitools.jackson.nullable.JsonNullable<java.util.List<ShiftBreak>>breaks()The breaks taken during this shiftstatic HrisShift.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>companyId()The company ID associated with this shiftorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The date and time the shift was createdorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>employeeId()The employee ID associated with this shiftorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>endTime()The end time of the shiftbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>locationId()The location ID where this shift takes placeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>startTime()The start time of the shiftorg.openapitools.jackson.nullable.JsonNullable<HrisShiftStatus>status()The status of the shiftjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The date and time the shift was last updatedHrisShiftwithApprovalStatus(ApprovalStatus approvalStatus)The approval status of the shiftHrisShiftwithApprovalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus)The approval status of the shiftHrisShiftwithBreakDuration(java.lang.String breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShiftwithBreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShiftwithBreaks(java.util.List<ShiftBreak> breaks)The breaks taken during this shiftHrisShiftwithBreaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)The breaks taken during this shiftHrisShiftwithCompanyId(java.lang.String companyId)The company ID associated with this shiftHrisShiftwithCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)The company ID associated with this shiftHrisShiftwithCreatedAt(java.time.OffsetDateTime createdAt)The date and time the shift was createdHrisShiftwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the shift was createdHrisShiftwithEmployeeId(java.lang.String employeeId)The employee ID associated with this shiftHrisShiftwithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this shiftHrisShiftwithEndTime(java.time.OffsetDateTime endTime)The end time of the shiftHrisShiftwithEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the shiftHrisShiftwithId(java.lang.String id)Unique identifierHrisShiftwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierHrisShiftwithLocationId(java.lang.String locationId)The location ID where this shift takes placeHrisShiftwithLocationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)The location ID where this shift takes placeHrisShiftwithRemoteId(java.lang.String remoteId)Provider's unique identifierHrisShiftwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierHrisShiftwithStartTime(java.time.OffsetDateTime startTime)The start time of the shiftHrisShiftwithStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the shiftHrisShiftwithStatus(HrisShiftStatus status)The status of the shiftHrisShiftwithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status)The status of the shiftHrisShiftwithUpdatedAt(java.time.OffsetDateTime updatedAt)The date and time the shift was last updatedHrisShiftwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the shift was last updated
-
-
-
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.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 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.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<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
-
builder
public static HrisShift.Builder builder()
-
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.time.OffsetDateTime startTime)
The start time of the shift
-
withStartTime
public HrisShift withStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
The start time of the shift
-
withEndTime
public HrisShift withEndTime(java.time.OffsetDateTime endTime)
The end time of the shift
-
withEndTime
public HrisShift withEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
The end time of the shift
-
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(HrisShiftStatus status)
The status of the shift
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-