Class BalanceUnit
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.BalanceUnit
-
public class BalanceUnit extends java.lang.ObjectBalanceUnitThe duration unit of the current balance
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBalanceUnit.Builder
-
Constructor Summary
Constructors Constructor Description BalanceUnit()BalanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesSourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BalanceUnit.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesSourceValue>sourceValue()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesValue>value()The unified value for the duration unit.BalanceUnitwithSourceValue(TimeOffBalancesSourceValue sourceValue)BalanceUnitwithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesSourceValue> sourceValue)BalanceUnitwithValue(TimeOffBalancesValue value)The unified value for the duration unit.BalanceUnitwithValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesValue> value)The unified value for the duration unit.
-
-
-
Constructor Detail
-
BalanceUnit
public BalanceUnit(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesSourceValue> sourceValue)
-
BalanceUnit
public BalanceUnit()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesValue> value()
The unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesSourceValue> sourceValue()
-
builder
public static final BalanceUnit.Builder builder()
-
withValue
public BalanceUnit withValue(TimeOffBalancesValue value)
The unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown
-
withValue
public BalanceUnit withValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesValue> value)
The unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown
-
withSourceValue
public BalanceUnit withSourceValue(TimeOffBalancesSourceValue sourceValue)
-
withSourceValue
public BalanceUnit withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesSourceValue> sourceValue)
-
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
-
-