Class HomeLocation
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HomeLocation
-
public class HomeLocation extends java.lang.ObjectHomeLocationThe employee home location
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHomeLocation.Builder
-
Constructor Summary
Constructors Constructor Description HomeLocation()HomeLocation(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 EmployeeHomeLocationCountry> country, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> 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 HomeLocation.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>city()The city where the location is situatedorg.openapitools.jackson.nullable.JsonNullable<EmployeeHomeLocationCountry>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<EmployeeHomeLocationLocationType>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 dateHomeLocationwithCity(java.lang.String city)The city where the location is situatedHomeLocationwithCity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)The city where the location is situatedHomeLocationwithCountry(EmployeeHomeLocationCountry country)The country codeHomeLocationwithCountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationCountry> country)The country codeHomeLocationwithCreatedAt(java.time.OffsetDateTime createdAt)The created_at dateHomeLocationwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateHomeLocationwithEmployeeId(java.lang.String employeeId)The employee IDHomeLocationwithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee IDHomeLocationwithId(java.lang.String id)Unique identifierHomeLocationwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierHomeLocationwithLocationType(EmployeeHomeLocationLocationType locationType)The location typeHomeLocationwithLocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> locationType)The location typeHomeLocationwithName(java.lang.String name)The name of the locationHomeLocationwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the locationHomeLocationwithPhoneNumber(java.lang.String phoneNumber)The phone number of the locationHomeLocationwithPhoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)The phone number of the locationHomeLocationwithRemoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employeeHomeLocationwithRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employeeHomeLocationwithRemoteId(java.lang.String remoteId)Provider's unique identifierHomeLocationwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierHomeLocationwithState(java.lang.String state)The state where the location is situatedHomeLocationwithState(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)The state where the location is situatedHomeLocationwithStreet1(java.lang.String street1)The first line of the addressHomeLocationwithStreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)The first line of the addressHomeLocationwithStreet2(java.lang.String street2)The second line of the addressHomeLocationwithStreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)The second line of the addressHomeLocationwithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectHomeLocationwithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectHomeLocationwithUpdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateHomeLocationwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at dateHomeLocationwithZipCode(java.lang.String zipCode)The ZIP code/Postal code of the locationHomeLocationwithZipCode(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
-
HomeLocation
public HomeLocation(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 EmployeeHomeLocationCountry> country, org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> locationType, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
HomeLocation
public HomeLocation()
-
-
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<EmployeeHomeLocationCountry> country()
The country code
-
locationType
public org.openapitools.jackson.nullable.JsonNullable<EmployeeHomeLocationLocationType> 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 HomeLocation.Builder builder()
-
withId
public HomeLocation withId(java.lang.String id)
Unique identifier
-
withId
public HomeLocation withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public HomeLocation withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public HomeLocation withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withUnifiedCustomFields
public HomeLocation withUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withUnifiedCustomFields
public HomeLocation 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 HomeLocation withEmployeeId(java.lang.String employeeId)
The employee ID
-
withEmployeeId
public HomeLocation withEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID
-
withRemoteEmployeeId
public HomeLocation withRemoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee
-
withRemoteEmployeeId
public HomeLocation withRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee
-
withName
public HomeLocation withName(java.lang.String name)
The name of the location
-
withName
public HomeLocation withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the location
-
withPhoneNumber
public HomeLocation withPhoneNumber(java.lang.String phoneNumber)
The phone number of the location
-
withPhoneNumber
public HomeLocation withPhoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)
The phone number of the location
-
withStreet1
public HomeLocation withStreet1(java.lang.String street1)
The first line of the address
-
withStreet1
public HomeLocation withStreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)
The first line of the address
-
withStreet2
public HomeLocation withStreet2(java.lang.String street2)
The second line of the address
-
withStreet2
public HomeLocation withStreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)
The second line of the address
-
withCity
public HomeLocation withCity(java.lang.String city)
The city where the location is situated
-
withCity
public HomeLocation withCity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)
The city where the location is situated
-
withState
public HomeLocation withState(java.lang.String state)
The state where the location is situated
-
withState
public HomeLocation withState(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)
The state where the location is situated
-
withZipCode
public HomeLocation withZipCode(java.lang.String zipCode)
The ZIP code/Postal code of the location
-
withZipCode
public HomeLocation withZipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)
The ZIP code/Postal code of the location
-
withCountry
public HomeLocation withCountry(EmployeeHomeLocationCountry country)
The country code
-
withCountry
public HomeLocation withCountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationCountry> country)
The country code
-
withLocationType
public HomeLocation withLocationType(EmployeeHomeLocationLocationType locationType)
The location type
-
withLocationType
public HomeLocation withLocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> locationType)
The location type
-
withCreatedAt
public HomeLocation withCreatedAt(java.time.OffsetDateTime createdAt)
The created_at date
-
withCreatedAt
public HomeLocation withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The created_at date
-
withUpdatedAt
public HomeLocation withUpdatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date
-
withUpdatedAt
public HomeLocation 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
-
-