Class TimeEntries.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeEntries.Builder
-
- Enclosing class:
- TimeEntries
public static final class TimeEntries.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeEntries.BuilderbreakDuration(double breakDuration)The duration of the break taken during time entry in hoursTimeEntries.BuilderbreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration)The duration of the break taken during time entry in hoursTimeEntriesbuild()TimeEntries.BuildercreatedAt(java.time.OffsetDateTime createdAt)The created_at dateTimeEntries.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateTimeEntries.BuilderemployeeId(java.lang.String employeeId)The employee ID associated with this time entryTimeEntries.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this time entryTimeEntries.BuilderendTime(java.time.OffsetDateTime endTime)The end time of the time entryTimeEntries.BuilderendTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the time entryTimeEntries.BuilderhoursWorked(double hoursWorked)The hours worked in the time entryTimeEntries.BuilderhoursWorked(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> hoursWorked)The hours worked in the time entryTimeEntries.Builderid(java.lang.String id)Unique identifierTimeEntries.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTimeEntries.BuilderlaborType(LaborType laborType)The labor type associated with this time entryTimeEntries.BuilderlaborType(org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType)The labor type associated with this time entryTimeEntries.Builderlocation(Location location)The location of the time entryTimeEntries.Builderlocation(org.openapitools.jackson.nullable.JsonNullable<? extends Location> location)The location of the time entryTimeEntries.BuilderremoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employee associated with this time entryTimeEntries.BuilderremoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employee associated with this time entryTimeEntries.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierTimeEntries.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTimeEntries.BuilderstartTime(java.time.OffsetDateTime startTime)The start time of the time entryTimeEntries.BuilderstartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the time entryTimeEntries.Builderstatus(TimeEntriesStatus status)The status of the time entryTimeEntries.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status)The status of the time entryTimeEntries.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectTimeEntries.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectTimeEntries.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateTimeEntries.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at date
-
-
-
Method Detail
-
id
public TimeEntries.Builder id(java.lang.String id)
Unique identifier
-
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
-
status
public TimeEntries.Builder status(TimeEntriesStatus status)
The status of the time entry
-
status
public TimeEntries.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status)
The status of the time entry
-
laborType
public TimeEntries.Builder laborType(LaborType laborType)
The labor type associated with this time entry
-
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(Location location)
The location of the 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
-
build
public TimeEntries build()
-
-