Class ChatCompletionContentPart.File.FileObject.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatCompletionContentPart.File.FileObject.BuilderA builder for FileObject.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
fileData
final ChatCompletionContentPart.File.FileObject.Builder fileData(String fileData)
The base64 encoded file data, used when passing the file to the model as a string.
 
- 
                                        
fileData
final ChatCompletionContentPart.File.FileObject.Builder fileData(JsonField<String> fileData)
Sets Builder.fileData to an arbitrary JSON value.
You should usually call Builder.fileData with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
fileId
final ChatCompletionContentPart.File.FileObject.Builder fileId(String fileId)
The ID of an uploaded file to use as input.
 
- 
                                        
fileId
final ChatCompletionContentPart.File.FileObject.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
filename
final ChatCompletionContentPart.File.FileObject.Builder filename(String filename)
The name of the file, used when passing the file to the model as a string.
 
- 
                                        
filename
final ChatCompletionContentPart.File.FileObject.Builder filename(JsonField<String> filename)
Sets Builder.filename to an arbitrary JSON value.
You should usually call Builder.filename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ChatCompletionContentPart.File.FileObject.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ChatCompletionContentPart.File.FileObject.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ChatCompletionContentPart.File.FileObject.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ChatCompletionContentPart.File.FileObject.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ChatCompletionContentPart.File.FileObject.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ChatCompletionContentPart.File.FileObject build()
Returns an immutable instance of FileObject.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -