Package com.openai.models.responses
        Interface ResponseOutputText.Annotation.Visitor
- 
                    
                    - All Implemented Interfaces:
 
 public interface ResponseOutputText.Annotation.Visitor<T extends Object>An interface that defines how to map each variant of Annotation to a value of type T. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract TvisitFileCitation(ResponseOutputText.Annotation.FileCitation fileCitation)A citation to a file. abstract TvisitUrlCitation(ResponseOutputText.Annotation.UrlCitation urlCitation)A citation for a web resource used to generate a model response. abstract TvisitContainerFileCitation(ResponseOutputText.Annotation.ContainerFileCitation containerFileCitation)A citation for a container file used to generate a model response. abstract TvisitFilePath(ResponseOutputText.Annotation.FilePath filePath)A path to a file. Tunknown(JsonValue json)Maps an unknown variant of Annotation to a value of type T. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        visitFileCitationabstract T visitFileCitation(ResponseOutputText.Annotation.FileCitation fileCitation) A citation to a file. 
 - 
                                        visitUrlCitationabstract T visitUrlCitation(ResponseOutputText.Annotation.UrlCitation urlCitation) A citation for a web resource used to generate a model response. 
 - 
                                        visitContainerFileCitationabstract T visitContainerFileCitation(ResponseOutputText.Annotation.ContainerFileCitation containerFileCitation) A citation for a container file used to generate a model response. 
 - 
                                        visitFilePathabstract T visitFilePath(ResponseOutputText.Annotation.FilePath filePath) A path to a file. 
 - 
                                        unknownT unknown(JsonValue json) Maps an unknown variant of Annotation to a value of type T. An instance of Annotation 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. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-