Class BatchGetContentResponse.Data.MessageChatContent.Template.Block
-
- All Implemented Interfaces:
public final class BatchGetContentResponse.Data.MessageChatContent.Template.BlockA block in a message in a chat.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchGetContentResponse.Data.MessageChatContent.Template.Block.BuilderA builder for Block.
public final classBatchGetContentResponse.Data.MessageChatContent.Template.Block.TypeThe type of block in a message in a chat (text or markdown).
-
Method Summary
-
-
Method Detail
-
type
final BatchGetContentResponse.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<BatchGetContentResponse.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()
-
validate
final BatchGetContentResponse.Data.MessageChatContent.Template.Block validate()
-
builder
final static BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder builder()
Returns a mutable builder for constructing an instance of Block.
The following fields are required:
.content() .name() .type()
-
-
-
-