Package com.openai.models.responses
        Interface ResponseInputContent.Visitor
- 
                    
                    - All Implemented Interfaces:
 
 public interface ResponseInputContent.Visitor<T extends Object>An interface that defines how to map each variant of ResponseInputContent to a value of type T. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract TvisitInputText(ResponseInputText inputText)A text input to the model. abstract TvisitInputImage(ResponseInputImage inputImage)An image input to the model. abstract TvisitInputFile(ResponseInputFile inputFile)A file input to the model. abstract TvisitInputAudio(ResponseInputAudio inputAudio)An audio input to the model. Tunknown(JsonValue json)Maps an unknown variant of ResponseInputContent to a value of type T. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        visitInputTextabstract T visitInputText(ResponseInputText inputText) A text input to the model. 
 - 
                                        visitInputImageabstract T visitInputImage(ResponseInputImage inputImage) An image input to the model. Learn about image inputs. 
 - 
                                        visitInputFileabstract T visitInputFile(ResponseInputFile inputFile) A file input to the model. 
 - 
                                        visitInputAudioabstract T visitInputAudio(ResponseInputAudio inputAudio) An audio input to the model. 
 - 
                                        unknownT unknown(JsonValue json) Maps an unknown variant of ResponseInputContent to a value of type T. An instance of ResponseInputContent can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-