Class ElementWithChecksums
-
- All Implemented Interfaces:
public final class ElementWithChecksumsAn element with its content checksum and optional nested elements and locale checksums.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classElementWithChecksums.BuilderA builder for ElementWithChecksums.
public final classElementWithChecksums.LocalesLocale-specific content with checksums.
-
Method Summary
Modifier and Type Method Description final Stringchecksum()MD5 hash of translatable content. final Stringtype()Element type (text, meta, action, etc.). final Optional<String>id()final Optional<List<ElementWithChecksums>>elements()Nested child elements (for group-type elements). final Optional<ElementWithChecksums.Locales>locales()Locale-specific content with checksums. final JsonField<String>_checksum()Returns the raw JSON value of checksum. final JsonField<String>_type()Returns the raw JSON value of type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<ElementWithChecksums>>_elements()Returns the raw JSON value of elements. final JsonField<ElementWithChecksums.Locales>_locales()Returns the raw JSON value of locales. final Map<String, JsonValue>_additionalProperties()final ElementWithChecksums.BuildertoBuilder()final ElementWithChecksumsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ElementWithChecksums.Builderbuilder()Returns a mutable builder for constructing an instance of ElementWithChecksums. -
-
Method Detail
-
elements
final Optional<List<ElementWithChecksums>> elements()
Nested child elements (for group-type elements).
-
locales
final Optional<ElementWithChecksums.Locales> locales()
Locale-specific content with checksums.
-
_checksum
final JsonField<String> _checksum()
Returns the raw JSON value of checksum.
Unlike checksum, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_elements
final JsonField<List<ElementWithChecksums>> _elements()
Returns the raw JSON value of elements.
Unlike elements, this method doesn't throw if the JSON field has an unexpected type.
-
_locales
final JsonField<ElementWithChecksums.Locales> _locales()
Returns the raw JSON value of locales.
Unlike locales, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ElementWithChecksums.Builder toBuilder()
-
validate
final ElementWithChecksums validate()
-
builder
final static ElementWithChecksums.Builder builder()
Returns a mutable builder for constructing an instance of ElementWithChecksums.
The following fields are required:
.checksum() .type()
-
-
-
-