Class Text
-
- All Implemented Interfaces:
public final class Text
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classText.BuilderA builder for Text.
-
Method Summary
Modifier and Type Method Description final List<Annotation>annotations()final Stringvalue()The data that makes up the text. final JsonField<List<Annotation>>_annotations()Returns the raw JSON value of annotations. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final Text.BuildertoBuilder()final Textvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Text.Builderbuilder()Returns a mutable builder for constructing an instance of Text. -
-
Method Detail
-
annotations
final List<Annotation> annotations()
-
_annotations
final JsonField<List<Annotation>> _annotations()
Returns the raw JSON value of annotations.
Unlike annotations, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Text.Builder toBuilder()
-
builder
final static Text.Builder builder()
Returns a mutable builder for constructing an instance of Text.
The following fields are required:
.annotations() .value()
-
-
-
-