Class ResponseFunctionCallArgumentsDoneEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFunctionCallArgumentsDoneEvent.BuilderA builder for ResponseFunctionCallArgumentsDoneEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
arguments
final ResponseFunctionCallArgumentsDoneEvent.Builder arguments(String arguments)
The final arguments as a JSON string.
 
- 
                                        
arguments
final ResponseFunctionCallArgumentsDoneEvent.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 ResponseFunctionCallArgumentsDoneEvent.Builder callId(String callId)
The ID of the function call.
 
- 
                                        
callId
final ResponseFunctionCallArgumentsDoneEvent.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.
 
- 
                                        
eventId
final ResponseFunctionCallArgumentsDoneEvent.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final ResponseFunctionCallArgumentsDoneEvent.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
itemId
final ResponseFunctionCallArgumentsDoneEvent.Builder itemId(String itemId)
The ID of the function call item.
 
- 
                                        
itemId
final ResponseFunctionCallArgumentsDoneEvent.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
outputIndex
final ResponseFunctionCallArgumentsDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item in the response.
 
- 
                                        
outputIndex
final ResponseFunctionCallArgumentsDoneEvent.Builder outputIndex(JsonField<Long> outputIndex)
Sets Builder.outputIndex to an arbitrary JSON value.
You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
responseId
final ResponseFunctionCallArgumentsDoneEvent.Builder responseId(String responseId)
The ID of the response.
 
- 
                                        
responseId
final ResponseFunctionCallArgumentsDoneEvent.Builder responseId(JsonField<String> responseId)
Sets Builder.responseId to an arbitrary JSON value.
You should usually call Builder.responseId 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 ResponseFunctionCallArgumentsDoneEvent.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("response.function_call_arguments.done")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseFunctionCallArgumentsDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFunctionCallArgumentsDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFunctionCallArgumentsDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFunctionCallArgumentsDoneEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFunctionCallArgumentsDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFunctionCallArgumentsDoneEvent build()
Returns an immutable instance of ResponseFunctionCallArgumentsDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.arguments() .callId() .eventId() .itemId() .outputIndex() .responseId() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -