Class ResponseCustomToolCallInputDoneEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCustomToolCallInputDoneEvent.BuilderA builder for ResponseCustomToolCallInputDoneEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
input
final ResponseCustomToolCallInputDoneEvent.Builder input(String input)
The complete input data for the custom tool call.
 
- 
                                        
input
final ResponseCustomToolCallInputDoneEvent.Builder input(JsonField<String> input)
Sets Builder.input to an arbitrary JSON value.
You should usually call Builder.input 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 ResponseCustomToolCallInputDoneEvent.Builder itemId(String itemId)
Unique identifier for the API item associated with this event.
 
- 
                                        
itemId
final ResponseCustomToolCallInputDoneEvent.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 ResponseCustomToolCallInputDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output this event applies to.
 
- 
                                        
outputIndex
final ResponseCustomToolCallInputDoneEvent.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.
 
- 
                                        
sequenceNumber
final ResponseCustomToolCallInputDoneEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event.
 
- 
                                        
sequenceNumber
final ResponseCustomToolCallInputDoneEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ResponseCustomToolCallInputDoneEvent.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.custom_tool_call_input.done")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseCustomToolCallInputDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseCustomToolCallInputDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseCustomToolCallInputDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseCustomToolCallInputDoneEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseCustomToolCallInputDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseCustomToolCallInputDoneEvent build()
Returns an immutable instance of ResponseCustomToolCallInputDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.input() .itemId() .outputIndex() .sequenceNumber() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -