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