Package app.knock.api.models.messages
Class MessageGetContentResponse.Data.MessageChatContent.Template.Block
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessageChatContent.Template.BlockA block in a message in a chat.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageGetContentResponse.Data.MessageChatContent.Template.Block.BuilderA builder for Block.
public final classMessageGetContentResponse.Data.MessageChatContent.Template.Block.TypeThe type of block in a message in a chat (text or markdown).
-
Method Summary
-
-
Method Detail
-
type
final MessageGetContentResponse.Data.MessageChatContent.Template.Block.Type type()
The type of block in a message in a chat (text or markdown).
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<MessageGetContentResponse.Data.MessageChatContent.Template.Block.Type> _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 MessageGetContentResponse.Data.MessageChatContent.Template.Block.Builder toBuilder()
-
validate
final MessageGetContentResponse.Data.MessageChatContent.Template.Block validate()
-
builder
final static MessageGetContentResponse.Data.MessageChatContent.Template.Block.Builder builder()
Returns a mutable builder for constructing an instance of Block.
The following fields are required:
.content() .name() .type()
-
-
-
-