Class MessageContentResponse.Result.Builder
-
- All Implemented Interfaces:
public final class MessageContentResponse.Result.BuilderA builder for Result.
-
-
Method Summary
-
-
Method Detail
-
channel
final MessageContentResponse.Result.Builder channel(String channel)
The channel used for rendering the message.
-
channel
final MessageContentResponse.Result.Builder channel(JsonField<String> channel)
Sets Builder.channel to an arbitrary JSON value.
You should usually call Builder.channel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channelId
final MessageContentResponse.Result.Builder channelId(String channelId)
The ID of channel used for rendering the message.
-
channelId
final MessageContentResponse.Result.Builder channelId(JsonField<String> channelId)
Sets Builder.channelId to an arbitrary JSON value.
You should usually call Builder.channelId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final MessageContentResponse.Result.Builder content(MessageContentResponse.Result.Content content)
Content details of the rendered message.
-
content
final MessageContentResponse.Result.Builder content(JsonField<MessageContentResponse.Result.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageContentResponse.Result.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageContentResponse.Result.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageContentResponse.Result.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageContentResponse.Result.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageContentResponse.Result.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageContentResponse.Result build()
Returns an immutable instance of Result.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.channel() .channelId() .content()
-
-
-
-