Class ShiftBreak.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ShiftBreak.Builder
-
- Enclosing class:
- ShiftBreak
public static final class ShiftBreak.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShiftBreakbuild()ShiftBreak.BuildercreatedAt(java.time.OffsetDateTime createdAt)The date and time the break was createdShiftBreak.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the break was createdShiftBreak.Builderduration(java.lang.String duration)The duration of the break in ISO 8601 duration formatShiftBreak.Builderduration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)The duration of the break in ISO 8601 duration formatShiftBreak.BuilderendTime(java.time.OffsetDateTime endTime)The end time of the breakShiftBreak.BuilderendTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the breakShiftBreak.Builderid(java.lang.String id)The unique identifier of the breakShiftBreak.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The unique identifier of the breakShiftBreak.BuilderisPaid(IsPaid isPaid)Whether the break is paidShiftBreak.BuilderisPaid(org.openapitools.jackson.nullable.JsonNullable<? extends IsPaid> isPaid)Whether the break is paidShiftBreak.BuilderstartTime(java.time.OffsetDateTime startTime)The start time of the breakShiftBreak.BuilderstartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the breakShiftBreak.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The date and time the break was last updatedShiftBreak.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the break was last updated
-
-
-
Method Detail
-
id
public ShiftBreak.Builder id(java.lang.String id)
The unique identifier of the break
-
id
public ShiftBreak.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
The unique identifier of the break
-
startTime
public ShiftBreak.Builder startTime(java.time.OffsetDateTime startTime)
The start time of the break
-
startTime
public ShiftBreak.Builder startTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
The start time of the break
-
endTime
public ShiftBreak.Builder endTime(java.time.OffsetDateTime endTime)
The end time of the break
-
endTime
public ShiftBreak.Builder endTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
The end time of the break
-
duration
public ShiftBreak.Builder duration(java.lang.String duration)
The duration of the break in ISO 8601 duration format
-
duration
public ShiftBreak.Builder duration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
The duration of the break in ISO 8601 duration format
-
isPaid
public ShiftBreak.Builder isPaid(IsPaid isPaid)
Whether the break is paid
-
isPaid
public ShiftBreak.Builder isPaid(org.openapitools.jackson.nullable.JsonNullable<? extends IsPaid> isPaid)
Whether the break is paid
-
createdAt
public ShiftBreak.Builder createdAt(java.time.OffsetDateTime createdAt)
The date and time the break was created
-
createdAt
public ShiftBreak.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date and time the break was created
-
updatedAt
public ShiftBreak.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The date and time the break was last updated
-
updatedAt
public ShiftBreak.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date and time the break was last updated
-
build
public ShiftBreak build()
-
-