Class MessageGetContentResponse.Data.MessageChatContent
-
- All Implemented Interfaces:
public final class MessageGetContentResponse.Data.MessageChatContentThe content of a chat message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageGetContentResponse.Data.MessageChatContent.BuilderA builder for MessageChatContent.
public final classMessageGetContentResponse.Data.MessageChatContent.ConnectionThe channel data connection from the recipient to the underlying provider.
public final classMessageGetContentResponse.Data.MessageChatContent.TemplateThe template structure for the chat message.
public final classMessageGetContentResponse.Data.MessageChatContent.MetadataAdditional metadata associated with the chat message.
-
Method Summary
-
-
Method Detail
-
connection
final MessageGetContentResponse.Data.MessageChatContent.Connection connection()
The channel data connection from the recipient to the underlying provider.
-
template
final MessageGetContentResponse.Data.MessageChatContent.Template template()
The template structure for the chat message.
-
metadata
final Optional<MessageGetContentResponse.Data.MessageChatContent.Metadata> metadata()
Additional metadata associated with the chat message.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_connection
final JsonField<MessageGetContentResponse.Data.MessageChatContent.Connection> _connection()
Returns the raw JSON value of connection.
Unlike connection, this method doesn't throw if the JSON field has an unexpected type.
-
_template
final JsonField<MessageGetContentResponse.Data.MessageChatContent.Template> _template()
Returns the raw JSON value of template.
Unlike template, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<MessageGetContentResponse.Data.MessageChatContent.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MessageGetContentResponse.Data.MessageChatContent.Builder toBuilder()
-
validate
final MessageGetContentResponse.Data.MessageChatContent validate()
-
builder
final static MessageGetContentResponse.Data.MessageChatContent.Builder builder()
Returns a mutable builder for constructing an instance of MessageChatContent.
The following fields are required:
._typename() .connection() .template()
-
-
-
-