Class TimeOffPolicyType
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.TimeOffPolicyType
-
public class TimeOffPolicyType extends java.lang.ObjectTimeOffPolicyTypeThe type of this policy
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimeOffPolicyType.Builder
-
Constructor Summary
Constructors Constructor Description TimeOffPolicyType()TimeOffPolicyType(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicyValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicySourceValue> sourceValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeOffPolicyType.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<TimeOffPolicySourceValue>sourceValue()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<TimeOffPolicyValue>value()The unified value for the type of the time off policy.TimeOffPolicyTypewithSourceValue(TimeOffPolicySourceValue sourceValue)TimeOffPolicyTypewithSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicySourceValue> sourceValue)TimeOffPolicyTypewithValue(TimeOffPolicyValue value)The unified value for the type of the time off policy.TimeOffPolicyTypewithValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicyValue> value)The unified value for the type of the time off policy.
-
-
-
Constructor Detail
-
TimeOffPolicyType
public TimeOffPolicyType(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicyValue> value, org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicySourceValue> sourceValue)
-
TimeOffPolicyType
public TimeOffPolicyType()
-
-
Method Detail
-
value
public org.openapitools.jackson.nullable.JsonNullable<TimeOffPolicyValue> value()
The unified value for the type of the time off policy. If the provider does not specify this unit, the value will be set to unmapped_value
-
sourceValue
public org.openapitools.jackson.nullable.JsonNullable<TimeOffPolicySourceValue> sourceValue()
-
builder
public static TimeOffPolicyType.Builder builder()
-
withValue
public TimeOffPolicyType withValue(TimeOffPolicyValue value)
The unified value for the type of the time off policy. If the provider does not specify this unit, the value will be set to unmapped_value
-
withValue
public TimeOffPolicyType withValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicyValue> value)
The unified value for the type of the time off policy. If the provider does not specify this unit, the value will be set to unmapped_value
-
withSourceValue
public TimeOffPolicyType withSourceValue(TimeOffPolicySourceValue sourceValue)
-
withSourceValue
public TimeOffPolicyType withSourceValue(org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffPolicySourceValue> 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
-
-