Class ResponseFunctionToolCallItem.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFunctionToolCallItem.BuilderA builder for ResponseFunctionToolCallItem.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
arguments
final ResponseFunctionToolCallItem.Builder arguments(String arguments)
A JSON string of the arguments to pass to the function.
 
- 
                                        
arguments
final ResponseFunctionToolCallItem.Builder arguments(JsonField<String> arguments)
Sets Builder.arguments to an arbitrary JSON value.
You should usually call Builder.arguments with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
callId
final ResponseFunctionToolCallItem.Builder callId(String callId)
The unique ID of the function tool call generated by the model.
 
- 
                                        
callId
final ResponseFunctionToolCallItem.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
name
final ResponseFunctionToolCallItem.Builder name(String name)
The name of the function to run.
 
- 
                                        
name
final ResponseFunctionToolCallItem.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseFunctionToolCallItem.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("function_call")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
id
final ResponseFunctionToolCallItem.Builder id(String id)
The unique ID of the function tool call.
 
- 
                                        
id
final ResponseFunctionToolCallItem.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
status
final ResponseFunctionToolCallItem.Builder status(ResponseFunctionToolCall.Status status)
The status of the item. One of
in_progress,completed, orincomplete. Populated when items are returned via API. 
- 
                                        
status
final ResponseFunctionToolCallItem.Builder status(JsonField<ResponseFunctionToolCall.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed ResponseFunctionToolCall.Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseFunctionToolCallItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFunctionToolCallItem.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFunctionToolCallItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFunctionToolCallItem.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFunctionToolCallItem.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFunctionToolCallItem build()
Returns an immutable instance of ResponseFunctionToolCallItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.arguments() .callId() .name() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -