Class MessageDeltaEvent.Builder
-
- All Implemented Interfaces:
public final class MessageDeltaEvent.Builder
A builder for MessageDeltaEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final MessageDeltaEvent.Builder id(String id)
The identifier of the message, which can be referenced in API endpoints.
-
id
final MessageDeltaEvent.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
delta
final MessageDeltaEvent.Builder delta(MessageDelta delta)
The delta containing the fields that have changed on the Message.
-
delta
final MessageDeltaEvent.Builder delta(JsonField<MessageDelta> delta)
Sets Builder.delta to an arbitrary JSON value.
You should usually call Builder.delta with a well-typed MessageDelta value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final MessageDeltaEvent.Builder object_(JsonValue object_)
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.delta")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageDeltaEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageDeltaEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageDeltaEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageDeltaEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageDeltaEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageDeltaEvent build()
Returns an immutable instance of MessageDeltaEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .delta()
-
-
-
-