Class MessageContentResponse.Result.Content
-
- All Implemented Interfaces:
public final class MessageContentResponse.Result.ContentContent details of the rendered message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageContentResponse.Result.Content.BuilderA builder for Content.
public final classMessageContentResponse.Result.Content.Block
-
Method Summary
Modifier and Type Method Description final List<MessageContentResponse.Result.Content.Block>blocks()The blocks of the rendered message. final Stringbody()The body of the rendered message. final Stringhtml()The html content of the rendered message. final Stringsubject()The subject of the rendered message. final Stringtext()The text of the rendered message. final Stringtitle()The title of the rendered message. final JsonField<List<MessageContentResponse.Result.Content.Block>>_blocks()Returns the raw JSON value of blocks. final JsonField<String>_body()Returns the raw JSON value of body. final JsonField<String>_html()Returns the raw JSON value of html. final JsonField<String>_subject()Returns the raw JSON value of subject. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_title()Returns the raw JSON value of title. final Map<String, JsonValue>_additionalProperties()final MessageContentResponse.Result.Content.BuildertoBuilder()final MessageContentResponse.Result.Contentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageContentResponse.Result.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
blocks
final List<MessageContentResponse.Result.Content.Block> blocks()
The blocks of the rendered message.
-
_blocks
final JsonField<List<MessageContentResponse.Result.Content.Block>> _blocks()
Returns the raw JSON value of blocks.
Unlike blocks, this method doesn't throw if the JSON field has an unexpected type.
-
_body
final JsonField<String> _body()
Returns the raw JSON value of body.
Unlike body, this method doesn't throw if the JSON field has an unexpected type.
-
_html
final JsonField<String> _html()
Returns the raw JSON value of html.
Unlike html, this method doesn't throw if the JSON field has an unexpected type.
-
_subject
final JsonField<String> _subject()
Returns the raw JSON value of subject.
Unlike subject, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageContentResponse.Result.Content.Builder toBuilder()
-
validate
final MessageContentResponse.Result.Content validate()
-
builder
final static MessageContentResponse.Result.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.blocks() .body() .html() .subject() .text() .title()
-
-
-
-