Package com.openai.models.beta.threads
        Class ThreadCreateAndRunParams.ToolResources
- 
                    
                    - All Implemented Interfaces:
 
 public final class ThreadCreateAndRunParams.ToolResourcesA set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the code_interpretertool requires a list of file IDs, while thefile_searchtool requires a list of vector store IDs.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classThreadCreateAndRunParams.ToolResources.BuilderA builder for ToolResources. public final classThreadCreateAndRunParams.ToolResources.CodeInterpreterpublic final classThreadCreateAndRunParams.ToolResources.FileSearch
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<ThreadCreateAndRunParams.ToolResources.CodeInterpreter>codeInterpreter()final Optional<ThreadCreateAndRunParams.ToolResources.FileSearch>fileSearch()final JsonField<ThreadCreateAndRunParams.ToolResources.CodeInterpreter>_codeInterpreter()Returns the raw JSON value of codeInterpreter. final JsonField<ThreadCreateAndRunParams.ToolResources.FileSearch>_fileSearch()Returns the raw JSON value of fileSearch. final Map<String, JsonValue>_additionalProperties()final ThreadCreateAndRunParams.ToolResources.BuildertoBuilder()final ThreadCreateAndRunParams.ToolResourcesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadCreateAndRunParams.ToolResources.Builderbuilder()Returns a mutable builder for constructing an instance of ToolResources. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        codeInterpreterfinal Optional<ThreadCreateAndRunParams.ToolResources.CodeInterpreter> codeInterpreter() 
 - 
                                        fileSearchfinal Optional<ThreadCreateAndRunParams.ToolResources.FileSearch> fileSearch() 
 - 
                                        _codeInterpreterfinal JsonField<ThreadCreateAndRunParams.ToolResources.CodeInterpreter> _codeInterpreter() Returns the raw JSON value of codeInterpreter. Unlike codeInterpreter, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _fileSearchfinal JsonField<ThreadCreateAndRunParams.ToolResources.FileSearch> _fileSearch() Returns the raw JSON value of fileSearch. Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ThreadCreateAndRunParams.ToolResources.Builder toBuilder() 
 - 
                                        validatefinal ThreadCreateAndRunParams.ToolResources validate() 
 - 
                                        builderfinal static ThreadCreateAndRunParams.ToolResources.Builder builder() Returns a mutable builder for constructing an instance of ToolResources. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-