Class BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder
-
- All Implemented Interfaces:
public final class BatchGetContentResponse.Data.MessageChatContent.Template.Block.BuilderA builder for Block.
-
-
Method Summary
-
-
Method Detail
-
content
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder content(String content)
The actual content of the block.
-
content
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder name(String name)
The name of the block for identification.
-
name
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder type(BatchGetContentResponse.Data.MessageChatContent.Template.Block.Type type)
The type of block in a message in a chat (text or markdown).
-
type
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder type(JsonField<BatchGetContentResponse.Data.MessageChatContent.Template.Block.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Template.Block.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchGetContentResponse.Data.MessageChatContent.Template.Block build()
Returns an immutable instance of Block.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .name() .type()
-
-
-
-