public class OneOfFive<T0,T1,T2,T3,T4> extends SerializableObject implements OneOfUnion
| Modifier and Type | Class and Description |
|---|---|
static class |
OneOfFive.OneOfFiveSerializer |
| Modifier and Type | Field and Description |
|---|---|
protected static ObjectMapper |
OBJECT_MAPPER |
protected T0 |
value0 |
protected T1 |
value1 |
protected T2 |
value2 |
protected T3 |
value3 |
protected T4 |
value4 |
explicitlySetNullableFields| Constructor and Description |
|---|
OneOfFive(T0 value0,
T1 value1,
T2 value2,
T3 value3,
T4 value4) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasAnyNonNullValue() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected static final ObjectMapper OBJECT_MAPPER
public boolean hasAnyNonNullValue()
hasAnyNonNullValue in interface OneOfUniontrue if at least one branch holds a non-null value