Class ConversationItemDeleteEvent
- 
                    
                    
- All Implemented Interfaces:
 
public final class ConversationItemDeleteEventSend this event when you want to remove any item from the conversation history. The server will respond with a
conversation.item.deletedevent, unless the item does not exist in the conversation history, in which case the server will respond with an error. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classConversationItemDeleteEvent.BuilderA builder for ConversationItemDeleteEvent.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final StringitemId()The ID of the item to delete. final JsonValue_type()The event type, must be conversation.item.delete.final Optional<String>eventId()Optional client-generated ID used to identify this event. final JsonField<String>_itemId()Returns the raw JSON value of itemId. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final ConversationItemDeleteEvent.BuildertoBuilder()final ConversationItemDeleteEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ConversationItemDeleteEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ConversationItemDeleteEvent. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_type
final JsonValue _type()
The event type, must be
conversation.item.delete.Expected to always return the following:
JsonValue.from("conversation.item.delete")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_itemId
final JsonField<String> _itemId()
Returns the raw JSON value of itemId.
Unlike itemId, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_eventId
final JsonField<String> _eventId()
Returns the raw JSON value of eventId.
Unlike eventId, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ConversationItemDeleteEvent.Builder toBuilder()
 
- 
                                        
validate
final ConversationItemDeleteEvent validate()
 
- 
                                        
builder
final static ConversationItemDeleteEvent.Builder builder()
Returns a mutable builder for constructing an instance of ConversationItemDeleteEvent.
The following fields are required:
.itemId() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -