Class Data
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Data
-
public class Data extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classData.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 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 Data.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<HrisShiftResultStatus>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 updatedDatawithApprovalStatus(HrisShiftResultApprovalStatus approvalStatus)The approval status of the shiftDatawithApprovalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> approvalStatus)The approval status of the shiftDatawithBreakDuration(java.lang.String breakDuration)The total break duration for this shift in ISO 8601 duration formatDatawithBreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)The total break duration for this shift in ISO 8601 duration formatDatawithBreaks(java.util.List<ShiftBreak> breaks)The breaks taken during this shiftDatawithBreaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)The breaks taken during this shiftDatawithCompanyId(java.lang.String companyId)The company ID associated with this shiftDatawithCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)The company ID associated with this shiftDatawithCreatedAt(java.time.OffsetDateTime createdAt)The date and time the shift was createdDatawithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the shift was createdDatawithEmployeeId(java.lang.String employeeId)The employee ID associated with this shiftDatawithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this shiftDatawithEndTime(java.time.OffsetDateTime endTime)The end time of the shiftDatawithEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the shiftDatawithId(java.lang.String id)Unique identifierDatawithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierDatawithLocationId(java.lang.String locationId)The location ID where this shift takes placeDatawithLocationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)The location ID where this shift takes placeDatawithRemoteId(java.lang.String remoteId)Provider's unique identifierDatawithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierDatawithStartTime(java.time.OffsetDateTime startTime)The start time of the shiftDatawithStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the shiftDatawithStatus(HrisShiftResultStatus status)The status of the shiftDatawithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status)The status of the shiftDatawithUpdatedAt(java.time.OffsetDateTime updatedAt)The date and time the shift was last updatedDatawithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the shift was last updated
-
-
-
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
-
builder
public static Data.Builder builder()
-
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(HrisShiftResultStatus status)
The status of the shift
-
withStatus
public Data withStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status)
The status of the shift
-
withApprovalStatus
public Data withApprovalStatus(HrisShiftResultApprovalStatus approvalStatus)
The approval 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-