Class ConversationItemWithReference.Content
- 
                    
                    - All Implemented Interfaces:
 
 public final class ConversationItemWithReference.Content
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classConversationItemWithReference.Content.BuilderA builder for Content. public final classConversationItemWithReference.Content.TypeThe content type ( input_text,input_audio,item_reference,text).
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>id()ID of a previous conversation item to reference (for item_referencecontent types inresponse.createevents).final Optional<String>audio()Base64-encoded audio bytes, used for input_audiocontent type.final Optional<String>text()The text content, used for input_textandtextcontent types.final Optional<String>transcript()The transcript of the audio, used for input_audiocontent type.final Optional<ConversationItemWithReference.Content.Type>type()The content type ( input_text,input_audio,item_reference,text).final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_audio()Returns the raw JSON value of audio. final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_transcript()Returns the raw JSON value of transcript. final JsonField<ConversationItemWithReference.Content.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final ConversationItemWithReference.Content.BuildertoBuilder()final ConversationItemWithReference.Contentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ConversationItemWithReference.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal Optional<String> id() ID of a previous conversation item to reference (for item_referencecontent types inresponse.createevents). These can reference both client and server created items.
 - 
                                        transcriptfinal Optional<String> transcript() The transcript of the audio, used for input_audiocontent type.
 - 
                                        typefinal Optional<ConversationItemWithReference.Content.Type> type() The content type ( input_text,input_audio,item_reference,text).
 - 
                                        _idfinal JsonField<String> _id() Returns the raw JSON value of id. Unlike id, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _audiofinal JsonField<String> _audio() Returns the raw JSON value of audio. Unlike audio, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _textfinal JsonField<String> _text() Returns the raw JSON value of text. Unlike text, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _transcriptfinal JsonField<String> _transcript() Returns the raw JSON value of transcript. Unlike transcript, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _typefinal JsonField<ConversationItemWithReference.Content.Type> _type() Returns the raw JSON value of type. Unlike type, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ConversationItemWithReference.Content.Builder toBuilder() 
 - 
                                        validatefinal ConversationItemWithReference.Content validate() 
 - 
                                        builderfinal static ConversationItemWithReference.Content.Builder builder() Returns a mutable builder for constructing an instance of Content. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-