Class WorkLocation.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.WorkLocation.Builder
-
- Enclosing class:
- WorkLocation
public static final class WorkLocation.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkLocationbuild()WorkLocation.Buildercity(java.lang.String city)The city where the location is situatedWorkLocation.Buildercity(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)The city where the location is situatedWorkLocation.Buildercountry(EmployeeCountry country)The country codeWorkLocation.Buildercountry(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)The country codeWorkLocation.BuildercreatedAt(java.time.OffsetDateTime createdAt)The created_at dateWorkLocation.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The created_at dateWorkLocation.BuilderemployeeId(java.lang.String employeeId)The employee IDWorkLocation.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee IDWorkLocation.Builderid(java.lang.String id)Unique identifierWorkLocation.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierWorkLocation.BuilderlocationType(EmployeeLocationType locationType)The location typeWorkLocation.BuilderlocationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType)The location typeWorkLocation.Buildername(java.lang.String name)The name of the locationWorkLocation.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the locationWorkLocation.BuilderphoneNumber(java.lang.String phoneNumber)The phone number of the locationWorkLocation.BuilderphoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)The phone number of the locationWorkLocation.BuilderremoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employeeWorkLocation.BuilderremoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employeeWorkLocation.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierWorkLocation.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierWorkLocation.Builderstate(java.lang.String state)The state where the location is situatedWorkLocation.Builderstate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)The state where the location is situatedWorkLocation.Builderstreet1(java.lang.String street1)The first line of the addressWorkLocation.Builderstreet1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)The first line of the addressWorkLocation.Builderstreet2(java.lang.String street2)The second line of the addressWorkLocation.Builderstreet2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)The second line of the addressWorkLocation.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectWorkLocation.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectWorkLocation.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The updated_at dateWorkLocation.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at dateWorkLocation.BuilderzipCode(java.lang.String zipCode)The ZIP code/Postal code of the locationWorkLocation.BuilderzipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)The ZIP code/Postal code of the location
-
-
-
Method Detail
-
id
public WorkLocation.Builder id(java.lang.String id)
Unique identifier
-
id
public WorkLocation.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public WorkLocation.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public WorkLocation.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public WorkLocation.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public WorkLocation.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 WorkLocation.Builder employeeId(java.lang.String employeeId)
The employee ID
-
employeeId
public WorkLocation.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID
-
remoteEmployeeId
public WorkLocation.Builder remoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee
-
remoteEmployeeId
public WorkLocation.Builder remoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee
-
name
public WorkLocation.Builder name(java.lang.String name)
The name of the location
-
name
public WorkLocation.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the location
-
phoneNumber
public WorkLocation.Builder phoneNumber(java.lang.String phoneNumber)
The phone number of the location
-
phoneNumber
public WorkLocation.Builder phoneNumber(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> phoneNumber)
The phone number of the location
-
street1
public WorkLocation.Builder street1(java.lang.String street1)
The first line of the address
-
street1
public WorkLocation.Builder street1(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street1)
The first line of the address
-
street2
public WorkLocation.Builder street2(java.lang.String street2)
The second line of the address
-
street2
public WorkLocation.Builder street2(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> street2)
The second line of the address
-
city
public WorkLocation.Builder city(java.lang.String city)
The city where the location is situated
-
city
public WorkLocation.Builder city(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> city)
The city where the location is situated
-
state
public WorkLocation.Builder state(java.lang.String state)
The state where the location is situated
-
state
public WorkLocation.Builder state(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> state)
The state where the location is situated
-
zipCode
public WorkLocation.Builder zipCode(java.lang.String zipCode)
The ZIP code/Postal code of the location
-
zipCode
public WorkLocation.Builder zipCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> zipCode)
The ZIP code/Postal code of the location
-
country
public WorkLocation.Builder country(EmployeeCountry country)
The country code
-
country
public WorkLocation.Builder country(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeCountry> country)
The country code
-
locationType
public WorkLocation.Builder locationType(EmployeeLocationType locationType)
The location type
-
locationType
public WorkLocation.Builder locationType(org.openapitools.jackson.nullable.JsonNullable<? extends EmployeeLocationType> locationType)
The location type
-
createdAt
public WorkLocation.Builder createdAt(java.time.OffsetDateTime createdAt)
The created_at date
-
createdAt
public WorkLocation.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The created_at date
-
updatedAt
public WorkLocation.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date
-
updatedAt
public WorkLocation.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The updated_at date
-
build
public WorkLocation build()
-
-