Class WorkLocation


  • public class WorkLocation
    extends java.lang.Object
    WorkLocation

    The employee work location

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WorkLocation.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.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city()
      The city where the location is situated
      org.openapitools.jackson.nullable.JsonNullable<EmployeeCountry> country()
      The country code
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
      The created_at date
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
      The employee ID
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
      Unique identifier
      org.openapitools.jackson.nullable.JsonNullable<EmployeeLocationType> locationType()
      The location type
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
      The name of the location
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber()
      The phone number of the location
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
      Provider's unique identifier of the employee
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
      Provider's unique identifier
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state()
      The state where the location is situated
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1()
      The first line of the address
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2()
      The second line of the address
      java.lang.String toString()  
      org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields()
      Custom Unified Fields configured in your StackOne project
      org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
      The updated_at date
      WorkLocation withCity​(java.lang.String city)
      The city where the location is situated
      WorkLocation withCity​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)
      The city where the location is situated
      WorkLocation withCountry​(EmployeeCountry country)
      The country code
      WorkLocation withCountry​(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)
      The country code
      WorkLocation withCreatedAt​(java.time.OffsetDateTime createdAt)
      The created_at date
      WorkLocation withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
      The created_at date
      WorkLocation withEmployeeId​(java.lang.String employeeId)
      The employee ID
      WorkLocation withEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
      The employee ID
      WorkLocation withId​(java.lang.String id)
      Unique identifier
      WorkLocation withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
      Unique identifier
      WorkLocation withLocationType​(EmployeeLocationType locationType)
      The location type
      WorkLocation withLocationType​(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType)
      The location type
      WorkLocation withName​(java.lang.String name)
      The name of the location
      WorkLocation withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
      The name of the location
      WorkLocation withPhoneNumber​(java.lang.String phoneNumber)
      The phone number of the location
      WorkLocation withPhoneNumber​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)
      The phone number of the location
      WorkLocation withRemoteEmployeeId​(java.lang.String remoteEmployeeId)
      Provider's unique identifier of the employee
      WorkLocation withRemoteEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
      Provider's unique identifier of the employee
      WorkLocation withRemoteId​(java.lang.String remoteId)
      Provider's unique identifier
      WorkLocation withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
      Provider's unique identifier
      WorkLocation withState​(java.lang.String state)
      The state where the location is situated
      WorkLocation withState​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)
      The state where the location is situated
      WorkLocation withStreet1​(java.lang.String street1)
      The first line of the address
      WorkLocation withStreet1​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)
      The first line of the address
      WorkLocation withStreet2​(java.lang.String street2)
      The second line of the address
      WorkLocation withStreet2​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)
      The second line of the address
      WorkLocation withUnifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
      Custom Unified Fields configured in your StackOne project
      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
      WorkLocation withUpdatedAt​(java.time.OffsetDateTime updatedAt)
      The updated_at date
      WorkLocation withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      The updated_at date
      WorkLocation withZipCode​(java.lang.String zipCode)
      The ZIP code/Postal code of the location
      WorkLocation withZipCode​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)
      The ZIP code/Postal code of the location
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode()
      The ZIP code/Postal code of the location
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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
      • 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​(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)
        The country code
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object