Class TimeEntries.Builder

  • Enclosing class:
    TimeEntries

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

      • id

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

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

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

        public TimeEntries.Builder unifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • unifiedCustomFields

        public TimeEntries.Builder unifiedCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • employeeId

        public TimeEntries.Builder employeeId​(java.lang.String employeeId)
        The employee ID associated with this time entry
      • employeeId

        public TimeEntries.Builder employeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
        The employee ID associated with this time entry
      • remoteEmployeeId

        public TimeEntries.Builder remoteEmployeeId​(java.lang.String remoteEmployeeId)
        Provider's unique identifier of the employee associated with this time entry
      • remoteEmployeeId

        public TimeEntries.Builder remoteEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
        Provider's unique identifier of the employee associated with this time entry
      • startTime

        public TimeEntries.Builder startTime​(java.time.OffsetDateTime startTime)
        The start time of the time entry
      • startTime

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

        public TimeEntries.Builder endTime​(java.time.OffsetDateTime endTime)
        The end time of the time entry
      • endTime

        public TimeEntries.Builder endTime​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
        The end time of the time entry
      • hoursWorked

        public TimeEntries.Builder hoursWorked​(double hoursWorked)
        The hours worked in the time entry
      • hoursWorked

        public TimeEntries.Builder hoursWorked​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> hoursWorked)
        The hours worked in the time entry
      • breakDuration

        public TimeEntries.Builder breakDuration​(double breakDuration)
        The duration of the break taken during time entry in hours
      • breakDuration

        public TimeEntries.Builder breakDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration)
        The duration of the break taken during time entry in hours
      • laborType

        public TimeEntries.Builder laborType​(org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType)
        The labor type associated with this time entry
      • location

        public TimeEntries.Builder location​(org.openapitools.jackson.nullable.JsonNullable<? extends Location> location)
        The location of the time entry
      • createdAt

        public TimeEntries.Builder createdAt​(java.time.OffsetDateTime createdAt)
        The created_at date
      • createdAt

        public TimeEntries.Builder createdAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The created_at date
      • updatedAt

        public TimeEntries.Builder updatedAt​(java.time.OffsetDateTime updatedAt)
        The updated_at date
      • updatedAt

        public TimeEntries.Builder updatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The updated_at date