Class ResponseFileSearchToolCall.Result.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFileSearchToolCall.Result.BuilderA builder for Result.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
attributes
final ResponseFileSearchToolCall.Result.Builder attributes(ResponseFileSearchToolCall.Result.Attributes attributes)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.
 
- 
                                        
attributes
final ResponseFileSearchToolCall.Result.Builder attributes(Optional<ResponseFileSearchToolCall.Result.Attributes> attributes)
Alias for calling Builder.attributes with
attributes.orElse(null). 
- 
                                        
attributes
final ResponseFileSearchToolCall.Result.Builder attributes(JsonField<ResponseFileSearchToolCall.Result.Attributes> attributes)
Sets Builder.attributes to an arbitrary JSON value.
You should usually call Builder.attributes with a well-typed Attributes value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
fileId
final ResponseFileSearchToolCall.Result.Builder fileId(String fileId)
The unique ID of the file.
 
- 
                                        
fileId
final ResponseFileSearchToolCall.Result.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 ResponseFileSearchToolCall.Result.Builder filename(String filename)
The name of the file.
 
- 
                                        
filename
final ResponseFileSearchToolCall.Result.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.
 
- 
                                        
score
final ResponseFileSearchToolCall.Result.Builder score(Float score)
The relevance score of the file - a value between 0 and 1.
 
- 
                                        
score
final ResponseFileSearchToolCall.Result.Builder score(JsonField<Float> score)
Sets Builder.score to an arbitrary JSON value.
You should usually call Builder.score with a well-typed Float value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
text
final ResponseFileSearchToolCall.Result.Builder text(String text)
The text that was retrieved from the file.
 
- 
                                        
text
final ResponseFileSearchToolCall.Result.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text 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 ResponseFileSearchToolCall.Result.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFileSearchToolCall.Result.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFileSearchToolCall.Result.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFileSearchToolCall.Result.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFileSearchToolCall.Result.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFileSearchToolCall.Result build()
Returns an immutable instance of Result.
Further updates to this Builder will not mutate the returned instance.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -