Package com.openai.models.beta.realtime
        Class RealtimeServerEvent.ConversationItemRetrieved
- 
                    
                    
- All Implemented Interfaces:
 
public final class RealtimeServerEvent.ConversationItemRetrievedReturned when a conversation item is retrieved with
conversation.item.retrieve. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeServerEvent.ConversationItemRetrieved.BuilderA builder for ConversationItemRetrieved.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final StringeventId()The unique ID of the server event. final ConversationItemitem()The item to add to the conversation. final JsonValue_type()The event type, must be conversation.item.retrieved.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<ConversationItem>_item()Returns the raw JSON value of item. final Map<String, JsonValue>_additionalProperties()final RealtimeServerEvent.ConversationItemRetrieved.BuildertoBuilder()final RealtimeServerEvent.ConversationItemRetrievedvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeServerEvent.ConversationItemRetrieved.Builderbuilder()Returns a mutable builder for constructing an instance of ConversationItemRetrieved. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
item
final ConversationItem item()
The item to add to the conversation.
 
- 
                                        
_type
final JsonValue _type()
The event type, must be
conversation.item.retrieved.Expected to always return the following:
JsonValue.from("conversation.item.retrieved")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_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.
 
- 
                                        
_item
final JsonField<ConversationItem> _item()
Returns the raw JSON value of item.
Unlike item, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final RealtimeServerEvent.ConversationItemRetrieved.Builder toBuilder()
 
- 
                                        
validate
final RealtimeServerEvent.ConversationItemRetrieved validate()
 
- 
                                        
builder
final static RealtimeServerEvent.ConversationItemRetrieved.Builder builder()
Returns a mutable builder for constructing an instance of ConversationItemRetrieved.
The following fields are required:
.eventId() .item() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -