Class HrisShift.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HrisShift.Builder
-
- Enclosing class:
- HrisShift
public static final class HrisShift.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisShift.BuilderapprovalStatus(ApprovalStatus approvalStatus)The approval status of the shiftHrisShift.BuilderapprovalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus)The approval status of the shiftHrisShift.BuilderbreakDuration(java.lang.String breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShift.BuilderbreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShift.Builderbreaks(java.util.List<ShiftBreak> breaks)The breaks taken during this shiftHrisShift.Builderbreaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)The breaks taken during this shiftHrisShiftbuild()HrisShift.BuildercompanyId(java.lang.String companyId)The company ID associated with this shiftHrisShift.BuildercompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)The company ID associated with this shiftHrisShift.BuildercreatedAt(java.time.OffsetDateTime createdAt)The date and time the shift was createdHrisShift.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the shift was createdHrisShift.BuilderemployeeId(java.lang.String employeeId)The employee ID associated with this shiftHrisShift.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this shiftHrisShift.BuilderendTime(java.time.OffsetDateTime endTime)The end time of the shiftHrisShift.BuilderendTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the shiftHrisShift.Builderid(java.lang.String id)Unique identifierHrisShift.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierHrisShift.BuilderlocationId(java.lang.String locationId)The location ID where this shift takes placeHrisShift.BuilderlocationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)The location ID where this shift takes placeHrisShift.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierHrisShift.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierHrisShift.BuilderstartTime(java.time.OffsetDateTime startTime)The start time of the shiftHrisShift.BuilderstartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the shiftHrisShift.Builderstatus(HrisShiftStatus status)The status of the shiftHrisShift.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status)The status of the shiftHrisShift.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The date and time the shift was last updatedHrisShift.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the shift was last updated
-
-
-
Method Detail
-
id
public HrisShift.Builder id(java.lang.String id)
Unique identifier
-
id
public HrisShift.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public HrisShift.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public HrisShift.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
employeeId
public HrisShift.Builder employeeId(java.lang.String employeeId)
The employee ID associated with this shift
-
employeeId
public HrisShift.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID associated with this shift
-
locationId
public HrisShift.Builder locationId(java.lang.String locationId)
The location ID where this shift takes place
-
locationId
public HrisShift.Builder locationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
The location ID where this shift takes place
-
companyId
public HrisShift.Builder companyId(java.lang.String companyId)
The company ID associated with this shift
-
companyId
public HrisShift.Builder companyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
The company ID associated with this shift
-
startTime
public HrisShift.Builder startTime(java.time.OffsetDateTime startTime)
The start time of the shift
-
startTime
public HrisShift.Builder startTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
The start time of the shift
-
endTime
public HrisShift.Builder endTime(java.time.OffsetDateTime endTime)
The end time of the shift
-
endTime
public HrisShift.Builder endTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
The end time of the shift
-
breakDuration
public HrisShift.Builder breakDuration(java.lang.String breakDuration)
The total break duration for this shift in ISO 8601 duration format
-
breakDuration
public HrisShift.Builder breakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)
The total break duration for this shift in ISO 8601 duration format
-
status
public HrisShift.Builder status(HrisShiftStatus status)
The status of the shift
-
status
public HrisShift.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftStatus> status)
The status of the shift
-
approvalStatus
public HrisShift.Builder approvalStatus(ApprovalStatus approvalStatus)
The approval status of the shift
-
approvalStatus
public HrisShift.Builder approvalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends ApprovalStatus> approvalStatus)
The approval status of the shift
-
breaks
public HrisShift.Builder breaks(java.util.List<ShiftBreak> breaks)
The breaks taken during this shift
-
breaks
public HrisShift.Builder breaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
The breaks taken during this shift
-
createdAt
public HrisShift.Builder createdAt(java.time.OffsetDateTime createdAt)
The date and time the shift was created
-
createdAt
public HrisShift.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date and time the shift was created
-
updatedAt
public HrisShift.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The date and time the shift was last updated
-
updatedAt
public HrisShift.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date and time the shift was last updated
-
build
public HrisShift build()
-
-