public class CreateRetentionPolicyRequestBodyRetentionLengthField extends OneOfTwo<String,Integer>
OneOfTwo.OneOfTwoSerializerOBJECT_MAPPER, value0, value1explicitlySetNullableFields| Constructor and Description |
|---|
CreateRetentionPolicyRequestBodyRetentionLengthField(Integer integerNumber) |
CreateRetentionPolicyRequestBodyRetentionLengthField(String string) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getIntegerNumber() |
String |
getString() |
boolean |
isIntegerNumber() |
boolean |
isString() |
hasAnyNonNullValuegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetpublic CreateRetentionPolicyRequestBodyRetentionLengthField(String string)
public CreateRetentionPolicyRequestBodyRetentionLengthField(Integer integerNumber)
public boolean isString()
public boolean isIntegerNumber()
public Integer getIntegerNumber()