Class AssistantStreamEvent.ThreadRunIncomplete.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class AssistantStreamEvent.ThreadRunIncomplete.BuilderA builder for ThreadRunIncomplete.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
data
final AssistantStreamEvent.ThreadRunIncomplete.Builder data(Run data)
Represents an execution run on a thread.
 
- 
                                        
data
final AssistantStreamEvent.ThreadRunIncomplete.Builder data(JsonField<Run> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Run value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
event
final AssistantStreamEvent.ThreadRunIncomplete.Builder event(JsonValue event)
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("thread.run.incomplete")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final AssistantStreamEvent.ThreadRunIncomplete.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final AssistantStreamEvent.ThreadRunIncomplete.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final AssistantStreamEvent.ThreadRunIncomplete.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final AssistantStreamEvent.ThreadRunIncomplete.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final AssistantStreamEvent.ThreadRunIncomplete.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final AssistantStreamEvent.ThreadRunIncomplete build()
Returns an immutable instance of ThreadRunIncomplete.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -