Class WorkLocation
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.WorkLocation
-
public class WorkLocation extends java.lang.ObjectWorkLocation - The employee work location
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkLocation.Builder
-
Constructor Summary
Constructors Constructor Description WorkLocation()WorkLocation(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.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType, 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 static WorkLocation.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>city()The city where the location is situatedorg.openapitools.jackson.nullable.JsonNullable<EmployeeCountry>country()The country codeorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The created_at dateorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>employeeId()The employee IDbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<EmployeeLocationType>locationType()The location typeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()The name of the locationorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>phoneNumber()The phone number of the locationorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteEmployeeId()Provider's unique identifier of the employeeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>state()The state where the location is situatedorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>street1()The first line of the addressorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>street2()The second line of the addressjava.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 dateWorkLocationwithCity(java.lang.String city)The city where the location is situatedWorkLocationwithCity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)The city where the location is situatedWorkLocationwithCountry(EmployeeCountry country)The country codeWorkLocationwithCountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)The country codeWorkLocationwithCreatedAt(java.time.OffsetDateTime createdAt)The created_at dateWorkLocationwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateWorkLocationwithEmployeeId(java.lang.String employeeId)The employee IDWorkLocationwithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee IDWorkLocationwithId(java.lang.String id)Unique identifierWorkLocationwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierWorkLocationwithLocationType(EmployeeLocationType locationType)The location typeWorkLocationwithLocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType)The location typeWorkLocationwithName(java.lang.String name)The name of the locationWorkLocationwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the locationWorkLocationwithPhoneNumber(java.lang.String phoneNumber)The phone number of the locationWorkLocationwithPhoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)The phone number of the locationWorkLocationwithRemoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employeeWorkLocationwithRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employeeWorkLocationwithRemoteId(java.lang.String remoteId)Provider's unique identifierWorkLocationwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierWorkLocationwithState(java.lang.String state)The state where the location is situatedWorkLocationwithState(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)The state where the location is situatedWorkLocationwithStreet1(java.lang.String street1)The first line of the addressWorkLocationwithStreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)The first line of the addressWorkLocationwithStreet2(java.lang.String street2)The second line of the addressWorkLocationwithStreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)The second line of the addressWorkLocationwithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectWorkLocationwithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectWorkLocationwithUpdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateWorkLocationwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at dateWorkLocationwithZipCode(java.lang.String zipCode)The ZIP code/Postal code of the locationWorkLocationwithZipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)The ZIP code/Postal code of the locationorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>zipCode()The ZIP code/Postal code of the location
-
-
-
Constructor Detail
-
WorkLocation
public WorkLocation(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.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
WorkLocation
public WorkLocation()
-
-
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
-
remoteEmployeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
Provider's unique identifier of the employee
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
The name of the location
-
phoneNumber
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber()
The phone number of the location
-
street1
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1()
The first line of the address
-
street2
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2()
The second line of the address
-
city
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city()
The city where the location is situated
-
state
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state()
The state where the location is situated
-
zipCode
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode()
The ZIP code/Postal code of the location
-
country
public org.openapitools.jackson.nullable.JsonNullable<EmployeeCountry> country()
The country code
-
locationType
public org.openapitools.jackson.nullable.JsonNullable<EmployeeLocationType> locationType()
The location type
-
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 final WorkLocation.Builder builder()
-
withId
public WorkLocation withId(java.lang.String id)
Unique identifier
-
withId
public WorkLocation withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public WorkLocation withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public WorkLocation withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withUnifiedCustomFields
public WorkLocation withUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withUnifiedCustomFields
public WorkLocation 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 WorkLocation withEmployeeId(java.lang.String employeeId)
The employee ID
-
withEmployeeId
public WorkLocation withEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID
-
withRemoteEmployeeId
public WorkLocation withRemoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee
-
withRemoteEmployeeId
public WorkLocation withRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee
-
withName
public WorkLocation withName(java.lang.String name)
The name of the location
-
withName
public WorkLocation withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the location
-
withPhoneNumber
public WorkLocation withPhoneNumber(java.lang.String phoneNumber)
The phone number of the location
-
withPhoneNumber
public WorkLocation withPhoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)
The phone number of the location
-
withStreet1
public WorkLocation withStreet1(java.lang.String street1)
The first line of the address
-
withStreet1
public WorkLocation withStreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)
The first line of the address
-
withStreet2
public WorkLocation withStreet2(java.lang.String street2)
The second line of the address
-
withStreet2
public WorkLocation withStreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)
The second line of the address
-
withCity
public WorkLocation withCity(java.lang.String city)
The city where the location is situated
-
withCity
public WorkLocation withCity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)
The city where the location is situated
-
withState
public WorkLocation withState(java.lang.String state)
The state where the location is situated
-
withState
public WorkLocation withState(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)
The state where the location is situated
-
withZipCode
public WorkLocation withZipCode(java.lang.String zipCode)
The ZIP code/Postal code of the location
-
withZipCode
public WorkLocation withZipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)
The ZIP code/Postal code of the location
-
withCountry
public WorkLocation withCountry(EmployeeCountry country)
The country code
-
withCountry
public WorkLocation withCountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)
The country code
-
withLocationType
public WorkLocation withLocationType(EmployeeLocationType locationType)
The location type
-
withLocationType
public WorkLocation withLocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType)
The location type
-
withCreatedAt
public WorkLocation withCreatedAt(java.time.OffsetDateTime createdAt)
The created_at date
-
withCreatedAt
public WorkLocation withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The created_at date
-
withUpdatedAt
public WorkLocation withUpdatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date
-
withUpdatedAt
public WorkLocation 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
-
-