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 Optional<String>brand()final JsonField<List<ElementalNode>>_elements()Returns the raw JSON value of elements. final JsonField<String>_version()Returns the raw JSON value of version. final JsonField<String>_brand()Returns the raw JSON value of brand. final Map<String, JsonValue>_additionalProperties()final ElementalContent.BuildertoBuilder()final ElementalContentvalidate()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.
-
_brand
final JsonField<String> _brand()
Returns the raw JSON value of brand.
Unlike brand, 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()
-
builder
final static ElementalContent.Builder builder()
Returns a mutable builder for constructing an instance of ElementalContent.
The following fields are required:
.elements() .version()
-
-
-
-