Class TimeEntries
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeEntries
-
public class TimeEntries extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeEntries.Builder
-
Constructor Summary
Constructors Constructor Description TimeEntries()TimeEntries(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId, 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.Double> hoursWorked, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration, org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType, org.openapitools.jackson.nullable.JsonNullable<? extends Location> location, 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 org.openapitools.jackson.nullable.JsonNullable<java.lang.Double>breakDuration()The duration of the break taken during time entry in hoursstatic TimeEntries.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The created_at dateorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>employeeId()The employee ID associated with this time entryorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>endTime()The end time of the time entrybooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.Double>hoursWorked()The hours worked in the time entryorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<LaborType>laborType()The labor type associated with this time entryorg.openapitools.jackson.nullable.JsonNullable<Location>location()The location of the time entryorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteEmployeeId()Provider's unique identifier of the employee associated with this time entryorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>startTime()The start time of the time entryorg.openapitools.jackson.nullable.JsonNullable<TimeEntriesStatus>status()The status of the time entryjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>>unifiedCustomFields()Custom Unified Fields configured in your StackOne projectorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The updated_at dateTimeEntrieswithBreakDuration(double breakDuration)The duration of the break taken during time entry in hoursTimeEntrieswithBreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration)The duration of the break taken during time entry in hoursTimeEntrieswithCreatedAt(java.time.OffsetDateTime createdAt)The created_at dateTimeEntrieswithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateTimeEntrieswithEmployeeId(java.lang.String employeeId)The employee ID associated with this time entryTimeEntrieswithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this time entryTimeEntrieswithEndTime(java.time.OffsetDateTime endTime)The end time of the time entryTimeEntrieswithEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)The end time of the time entryTimeEntrieswithHoursWorked(double hoursWorked)The hours worked in the time entryTimeEntrieswithHoursWorked(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> hoursWorked)The hours worked in the time entryTimeEntrieswithId(java.lang.String id)Unique identifierTimeEntrieswithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTimeEntrieswithLaborType(LaborType laborType)The labor type associated with this time entryTimeEntrieswithLaborType(org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType)The labor type associated with this time entryTimeEntrieswithLocation(Location location)The location of the time entryTimeEntrieswithLocation(org.openapitools.jackson.nullable.JsonNullable<? extends Location> location)The location of the time entryTimeEntrieswithRemoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employee associated with this time entryTimeEntrieswithRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employee associated with this time entryTimeEntrieswithRemoteId(java.lang.String remoteId)Provider's unique identifierTimeEntrieswithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTimeEntrieswithStartTime(java.time.OffsetDateTime startTime)The start time of the time entryTimeEntrieswithStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)The start time of the time entryTimeEntrieswithStatus(TimeEntriesStatus status)The status of the time entryTimeEntrieswithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status)The status of the time entryTimeEntrieswithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectTimeEntrieswithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectTimeEntrieswithUpdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateTimeEntrieswithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at date
-
-
-
Constructor Detail
-
TimeEntries
public TimeEntries(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId, 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.Double> hoursWorked, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration, org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status, org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType, org.openapitools.jackson.nullable.JsonNullable<? extends Location> location, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
TimeEntries
public TimeEntries()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
unifiedCustomFields
public org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields()
Custom Unified Fields configured in your StackOne project
-
employeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
The employee ID associated with this time entry
-
remoteEmployeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
Provider's unique identifier of the employee associated with this time entry
-
startTime
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime()
The start time of the time entry
-
endTime
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime()
The end time of the time entry
-
hoursWorked
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> hoursWorked()
The hours worked in the time entry
-
breakDuration
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration()
The duration of the break taken during time entry in hours
-
status
public org.openapitools.jackson.nullable.JsonNullable<TimeEntriesStatus> status()
The status of the time entry
-
laborType
public org.openapitools.jackson.nullable.JsonNullable<LaborType> laborType()
The labor type associated with this time entry
-
location
public org.openapitools.jackson.nullable.JsonNullable<Location> location()
The location of the time entry
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
The created_at date
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
The updated_at date
-
builder
public static TimeEntries.Builder builder()
-
withId
public TimeEntries withId(java.lang.String id)
Unique identifier
-
withId
public TimeEntries withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public TimeEntries withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public TimeEntries withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withUnifiedCustomFields
public TimeEntries withUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withUnifiedCustomFields
public TimeEntries withUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withEmployeeId
public TimeEntries withEmployeeId(java.lang.String employeeId)
The employee ID associated with this time entry
-
withEmployeeId
public TimeEntries withEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID associated with this time entry
-
withRemoteEmployeeId
public TimeEntries withRemoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee associated with this time entry
-
withRemoteEmployeeId
public TimeEntries withRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee associated with this time entry
-
withStartTime
public TimeEntries withStartTime(java.time.OffsetDateTime startTime)
The start time of the time entry
-
withStartTime
public TimeEntries withStartTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startTime)
The start time of the time entry
-
withEndTime
public TimeEntries withEndTime(java.time.OffsetDateTime endTime)
The end time of the time entry
-
withEndTime
public TimeEntries withEndTime(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endTime)
The end time of the time entry
-
withHoursWorked
public TimeEntries withHoursWorked(double hoursWorked)
The hours worked in the time entry
-
withHoursWorked
public TimeEntries withHoursWorked(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> hoursWorked)
The hours worked in the time entry
-
withBreakDuration
public TimeEntries withBreakDuration(double breakDuration)
The duration of the break taken during time entry in hours
-
withBreakDuration
public TimeEntries withBreakDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> breakDuration)
The duration of the break taken during time entry in hours
-
withStatus
public TimeEntries withStatus(TimeEntriesStatus status)
The status of the time entry
-
withStatus
public TimeEntries withStatus(org.openapitools.jackson.nullable.JsonNullable<? extends TimeEntriesStatus> status)
The status of the time entry
-
withLaborType
public TimeEntries withLaborType(LaborType laborType)
The labor type associated with this time entry
-
withLaborType
public TimeEntries withLaborType(org.openapitools.jackson.nullable.JsonNullable<? extends LaborType> laborType)
The labor type associated with this time entry
-
withLocation
public TimeEntries withLocation(Location location)
The location of the time entry
-
withLocation
public TimeEntries withLocation(org.openapitools.jackson.nullable.JsonNullable<? extends Location> location)
The location of the time entry
-
withCreatedAt
public TimeEntries withCreatedAt(java.time.OffsetDateTime createdAt)
The created_at date
-
withCreatedAt
public TimeEntries withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The created_at date
-
withUpdatedAt
public TimeEntries withUpdatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date
-
withUpdatedAt
public TimeEntries withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The updated_at date
-
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
-
-