Class BatchGetContentResponse.Data.MessageChatContent.Builder
-
- All Implemented Interfaces:
public final class BatchGetContentResponse.Data.MessageChatContent.BuilderA builder for MessageChatContent.
-
-
Method Summary
-
-
Method Detail
-
_typename
final BatchGetContentResponse.Data.MessageChatContent.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final BatchGetContentResponse.Data.MessageChatContent.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
connection
final BatchGetContentResponse.Data.MessageChatContent.Builder connection(BatchGetContentResponse.Data.MessageChatContent.Connection connection)
The channel data connection from the recipient to the underlying provider.
-
connection
final BatchGetContentResponse.Data.MessageChatContent.Builder connection(JsonField<BatchGetContentResponse.Data.MessageChatContent.Connection> connection)
Sets Builder.connection to an arbitrary JSON value.
You should usually call Builder.connection with a well-typed Connection value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
template
final BatchGetContentResponse.Data.MessageChatContent.Builder template(BatchGetContentResponse.Data.MessageChatContent.Template template)
The template structure for the chat message.
-
template
final BatchGetContentResponse.Data.MessageChatContent.Builder template(JsonField<BatchGetContentResponse.Data.MessageChatContent.Template> template)
Sets Builder.template to an arbitrary JSON value.
You should usually call Builder.template with a well-typed Template value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final BatchGetContentResponse.Data.MessageChatContent.Builder metadata(BatchGetContentResponse.Data.MessageChatContent.Metadata metadata)
Additional metadata associated with the chat message.
-
metadata
final BatchGetContentResponse.Data.MessageChatContent.Builder metadata(Optional<BatchGetContentResponse.Data.MessageChatContent.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final BatchGetContentResponse.Data.MessageChatContent.Builder metadata(JsonField<BatchGetContentResponse.Data.MessageChatContent.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchGetContentResponse.Data.MessageChatContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchGetContentResponse.Data.MessageChatContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchGetContentResponse.Data.MessageChatContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchGetContentResponse.Data.MessageChatContent build()
Returns an immutable instance of MessageChatContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
._typename() .connection() .template()
-
-
-
-