Class ConversationItemDeletedEvent.Builder
-
- All Implemented Interfaces:
public final class ConversationItemDeletedEvent.Builder
A builder for ConversationItemDeletedEvent.
-
-
Method Summary
-
-
Method Detail
-
eventId
final ConversationItemDeletedEvent.Builder eventId(String eventId)
The unique ID of the server event.
-
eventId
final ConversationItemDeletedEvent.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
itemId
final ConversationItemDeletedEvent.Builder itemId(String itemId)
The ID of the item that was deleted.
-
itemId
final ConversationItemDeletedEvent.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId 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 ConversationItemDeletedEvent.Builder type(JsonValue type)
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("conversation.item.deleted")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ConversationItemDeletedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ConversationItemDeletedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ConversationItemDeletedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ConversationItemDeletedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ConversationItemDeletedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ConversationItemDeletedEvent build()
Returns an immutable instance of ConversationItemDeletedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .itemId()
-
-
-
-