Class ShiftBreak.Builder

  • Enclosing class:
    ShiftBreak

    public static final class ShiftBreak.Builder
    extends java.lang.Object
    • 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​(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