Package com.openai.models.webhooks
        Class ResponseFailedWebhookEvent.Data.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseFailedWebhookEvent.Data.BuilderA builder for Data.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final ResponseFailedWebhookEvent.Data.Builderid(String id)The unique ID of the model response. final ResponseFailedWebhookEvent.Data.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final ResponseFailedWebhookEvent.Data.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseFailedWebhookEvent.Data.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseFailedWebhookEvent.Data.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseFailedWebhookEvent.Data.BuilderremoveAdditionalProperty(String key)final ResponseFailedWebhookEvent.Data.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseFailedWebhookEvent.Databuild()Returns an immutable instance of Data. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ResponseFailedWebhookEvent.Data.Builder id(String id)
The unique ID of the model response.
 
- 
                                        
id
final ResponseFailedWebhookEvent.Data.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.
 
- 
                                        
additionalProperties
final ResponseFailedWebhookEvent.Data.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ResponseFailedWebhookEvent.Data.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ResponseFailedWebhookEvent.Data.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ResponseFailedWebhookEvent.Data.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ResponseFailedWebhookEvent.Data.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ResponseFailedWebhookEvent.Data build()
Returns an immutable instance of Data.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -