Class Translation
-
- All Implemented Interfaces:
public final class Translation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Translation.Builder
A builder for Translation.
-
Method Summary
Modifier and Type Method Description final String
text()
final JsonField<String>
_text()
Returns the raw JSON value of text. final Map<String, JsonValue>
_additionalProperties()
final Translation.Builder
toBuilder()
final Translation
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Translation.Builder
builder()
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()
-
builder
final static Translation.Builder builder()
Returns a mutable builder for constructing an instance of Translation.
The following fields are required:
.text()
-
-
-
-