Package com.openai.models.beta.threads
        Class ThreadCreateAndRunParams.Thread.Message.Attachment
- 
                    
                    - All Implemented Interfaces:
 
 public final class ThreadCreateAndRunParams.Thread.Message.Attachment
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classThreadCreateAndRunParams.Thread.Message.Attachment.BuilderA builder for Attachment. public final classThreadCreateAndRunParams.Thread.Message.Attachment.Tool
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Optional<String>fileId()The ID of the file to attach to the message. final Optional<List<ThreadCreateAndRunParams.Thread.Message.Attachment.Tool>>tools()The tools to add this file to. final JsonField<String>_fileId()Returns the raw JSON value of fileId. final JsonField<List<ThreadCreateAndRunParams.Thread.Message.Attachment.Tool>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final ThreadCreateAndRunParams.Thread.Message.Attachment.BuildertoBuilder()final ThreadCreateAndRunParams.Thread.Message.Attachmentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadCreateAndRunParams.Thread.Message.Attachment.Builderbuilder()Returns a mutable builder for constructing an instance of Attachment. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        toolsfinal Optional<List<ThreadCreateAndRunParams.Thread.Message.Attachment.Tool>> tools() The tools to add this file to. 
 - 
                                        _fileIdfinal JsonField<String> _fileId() Returns the raw JSON value of fileId. Unlike fileId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _toolsfinal JsonField<List<ThreadCreateAndRunParams.Thread.Message.Attachment.Tool>> _tools() Returns the raw JSON value of tools. Unlike tools, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ThreadCreateAndRunParams.Thread.Message.Attachment.Builder toBuilder() 
 - 
                                        validatefinal ThreadCreateAndRunParams.Thread.Message.Attachment validate() 
 - 
                                        builderfinal static ThreadCreateAndRunParams.Thread.Message.Attachment.Builder builder() Returns a mutable builder for constructing an instance of Attachment. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-