Class ShiftBreak
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.ShiftBreak
-
public class ShiftBreak extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShiftBreak.Builder
-
Constructor Summary
Constructors Constructor Description ShiftBreak()ShiftBreak(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, 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> duration, org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> isPaid, 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 static ShiftBreak.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The date and time the break was createdorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>duration()The duration of the break in ISO 8601 duration formatorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>endTime()The end time of the breakbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()The unique identifier of the breakorg.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean>isPaid()Whether the break is paidorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>startTime()The start time of the breakjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The date and time the break was last updatedShiftBreakwithCreatedAt(java.time.OffsetDateTime createdAt)The date and time the break was createdShiftBreakwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date and time the break was createdShiftBreakwithDuration(java.lang.String duration)The duration of the break in ISO 8601 duration formatShiftBreakwithDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)The duration of the break in ISO 8601 duration formatShiftBreakwithEndTime(java.time.OffsetDateTime endTime)The end time of the breakShiftBreakwithEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the breakShiftBreakwithId(java.lang.String id)The unique identifier of the breakShiftBreakwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The unique identifier of the breakShiftBreakwithIsPaid(boolean isPaid)Whether the break is paidShiftBreakwithIsPaid(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> isPaid)Whether the break is paidShiftBreakwithStartTime(java.time.OffsetDateTime startTime)The start time of the breakShiftBreakwithStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the breakShiftBreakwithUpdatedAt(java.time.OffsetDateTime updatedAt)The date and time the break was last updatedShiftBreakwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date and time the break was last updated
-
-
-
Constructor Detail
-
ShiftBreak
public ShiftBreak(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, 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> duration, org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> isPaid, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
ShiftBreak
public ShiftBreak()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
The unique identifier of the break
-
startTime
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime()
The start time of the break
-
endTime
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime()
The end time of the break
-
duration
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration()
The duration of the break in ISO 8601 duration format
-
isPaid
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> isPaid()
Whether the break is paid
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
The date and time the break was created
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
The date and time the break was last updated
-
builder
public static ShiftBreak.Builder builder()
-
withId
public ShiftBreak withId(java.lang.String id)
The unique identifier of the break
-
withId
public ShiftBreak withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
The unique identifier of the break
-
withStartTime
public ShiftBreak withStartTime(java.time.OffsetDateTime startTime)
The start time of the break
-
withStartTime
public ShiftBreak withStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
The start time of the break
-
withEndTime
public ShiftBreak withEndTime(java.time.OffsetDateTime endTime)
The end time of the break
-
withEndTime
public ShiftBreak withEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
The end time of the break
-
withDuration
public ShiftBreak withDuration(java.lang.String duration)
The duration of the break in ISO 8601 duration format
-
withDuration
public ShiftBreak withDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
The duration of the break in ISO 8601 duration format
-
withIsPaid
public ShiftBreak withIsPaid(boolean isPaid)
Whether the break is paid
-
withIsPaid
public ShiftBreak withIsPaid(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> isPaid)
Whether the break is paid
-
withCreatedAt
public ShiftBreak withCreatedAt(java.time.OffsetDateTime createdAt)
The date and time the break was created
-
withCreatedAt
public ShiftBreak withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date and time the break was created
-
withUpdatedAt
public ShiftBreak withUpdatedAt(java.time.OffsetDateTime updatedAt)
The date and time the break was last updated
-
withUpdatedAt
public ShiftBreak withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date and time the break 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
-
-