Class Translation
-
- All Implemented Interfaces:
public final class Translation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranslation.BuilderA builder for Translation.
-
Method Summary
Modifier and Type Method Description final Stringtext()final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final Translation.BuildertoBuilder()final Translationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Translation.Builderbuilder()Returns a mutable builder for constructing an instance of Translation. -
-
Method Detail
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Translation.Builder toBuilder()
-
validate
final Translation 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 Translation.Builder builder()
Returns a mutable builder for constructing an instance of Translation.
The following fields are required:
.text()
-
-
-
-