Class BatchCompletedWebhookEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class BatchCompletedWebhookEvent.BuilderA builder for BatchCompletedWebhookEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final BatchCompletedWebhookEvent.Builder id(String id)
The unique ID of the event.
 
- 
                                        
id
final BatchCompletedWebhookEvent.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.
 
- 
                                        
createdAt
final BatchCompletedWebhookEvent.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the batch API request was completed.
 
- 
                                        
createdAt
final BatchCompletedWebhookEvent.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
data
final BatchCompletedWebhookEvent.Builder data(BatchCompletedWebhookEvent.Data data)
Event data payload.
 
- 
                                        
data
final BatchCompletedWebhookEvent.Builder data(JsonField<BatchCompletedWebhookEvent.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final BatchCompletedWebhookEvent.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("batch.completed")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
object_
final BatchCompletedWebhookEvent.Builder object_(BatchCompletedWebhookEvent.Object object_)
The object of the event. Always
event. 
- 
                                        
object_
final BatchCompletedWebhookEvent.Builder object_(JsonField<BatchCompletedWebhookEvent.Object> object_)
Sets Builder.object_ to an arbitrary JSON value.
You should usually call Builder.object_ with a well-typed Object value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final BatchCompletedWebhookEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final BatchCompletedWebhookEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final BatchCompletedWebhookEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final BatchCompletedWebhookEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final BatchCompletedWebhookEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final BatchCompletedWebhookEvent build()
Returns an immutable instance of BatchCompletedWebhookEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .data() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -