public class Employee extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Employee.Builder
Class to build instances of
Employee. |
| Constructor and Description |
|---|
Employee(String id,
String firstName,
String lastName,
String email,
String phoneNumber,
List<String> locationIds,
String status,
Boolean isOwner,
String createdAt,
String updatedAt)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getEmail()
Getter for Email.
|
String |
getFirstName()
Getter for FirstName.
|
String |
getId()
Getter for Id.
|
Boolean |
getIsOwner()
Getter for IsOwner.
|
String |
getLastName()
Getter for LastName.
|
List<String> |
getLocationIds()
Getter for LocationIds.
|
String |
getPhoneNumber()
Getter for PhoneNumber.
|
String |
getStatus()
Getter for Status.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
Employee.Builder |
toBuilder()
Builds a new
Employee.Builder object. |
String |
toString()
Converts this Employee into string format.
|
public Employee(String id, String firstName, String lastName, String email, String phoneNumber, List<String> locationIds, String status, Boolean isOwner, String createdAt, String updatedAt)
id - String value for id.firstName - String value for firstName.lastName - String value for lastName.email - String value for email.phoneNumber - String value for phoneNumber.locationIds - List of String value for locationIds.status - String value for status.isOwner - Boolean value for isOwner.createdAt - String value for createdAt.updatedAt - String value for updatedAt.public String getId()
public String getFirstName()
public String getLastName()
public String getEmail()
public String getPhoneNumber()
public List<String> getLocationIds()
public String getStatus()
public Boolean getIsOwner()
public String getCreatedAt()
public String getUpdatedAt()
public String toString()
public Employee.Builder toBuilder()
Employee.Builder object.
Creates the instance with the state of the current model.Employee.Builder objectCopyright © 2022. All rights reserved.