Package com.openai.models.beta.threads
        Class ThreadCreateParams.ToolResources
- 
                    
                    - All Implemented Interfaces:
 
 public final class ThreadCreateParams.ToolResourcesA set of resources that are made available to the assistant's tools in this thread. 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 classThreadCreateParams.ToolResources.BuilderA builder for ToolResources. public final classThreadCreateParams.ToolResources.CodeInterpreterpublic final classThreadCreateParams.ToolResources.FileSearch
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<ThreadCreateParams.ToolResources.CodeInterpreter>codeInterpreter()final Optional<ThreadCreateParams.ToolResources.FileSearch>fileSearch()final JsonField<ThreadCreateParams.ToolResources.CodeInterpreter>_codeInterpreter()Returns the raw JSON value of codeInterpreter. final JsonField<ThreadCreateParams.ToolResources.FileSearch>_fileSearch()Returns the raw JSON value of fileSearch. final Map<String, JsonValue>_additionalProperties()final ThreadCreateParams.ToolResources.BuildertoBuilder()final ThreadCreateParams.ToolResourcesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadCreateParams.ToolResources.Builderbuilder()Returns a mutable builder for constructing an instance of ToolResources. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        codeInterpreterfinal Optional<ThreadCreateParams.ToolResources.CodeInterpreter> codeInterpreter() 
 - 
                                        fileSearchfinal Optional<ThreadCreateParams.ToolResources.FileSearch> fileSearch() 
 - 
                                        _codeInterpreterfinal JsonField<ThreadCreateParams.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<ThreadCreateParams.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 ThreadCreateParams.ToolResources.Builder toBuilder() 
 - 
                                        validatefinal ThreadCreateParams.ToolResources validate() 
 - 
                                        builderfinal static ThreadCreateParams.ToolResources.Builder builder() Returns a mutable builder for constructing an instance of ToolResources. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-