Class TimeOffBalances
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeOffBalances
-
public class TimeOffBalances extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeOffBalances.Builder
-
Constructor Summary
Constructors Constructor Description TimeOffBalances()TimeOffBalances(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, 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> policyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> initialBalance, org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate, org.openapitools.jackson.nullable.JsonNullable<? extends IsUnlimited> isUnlimited, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>balanceExpiryDate()The date of when the current balance expiresorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>balanceStartDate()The date of when the initial balance quantity was setorg.openapitools.jackson.nullable.JsonNullable<BalanceUnit>balanceUnit()The duration unit of the current balancestatic TimeOffBalances.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.Double>currentBalance()The current numeric balance for the associated employee and time off policyorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>employeeId()The employee id associated with this balancebooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.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 dateorg.openapitools.jackson.nullable.JsonNullable<IsUnlimited>isUnlimited()Indicates if this time off balance represents unlimited leaveorg.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesPolicy>policy()The time off policy associated with this balanceorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>policyId()The time off policy id associated with this balanceorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteEmployeeId()Provider's unique identifier of the employee associated with this balanceorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remotePolicyId()Provider's unique identifier of the time off policy id associated with this balancejava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The updated_at date of this time off balanceTimeOffBalanceswithBalanceExpiryDate(java.time.OffsetDateTime balanceExpiryDate)The date of when the current balance expiresTimeOffBalanceswithBalanceExpiryDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate)The date of when the current balance expiresTimeOffBalanceswithBalanceStartDate(java.time.OffsetDateTime balanceStartDate)The date of when the initial balance quantity was setTimeOffBalanceswithBalanceStartDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate)The date of when the initial balance quantity was setTimeOffBalanceswithBalanceUnit(BalanceUnit balanceUnit)The duration unit of the current balanceTimeOffBalanceswithBalanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit)The duration unit of the current balanceTimeOffBalanceswithCurrentBalance(double currentBalance)The current numeric balance for the associated employee and time off policyTimeOffBalanceswithCurrentBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance)The current numeric balance for the associated employee and time off policyTimeOffBalanceswithEmployeeId(java.lang.String employeeId)The employee id associated with this balanceTimeOffBalanceswithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee id associated with this balanceTimeOffBalanceswithId(java.lang.String id)Unique identifierTimeOffBalanceswithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTimeOffBalanceswithInitialBalance(double initialBalance)The initial numeric balance for the associated employee and time off policy as of the balance start dateTimeOffBalanceswithInitialBalance(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 dateTimeOffBalanceswithIsUnlimited(IsUnlimited isUnlimited)Indicates if this time off balance represents unlimited leaveTimeOffBalanceswithIsUnlimited(org.openapitools.jackson.nullable.JsonNullable<? extends IsUnlimited> isUnlimited)Indicates if this time off balance represents unlimited leaveTimeOffBalanceswithPolicy(TimeOffBalancesPolicy policy)The time off policy associated with this balanceTimeOffBalanceswithPolicy(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy)The time off policy associated with this balanceTimeOffBalanceswithPolicyId(java.lang.String policyId)The time off policy id associated with this balanceTimeOffBalanceswithPolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> policyId)The time off policy id associated with this balanceTimeOffBalanceswithRemoteEmployeeId(java.lang.String remoteEmployeeId)Provider's unique identifier of the employee associated with this balanceTimeOffBalanceswithRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)Provider's unique identifier of the employee associated with this balanceTimeOffBalanceswithRemoteId(java.lang.String remoteId)Provider's unique identifierTimeOffBalanceswithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTimeOffBalanceswithRemotePolicyId(java.lang.String remotePolicyId)Provider's unique identifier of the time off policy id associated with this balanceTimeOffBalanceswithRemotePolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId)Provider's unique identifier of the time off policy id associated with this balanceTimeOffBalanceswithUpdatedAt(java.time.OffsetDateTime updatedAt)The updated_at date of this time off balanceTimeOffBalanceswithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The updated_at date of this time off balance
-
-
-
Constructor Detail
-
TimeOffBalances
public TimeOffBalances(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, 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> policyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance, org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> initialBalance, org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate, org.openapitools.jackson.nullable.JsonNullable<? extends IsUnlimited> isUnlimited, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
-
TimeOffBalances
public TimeOffBalances()
-
-
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
-
employeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
The employee id associated with this balance
-
remoteEmployeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
Provider's unique identifier of the employee associated with this balance
-
policyId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> policyId()
The time off policy id associated with this balance
-
remotePolicyId
public 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 org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesPolicy> policy()
The time off policy associated with this balance
-
currentBalance
public org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance()
The current numeric balance for the associated employee and time off policy
-
initialBalance
public 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 org.openapitools.jackson.nullable.JsonNullable<BalanceUnit> balanceUnit()
The duration unit of the current balance
-
balanceStartDate
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate()
The date of when the initial balance quantity was set
-
balanceExpiryDate
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate()
The date of when the current balance expires
-
isUnlimited
public org.openapitools.jackson.nullable.JsonNullable<IsUnlimited> isUnlimited()
Indicates if this time off balance represents unlimited leave
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
The updated_at date of this time off balance
-
builder
public static TimeOffBalances.Builder builder()
-
withId
public TimeOffBalances withId(java.lang.String id)
Unique identifier
-
withId
public TimeOffBalances withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public TimeOffBalances withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public TimeOffBalances withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withEmployeeId
public TimeOffBalances withEmployeeId(java.lang.String employeeId)
The employee id associated with this balance
-
withEmployeeId
public TimeOffBalances withEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee id associated with this balance
-
withRemoteEmployeeId
public TimeOffBalances withRemoteEmployeeId(java.lang.String remoteEmployeeId)
Provider's unique identifier of the employee associated with this balance
-
withRemoteEmployeeId
public TimeOffBalances withRemoteEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
Provider's unique identifier of the employee associated with this balance
-
withPolicyId
public TimeOffBalances withPolicyId(java.lang.String policyId)
The time off policy id associated with this balance
-
withPolicyId
public TimeOffBalances withPolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> policyId)
The time off policy id associated with this balance
-
withRemotePolicyId
public TimeOffBalances withRemotePolicyId(java.lang.String remotePolicyId)
Provider's unique identifier of the time off policy id associated with this balance
-
withRemotePolicyId
public TimeOffBalances withRemotePolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remotePolicyId)
Provider's unique identifier of the time off policy id associated with this balance
-
withPolicy
public TimeOffBalances withPolicy(TimeOffBalancesPolicy policy)
The time off policy associated with this balance
-
withPolicy
public TimeOffBalances withPolicy(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicy> policy)
The time off policy associated with this balance
-
withCurrentBalance
public TimeOffBalances withCurrentBalance(double currentBalance)
The current numeric balance for the associated employee and time off policy
-
withCurrentBalance
public TimeOffBalances withCurrentBalance(org.openapitools.jackson.nullable.JsonNullable<java.lang.Double> currentBalance)
The current numeric balance for the associated employee and time off policy
-
withInitialBalance
public TimeOffBalances withInitialBalance(double initialBalance)
The initial numeric balance for the associated employee and time off policy as of the balance start date
-
withInitialBalance
public TimeOffBalances withInitialBalance(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
-
withBalanceUnit
public TimeOffBalances withBalanceUnit(BalanceUnit balanceUnit)
The duration unit of the current balance
-
withBalanceUnit
public TimeOffBalances withBalanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends BalanceUnit> balanceUnit)
The duration unit of the current balance
-
withBalanceStartDate
public TimeOffBalances withBalanceStartDate(java.time.OffsetDateTime balanceStartDate)
The date of when the initial balance quantity was set
-
withBalanceStartDate
public TimeOffBalances withBalanceStartDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceStartDate)
The date of when the initial balance quantity was set
-
withBalanceExpiryDate
public TimeOffBalances withBalanceExpiryDate(java.time.OffsetDateTime balanceExpiryDate)
The date of when the current balance expires
-
withBalanceExpiryDate
public TimeOffBalances withBalanceExpiryDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> balanceExpiryDate)
The date of when the current balance expires
-
withIsUnlimited
public TimeOffBalances withIsUnlimited(IsUnlimited isUnlimited)
Indicates if this time off balance represents unlimited leave
-
withIsUnlimited
public TimeOffBalances withIsUnlimited(org.openapitools.jackson.nullable.JsonNullable<? extends IsUnlimited> isUnlimited)
Indicates if this time off balance represents unlimited leave
-
withUpdatedAt
public TimeOffBalances withUpdatedAt(java.time.OffsetDateTime updatedAt)
The updated_at date of this time off balance
-
withUpdatedAt
public TimeOffBalances withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The updated_at date of this time off balance
-
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
-
-