Class HrisShiftResultData.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HrisShiftResultData.Builder
-
- Enclosing class:
- HrisShiftResultData
public static final class HrisShiftResultData.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisShiftResultData.BuilderapprovalStatus(HrisShiftResultApprovalStatus approvalStatus)The approval status of the shiftHrisShiftResultData.BuilderapprovalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> approvalStatus)The approval status of the shiftHrisShiftResultData.BuilderbreakDuration(java.lang.String breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShiftResultData.BuilderbreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)The total break duration for this shift in ISO 8601 duration formatHrisShiftResultData.Builderbreaks(java.util.List<ShiftBreak> breaks)The breaks taken during this shiftHrisShiftResultData.Builderbreaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)The breaks taken during this shiftHrisShiftResultDatabuild()HrisShiftResultData.BuildercompanyId(java.lang.String companyId)The company ID associated with this shiftHrisShiftResultData.BuildercompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)The company ID associated with this shiftHrisShiftResultData.BuildercreatedAt(java.time.OffsetDateTime createdAt)The date and time the shift was createdHrisShiftResultData.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the shift was createdHrisShiftResultData.BuilderemployeeId(java.lang.String employeeId)The employee ID associated with this shiftHrisShiftResultData.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this shiftHrisShiftResultData.BuilderendTime(java.lang.String endTime)The end time of the shift (ISO8601 date-time without timezone)HrisShiftResultData.BuilderendTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime)The end time of the shift (ISO8601 date-time without timezone)HrisShiftResultData.Builderid(java.lang.String id)Unique identifierHrisShiftResultData.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierHrisShiftResultData.BuilderlocationId(java.lang.String locationId)The location ID where this shift takes placeHrisShiftResultData.BuilderlocationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)The location ID where this shift takes placeHrisShiftResultData.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierHrisShiftResultData.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierHrisShiftResultData.BuilderstartTime(java.lang.String startTime)The start time of the shift (ISO8601 date-time without timezone)HrisShiftResultData.BuilderstartTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime)The start time of the shift (ISO8601 date-time without timezone)HrisShiftResultData.Builderstatus(HrisShiftResultStatus status)The status of the shiftHrisShiftResultData.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status)The status of the shiftHrisShiftResultData.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The date and time the shift was last updatedHrisShiftResultData.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the shift was last updated
-
-
-
Method Detail
-
id
public HrisShiftResultData.Builder id(java.lang.String id)
Unique identifier
-
id
public HrisShiftResultData.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public HrisShiftResultData.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public HrisShiftResultData.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
employeeId
public HrisShiftResultData.Builder employeeId(java.lang.String employeeId)
The employee ID associated with this shift
-
employeeId
public HrisShiftResultData.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID associated with this shift
-
locationId
public HrisShiftResultData.Builder locationId(java.lang.String locationId)
The location ID where this shift takes place
-
locationId
public HrisShiftResultData.Builder locationId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
The location ID where this shift takes place
-
companyId
public HrisShiftResultData.Builder companyId(java.lang.String companyId)
The company ID associated with this shift
-
companyId
public HrisShiftResultData.Builder companyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
The company ID associated with this shift
-
startTime
public HrisShiftResultData.Builder startTime(java.lang.String startTime)
The start time of the shift (ISO8601 date-time without timezone)
-
startTime
public HrisShiftResultData.Builder startTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> startTime)
The start time of the shift (ISO8601 date-time without timezone)
-
endTime
public HrisShiftResultData.Builder endTime(java.lang.String endTime)
The end time of the shift (ISO8601 date-time without timezone)
-
endTime
public HrisShiftResultData.Builder endTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> endTime)
The end time of the shift (ISO8601 date-time without timezone)
-
breakDuration
public HrisShiftResultData.Builder breakDuration(java.lang.String breakDuration)
The total break duration for this shift in ISO 8601 duration format
-
breakDuration
public HrisShiftResultData.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 HrisShiftResultData.Builder status(HrisShiftResultStatus status)
The status of the shift
-
status
public HrisShiftResultData.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultStatus> status)
The status of the shift
-
approvalStatus
public HrisShiftResultData.Builder approvalStatus(HrisShiftResultApprovalStatus approvalStatus)
The approval status of the shift
-
approvalStatus
public HrisShiftResultData.Builder approvalStatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisShiftResultApprovalStatus> approvalStatus)
The approval status of the shift
-
breaks
public HrisShiftResultData.Builder breaks(java.util.List<ShiftBreak> breaks)
The breaks taken during this shift
-
breaks
public HrisShiftResultData.Builder breaks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
The breaks taken during this shift
-
createdAt
public HrisShiftResultData.Builder createdAt(java.time.OffsetDateTime createdAt)
The date and time the shift was created
-
createdAt
public HrisShiftResultData.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date and time the shift was created
-
updatedAt
public HrisShiftResultData.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The date and time the shift was last updated
-
updatedAt
public HrisShiftResultData.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date and time the shift was last updated
-
build
public HrisShiftResultData build()
-
-