Package com.courier.models
Class ElementalContent
-
- All Implemented Interfaces:
public final class ElementalContent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classElementalContent.BuilderA builder for ElementalContent.
-
Method Summary
Modifier and Type Method Description final List<ElementalNode>elements()final Stringversion()For example, "2022-01-01" final JsonField<List<ElementalNode>>_elements()Returns the raw JSON value of elements. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final ElementalContent.BuildertoBuilder()final ElementalContentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ElementalContent.Builderbuilder()Returns a mutable builder for constructing an instance of ElementalContent. -
-
Method Detail
-
elements
final List<ElementalNode> elements()
-
_elements
final JsonField<List<ElementalNode>> _elements()
Returns the raw JSON value of elements.
Unlike elements, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ElementalContent.Builder toBuilder()
-
validate
final ElementalContent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ElementalContent.Builder builder()
Returns a mutable builder for constructing an instance of ElementalContent.
The following fields are required:
.elements() .version()
-
-
-
-