Class TimeOffBalancesDurationUnit
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeOffBalancesDurationUnit
-
public class TimeOffBalancesDurationUnit extends java.lang.ObjectTimeOffBalancesDurationUnit - The duration unit of the current policy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeOffBalancesDurationUnit.Builder
-
Constructor Summary
Constructors Constructor Description TimeOffBalancesDurationUnit()TimeOffBalancesDurationUnit(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicyValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicySourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeOffBalancesDurationUnit.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesPolicySourceValue>sourceValue()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesPolicyValue>value()The unified value for the duration unit.TimeOffBalancesDurationUnitwithSourceValue(TimeOffBalancesPolicySourceValue sourceValue)TimeOffBalancesDurationUnitwithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicySourceValue> sourceValue)TimeOffBalancesDurationUnitwithValue(TimeOffBalancesPolicyValue value)The unified value for the duration unit.TimeOffBalancesDurationUnitwithValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicyValue> value)The unified value for the duration unit.
-
-
-
Constructor Detail
-
TimeOffBalancesDurationUnit
public TimeOffBalancesDurationUnit(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicyValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicySourceValue> sourceValue)
-
TimeOffBalancesDurationUnit
public TimeOffBalancesDurationUnit()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesPolicyValue> 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<TimeOffBalancesPolicySourceValue> sourceValue()
-
builder
public static final TimeOffBalancesDurationUnit.Builder builder()
-
withValue
public TimeOffBalancesDurationUnit withValue(TimeOffBalancesPolicyValue 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 TimeOffBalancesDurationUnit withValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicyValue> 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 TimeOffBalancesDurationUnit withSourceValue(TimeOffBalancesPolicySourceValue sourceValue)
-
withSourceValue
public TimeOffBalancesDurationUnit withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesPolicySourceValue> 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
-
-