Class ResponseInputAudio
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseInputAudioAn audio input to the model.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputAudio.BuilderA builder for ResponseInputAudio.
public final classResponseInputAudio.FormatThe format of the audio data. Currently supported formats are
mp3andwav. 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Stringdata()Base64-encoded audio data. final ResponseInputAudio.Formatformat()The format of the audio data. final JsonValue_type()The type of the input item. final JsonField<String>_data()Returns the raw JSON value of data. final JsonField<ResponseInputAudio.Format>_format()Returns the raw JSON value of format. final Map<String, JsonValue>_additionalProperties()final ResponseInputAudio.BuildertoBuilder()final ResponseInputAudiovalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseInputAudio. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
format
final ResponseInputAudio.Format format()
The format of the audio data. Currently supported formats are
mp3andwav. 
- 
                                        
_type
final JsonValue _type()
The type of the input item. Always
input_audio.Expected to always return the following:
JsonValue.from("input_audio")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_data
final JsonField<String> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_format
final JsonField<ResponseInputAudio.Format> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ResponseInputAudio.Builder toBuilder()
 
- 
                                        
validate
final ResponseInputAudio validate()
 
- 
                                        
builder
final static ResponseInputAudio.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInputAudio.
The following fields are required:
.data() .format() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -