Package com.courier.models.messages
Class MessageContentResponse.Result.Content.Block
-
- All Implemented Interfaces:
public final class MessageContentResponse.Result.Content.Block
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageContentResponse.Result.Content.Block.BuilderA builder for Block.
-
Method Summary
Modifier and Type Method Description final Stringtext()The block text of the rendered message block. final Stringtype()The block type of the rendered message block. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final MessageContentResponse.Result.Content.Block.BuildertoBuilder()final MessageContentResponse.Result.Content.Blockvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageContentResponse.Result.Content.Block.Builderbuilder()Returns a mutable builder for constructing an instance of Block. -
-
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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageContentResponse.Result.Content.Block.Builder toBuilder()
-
validate
final MessageContentResponse.Result.Content.Block validate()
-
builder
final static MessageContentResponse.Result.Content.Block.Builder builder()
Returns a mutable builder for constructing an instance of Block.
The following fields are required:
.text() .type()
-
-
-
-