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