Class TimeOffBalances.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeOffBalances.Builder
-
- Enclosing class:
- TimeOffBalances
public static final class TimeOffBalances.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeOffBalances.BuilderbalanceExpiryDate(java.time.OffsetDateTime balanceExpiryDate)The date of when the current balance expiresTimeOffBalances.BuilderbalanceExpiryDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate)The date of when the current balance expiresTimeOffBalances.BuilderbalanceStartDate(java.time.OffsetDateTime balanceStartDate)The date of when the initial balance quantity was setTimeOffBalances.BuilderbalanceStartDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate)The date of when the initial balance quantity was setTimeOffBalances.BuilderbalanceUnit(BalanceUnit balanceUnit)The duration unit of the current balanceTimeOffBalances.BuilderbalanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit)The duration unit of the current balanceTimeOffBalancesbuild()TimeOffBalances.BuildercurrentBalance(double currentBalance)The current numeric balance for the associated employee and time off policyTimeOffBalances.BuildercurrentBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance)The current numeric balance for the associated employee and time off policyTimeOffBalances.BuilderemployeeId(java.lang.String employeeId)The employee id associated with this balanceTimeOffBalances.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee id associated with this balanceTimeOffBalances.Builderid(java.lang.String id)Unique identifierTimeOffBalances.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTimeOffBalances.BuilderinitialBalance(double initialBalance)The initial numeric balance for the associated employee and time off policy as of the balance start dateTimeOffBalances.BuilderinitialBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> initialBalance)The initial numeric balance for the associated employee and time off policy as of the balance start dateTimeOffBalances.Builderpolicy(TimeOffBalancesPolicy policy)The time off policy associated with this balanceTimeOffBalances.Builderpolicy(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy)The time off policy associated with this balanceTimeOffBalances.BuilderpolicyId(java.lang.String policyId)The time off policy id associated with this balanceTimeOffBalances.BuilderpolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> policyId)The time off policy id associated with this balanceTimeOffBalances.BuilderremoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employee associated with this balanceTimeOffBalances.BuilderremoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employee associated with this balanceTimeOffBalances.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierTimeOffBalances.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTimeOffBalances.BuilderremotePolicyId(java.lang.String remotePolicyId)Provider's unique identifier of the time off policy id associated with this balanceTimeOffBalances.BuilderremotePolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId)Provider's unique identifier of the time off policy id associated with this balanceTimeOffBalances.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The updated_at date of this time off balanceTimeOffBalances.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at date of this time off balance
-
-
-
Method Detail
-
id
public TimeOffBalances.Builder id(java.lang.String id)
Unique identifier
-
id
public TimeOffBalances.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public TimeOffBalances.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public TimeOffBalances.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
employeeId
public TimeOffBalances.Builder employeeId(java.lang.String employeeId)
The employee id associated with this balance
-
employeeId
public TimeOffBalances.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee id associated with this balance
-
remoteEmployeeId
public TimeOffBalances.Builder remoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee associated with this balance
-
remoteEmployeeId
public TimeOffBalances.Builder remoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee associated with this balance
-
policyId
public TimeOffBalances.Builder policyId(java.lang.String policyId)
The time off policy id associated with this balance
-
policyId
public TimeOffBalances.Builder policyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> policyId)
The time off policy id associated with this balance
-
remotePolicyId
public TimeOffBalances.Builder remotePolicyId(java.lang.String remotePolicyId)
Provider's unique identifier of the time off policy id associated with this balance
-
remotePolicyId
public TimeOffBalances.Builder remotePolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId)
Provider's unique identifier of the time off policy id associated with this balance
-
policy
public TimeOffBalances.Builder policy(TimeOffBalancesPolicy policy)
The time off policy associated with this balance
-
policy
public TimeOffBalances.Builder policy(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy)
The time off policy associated with this balance
-
currentBalance
public TimeOffBalances.Builder currentBalance(double currentBalance)
The current numeric balance for the associated employee and time off policy
-
currentBalance
public TimeOffBalances.Builder currentBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance)
The current numeric balance for the associated employee and time off policy
-
initialBalance
public TimeOffBalances.Builder initialBalance(double initialBalance)
The initial numeric balance for the associated employee and time off policy as of the balance start date
-
initialBalance
public TimeOffBalances.Builder initialBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> initialBalance)
The initial numeric balance for the associated employee and time off policy as of the balance start date
-
balanceUnit
public TimeOffBalances.Builder balanceUnit(BalanceUnit balanceUnit)
The duration unit of the current balance
-
balanceUnit
public TimeOffBalances.Builder balanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit)
The duration unit of the current balance
-
balanceStartDate
public TimeOffBalances.Builder balanceStartDate(java.time.OffsetDateTime balanceStartDate)
The date of when the initial balance quantity was set
-
balanceStartDate
public TimeOffBalances.Builder balanceStartDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate)
The date of when the initial balance quantity was set
-
balanceExpiryDate
public TimeOffBalances.Builder balanceExpiryDate(java.time.OffsetDateTime balanceExpiryDate)
The date of when the current balance expires
-
balanceExpiryDate
public TimeOffBalances.Builder balanceExpiryDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate)
The date of when the current balance expires
-
updatedAt
public TimeOffBalances.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date of this time off balance
-
updatedAt
public TimeOffBalances.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The updated_at date of this time off balance
-
build
public TimeOffBalances build()
-
-