public class Shift extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Shift.Builder
Class to build instances of
Shift. |
| Constructor and Description |
|---|
Shift(String startAt,
String id,
String employeeId,
String locationId,
String timezone,
String endAt,
ShiftWage wage,
List<Break> breaks,
String status,
Integer version,
String createdAt,
String updatedAt,
String teamMemberId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Break> |
getBreaks()
Getter for Breaks.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getEmployeeId()
Getter for EmployeeId.
|
String |
getEndAt()
Getter for EndAt.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getStartAt()
Getter for StartAt.
|
String |
getStatus()
Getter for Status.
|
String |
getTeamMemberId()
Getter for TeamMemberId.
|
String |
getTimezone()
Getter for Timezone.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Integer |
getVersion()
Getter for Version.
|
ShiftWage |
getWage()
Getter for Wage.
|
int |
hashCode() |
Shift.Builder |
toBuilder()
Builds a new
Shift.Builder object. |
String |
toString()
Converts this Shift into string format.
|
public Shift(String startAt, String id, String employeeId, String locationId, String timezone, String endAt, ShiftWage wage, List<Break> breaks, String status, Integer version, String createdAt, String updatedAt, String teamMemberId)
startAt - String value for startAt.id - String value for id.employeeId - String value for employeeId.locationId - String value for locationId.timezone - String value for timezone.endAt - String value for endAt.wage - ShiftWage value for wage.breaks - List of Break value for breaks.status - String value for status.version - Integer value for version.createdAt - String value for createdAt.updatedAt - String value for updatedAt.teamMemberId - String value for teamMemberId.public String getId()
public String getEmployeeId()
public String getLocationId()
public String getTimezone()
public String getStartAt()
public String getEndAt()
public ShiftWage getWage()
public List<Break> getBreaks()
public String getStatus()
public Integer getVersion()
public String getCreatedAt()
public String getUpdatedAt()
public String getTeamMemberId()
public String toString()
public Shift.Builder toBuilder()
Shift.Builder object.
Creates the instance with the state of the current model.Shift.Builder objectCopyright © 2022. All rights reserved.