Class Data.Builder

  • Enclosing class:
    Data

    public static final class Data.Builder
    extends java.lang.Object
    • Method Detail

      • id

        public Data.Builder id​(java.lang.String id)
        Unique identifier
      • id

        public Data.Builder id​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • remoteId

        public Data.Builder remoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • remoteId

        public Data.Builder remoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • employeeId

        public Data.Builder employeeId​(java.lang.String employeeId)
        The employee ID associated with this shift
      • employeeId

        public Data.Builder employeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
        The employee ID associated with this shift
      • locationId

        public Data.Builder locationId​(java.lang.String locationId)
        The location ID where this shift takes place
      • locationId

        public Data.Builder locationId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> locationId)
        The location ID where this shift takes place
      • companyId

        public Data.Builder companyId​(java.lang.String companyId)
        The company ID associated with this shift
      • companyId

        public Data.Builder companyId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
        The company ID associated with this shift
      • startTime

        public Data.Builder startTime​(java.time.OffsetDateTime startTime)
        The start time of the shift
      • startTime

        public Data.Builder startTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
        The start time of the shift
      • endTime

        public Data.Builder endTime​(java.time.OffsetDateTime endTime)
        The end time of the shift
      • endTime

        public Data.Builder endTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
        The end time of the shift
      • breakDuration

        public Data.Builder breakDuration​(java.lang.String breakDuration)
        The total break duration for this shift in ISO 8601 duration format
      • breakDuration

        public Data.Builder breakDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> breakDuration)
        The total break duration for this shift in ISO 8601 duration format
      • breaks

        public Data.Builder breaks​(java.util.List<ShiftBreak> breaks)
        The breaks taken during this shift
      • breaks

        public Data.Builder breaks​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<ShiftBreak>> breaks)
        The breaks taken during this shift
      • createdAt

        public Data.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The date and time the shift was created
      • createdAt

        public Data.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The date and time the shift was created
      • updatedAt

        public Data.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        The date and time the shift was last updated
      • updatedAt

        public Data.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The date and time the shift was last updated
      • build

        public Data build()