Class HomeLocation.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HomeLocation.Builder
-
- Enclosing class:
- HomeLocation
public static final class HomeLocation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HomeLocationbuild()HomeLocation.Buildercity(java.lang.String city)The city where the location is situatedHomeLocation.Buildercity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)The city where the location is situatedHomeLocation.Buildercountry(EmployeeHomeLocationCountry country)The country codeHomeLocation.Buildercountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationCountry> country)The country codeHomeLocation.BuildercreatedAt(java.time.OffsetDateTime createdAt)The created_at dateHomeLocation.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateHomeLocation.BuilderemployeeId(java.lang.String employeeId)The employee IDHomeLocation.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee IDHomeLocation.Builderid(java.lang.String id)Unique identifierHomeLocation.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierHomeLocation.BuilderlocationType(EmployeeHomeLocationLocationType locationType)The location typeHomeLocation.BuilderlocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> locationType)The location typeHomeLocation.Buildername(java.lang.String name)The name of the locationHomeLocation.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the locationHomeLocation.BuilderphoneNumber(java.lang.String phoneNumber)The phone number of the locationHomeLocation.BuilderphoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)The phone number of the locationHomeLocation.BuilderremoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employeeHomeLocation.BuilderremoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employeeHomeLocation.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierHomeLocation.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierHomeLocation.Builderstate(java.lang.String state)The state where the location is situatedHomeLocation.Builderstate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)The state where the location is situatedHomeLocation.Builderstreet1(java.lang.String street1)The first line of the addressHomeLocation.Builderstreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)The first line of the addressHomeLocation.Builderstreet2(java.lang.String street2)The second line of the addressHomeLocation.Builderstreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)The second line of the addressHomeLocation.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectHomeLocation.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectHomeLocation.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateHomeLocation.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at dateHomeLocation.BuilderzipCode(java.lang.String zipCode)The ZIP code/Postal code of the locationHomeLocation.BuilderzipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)The ZIP code/Postal code of the location
-
-
-
Method Detail
-
id
public HomeLocation.Builder id(java.lang.String id)
Unique identifier
-
id
public HomeLocation.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public HomeLocation.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public HomeLocation.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public HomeLocation.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public HomeLocation.Builder unifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
employeeId
public HomeLocation.Builder employeeId(java.lang.String employeeId)
The employee ID
-
employeeId
public HomeLocation.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID
-
remoteEmployeeId
public HomeLocation.Builder remoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee
-
remoteEmployeeId
public HomeLocation.Builder remoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee
-
name
public HomeLocation.Builder name(java.lang.String name)
The name of the location
-
name
public HomeLocation.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the location
-
phoneNumber
public HomeLocation.Builder phoneNumber(java.lang.String phoneNumber)
The phone number of the location
-
phoneNumber
public HomeLocation.Builder phoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)
The phone number of the location
-
street1
public HomeLocation.Builder street1(java.lang.String street1)
The first line of the address
-
street1
public HomeLocation.Builder street1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)
The first line of the address
-
street2
public HomeLocation.Builder street2(java.lang.String street2)
The second line of the address
-
street2
public HomeLocation.Builder street2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)
The second line of the address
-
city
public HomeLocation.Builder city(java.lang.String city)
The city where the location is situated
-
city
public HomeLocation.Builder city(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)
The city where the location is situated
-
state
public HomeLocation.Builder state(java.lang.String state)
The state where the location is situated
-
state
public HomeLocation.Builder state(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)
The state where the location is situated
-
zipCode
public HomeLocation.Builder zipCode(java.lang.String zipCode)
The ZIP code/Postal code of the location
-
zipCode
public HomeLocation.Builder zipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)
The ZIP code/Postal code of the location
-
country
public HomeLocation.Builder country(EmployeeHomeLocationCountry country)
The country code
-
country
public HomeLocation.Builder country(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationCountry> country)
The country code
-
locationType
public HomeLocation.Builder locationType(EmployeeHomeLocationLocationType locationType)
The location type
-
locationType
public HomeLocation.Builder locationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeHomeLocationLocationType> locationType)
The location type
-
createdAt
public HomeLocation.Builder createdAt(java.time.OffsetDateTime createdAt)
The created_at date
-
createdAt
public HomeLocation.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The created_at date
-
updatedAt
public HomeLocation.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date
-
updatedAt
public HomeLocation.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The updated_at date
-
build
public HomeLocation build()
-
-