Class AnnotationDelta
- 
                    
                    - All Implemented Interfaces:
 
 public final class AnnotationDeltaA citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "file_search" tool to search files. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public interfaceAnnotationDelta.VisitorAn interface that defines how to map each variant of AnnotationDelta to a value of type T. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<FileCitationDeltaAnnotation>fileCitation()A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final Optional<FilePathDeltaAnnotation>filePath()A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final BooleanisFileCitation()final BooleanisFilePath()final FileCitationDeltaAnnotationasFileCitation()A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final FilePathDeltaAnnotationasFilePath()A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.final Optional<JsonValue>_json()final <T extends Any> Taccept(AnnotationDelta.Visitor<T> visitor)final AnnotationDeltavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnnotationDeltaofFileCitation(FileCitationDeltaAnnotation fileCitation)A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. final static AnnotationDeltaofFilePath(FilePathDeltaAnnotation filePath)A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        fileCitationfinal Optional<FileCitationDeltaAnnotation> fileCitation() A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "file_search" tool to search files. 
 - 
                                        filePathfinal Optional<FilePathDeltaAnnotation> filePath() A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.
 - 
                                        isFileCitationfinal Boolean isFileCitation() 
 - 
                                        isFilePathfinal Boolean isFilePath() 
 - 
                                        asFileCitationfinal FileCitationDeltaAnnotation asFileCitation() A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "file_search" tool to search files. 
 - 
                                        asFilePathfinal FilePathDeltaAnnotation asFilePath() A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.
 - 
                                        acceptfinal <T extends Any> T accept(AnnotationDelta.Visitor<T> visitor) 
 - 
                                        validatefinal AnnotationDelta validate() 
 - 
                                        ofFileCitationfinal static AnnotationDelta ofFileCitation(FileCitationDeltaAnnotation fileCitation) A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the "file_search" tool to search files. 
 - 
                                        ofFilePathfinal static AnnotationDelta ofFilePath(FilePathDeltaAnnotation filePath) A URL for the file that's generated when the assistant used the code_interpretertool to generate a file.
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-