Package com.openai.models.beta.realtime
        Class ResponseContentPartAddedEvent.Part
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseContentPartAddedEvent.PartThe content part that was added. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseContentPartAddedEvent.Part.BuilderA builder for Part. public final classResponseContentPartAddedEvent.Part.TypeThe content type ("text", "audio"). 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>audio()Base64-encoded audio data (if type is "audio"). final Optional<String>text()The text content (if type is "text"). final Optional<String>transcript()The transcript of the audio (if type is "audio"). final Optional<ResponseContentPartAddedEvent.Part.Type>type()The content type ("text", "audio"). 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<ResponseContentPartAddedEvent.Part.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final ResponseContentPartAddedEvent.Part.BuildertoBuilder()final ResponseContentPartAddedEvent.Partvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseContentPartAddedEvent.Part.Builderbuilder()Returns a mutable builder for constructing an instance of Part. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        transcriptfinal Optional<String> transcript() The transcript of the audio (if type is "audio"). 
 - 
                                        typefinal Optional<ResponseContentPartAddedEvent.Part.Type> type() The content type ("text", "audio"). 
 - 
                                        _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<ResponseContentPartAddedEvent.Part.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 ResponseContentPartAddedEvent.Part.Builder toBuilder() 
 - 
                                        validatefinal ResponseContentPartAddedEvent.Part validate() 
 - 
                                        builderfinal static ResponseContentPartAddedEvent.Part.Builder builder() Returns a mutable builder for constructing an instance of Part. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-