Class MessageStreamEvent.ThreadMessageIncomplete.Builder
-
- All Implemented Interfaces:
public final class MessageStreamEvent.ThreadMessageIncomplete.Builder
A builder for ThreadMessageIncomplete.
-
-
Method Summary
-
-
Method Detail
-
data
final MessageStreamEvent.ThreadMessageIncomplete.Builder data(Message data)
Represents a message within a thread.
-
data
final MessageStreamEvent.ThreadMessageIncomplete.Builder data(JsonField<Message> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Message value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
event
final MessageStreamEvent.ThreadMessageIncomplete.Builder event(JsonValue event)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("thread.message.incomplete")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageStreamEvent.ThreadMessageIncomplete.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageStreamEvent.ThreadMessageIncomplete.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageStreamEvent.ThreadMessageIncomplete.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageStreamEvent.ThreadMessageIncomplete.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageStreamEvent.ThreadMessageIncomplete.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageStreamEvent.ThreadMessageIncomplete build()
Returns an immutable instance of ThreadMessageIncomplete.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-