Class ChatKitWidgetItem.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class ChatKitWidgetItem.BuilderA builder for ChatKitWidgetItem.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
id
final ChatKitWidgetItem.Builder id(String id)
Identifier of the thread item.
 
- 
                                        
id
final ChatKitWidgetItem.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 ChatKitWidgetItem.Builder createdAt(Long createdAt)
Unix timestamp (in seconds) for when the item was created.
 
- 
                                        
createdAt
final ChatKitWidgetItem.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.
 
- 
                                        
object_
final ChatKitWidgetItem.Builder object_(JsonValue object_)
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("chatkit.thread_item")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
threadId
final ChatKitWidgetItem.Builder threadId(String threadId)
Identifier of the parent thread.
 
- 
                                        
threadId
final ChatKitWidgetItem.Builder threadId(JsonField<String> threadId)
Sets Builder.threadId to an arbitrary JSON value.
You should usually call Builder.threadId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final ChatKitWidgetItem.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("chatkit.widget")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
widget
final ChatKitWidgetItem.Builder widget(String widget)
Serialized widget payload rendered in the UI.
 
- 
                                        
widget
final ChatKitWidgetItem.Builder widget(JsonField<String> widget)
Sets Builder.widget to an arbitrary JSON value.
You should usually call Builder.widget 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 ChatKitWidgetItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final ChatKitWidgetItem.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final ChatKitWidgetItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final ChatKitWidgetItem.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final ChatKitWidgetItem.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final ChatKitWidgetItem build()
Returns an immutable instance of ChatKitWidgetItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .threadId() .widget() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -