Class ConversationItemRetrieveEvent.Builder
-
- All Implemented Interfaces:
public final class ConversationItemRetrieveEvent.Builder
A builder for ConversationItemRetrieveEvent.
-
-
Method Summary
-
-
Method Detail
-
itemId
final ConversationItemRetrieveEvent.Builder itemId(String itemId)
The ID of the item to retrieve.
-
itemId
final ConversationItemRetrieveEvent.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 ConversationItemRetrieveEvent.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.retrieve")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventId
final ConversationItemRetrieveEvent.Builder eventId(String eventId)
Optional client-generated ID used to identify this event.
-
eventId
final ConversationItemRetrieveEvent.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.
-
additionalProperties
final ConversationItemRetrieveEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ConversationItemRetrieveEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ConversationItemRetrieveEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ConversationItemRetrieveEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ConversationItemRetrieveEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ConversationItemRetrieveEvent build()
Returns an immutable instance of ConversationItemRetrieveEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.itemId()
-
-
-
-