Class ResponseCodeInterpreterCallCompletedEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCodeInterpreterCallCompletedEvent.BuilderA builder for ResponseCodeInterpreterCallCompletedEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
itemId
final ResponseCodeInterpreterCallCompletedEvent.Builder itemId(String itemId)
The unique identifier of the code interpreter tool call item.
 
- 
                                        
itemId
final ResponseCodeInterpreterCallCompletedEvent.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 ResponseCodeInterpreterCallCompletedEvent.Builder outputIndex(Long outputIndex)
The index of the output item in the response for which the code interpreter call is completed.
 
- 
                                        
outputIndex
final ResponseCodeInterpreterCallCompletedEvent.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 ResponseCodeInterpreterCallCompletedEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event, used to order streaming events.
 
- 
                                        
sequenceNumber
final ResponseCodeInterpreterCallCompletedEvent.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 ResponseCodeInterpreterCallCompletedEvent.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.code_interpreter_call.completed")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final ResponseCodeInterpreterCallCompletedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseCodeInterpreterCallCompletedEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseCodeInterpreterCallCompletedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseCodeInterpreterCallCompletedEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseCodeInterpreterCallCompletedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseCodeInterpreterCallCompletedEvent build()
Returns an immutable instance of ResponseCodeInterpreterCallCompletedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.itemId() .outputIndex() .sequenceNumber() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -