Class ChatKitThreadItemList.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatKitThreadItemList.BuilderA builder for ChatKitThreadItemList. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        datafinal ChatKitThreadItemList.Builder data(List<ChatKitThreadItemList.Data> data) A list of items 
 - 
                                        datafinal ChatKitThreadItemList.Builder data(JsonField<List<ChatKitThreadItemList.Data>> data) Sets Builder.data to an arbitrary JSON value. You should usually call Builder.data with a well-typed List<Data>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadItemList.Data data) Adds a single Data to Builder.data. 
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadUserMessageItem chatkitUserMessage) Alias for calling addData with Data.ofChatKitUserMessage(chatkitUserMessage).
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadAssistantMessageItem chatkitAssistantMessage) Alias for calling addData with Data.ofChatKitAssistantMessage(chatkitAssistantMessage).
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitWidgetItem chatkitWidget) Alias for calling addData with Data.ofChatKitWidget(chatkitWidget).
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadItemList.Data.ChatKitClientToolCall chatkitClientToolCall) Alias for calling addData with Data.ofChatKitClientToolCall(chatkitClientToolCall).
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadItemList.Data.ChatKitTask chatkitTask) Alias for calling addData with Data.ofChatKitTask(chatkitTask).
 - 
                                        addDatafinal ChatKitThreadItemList.Builder addData(ChatKitThreadItemList.Data.ChatKitTaskGroup chatkitTaskGroup) Alias for calling addData with Data.ofChatKitTaskGroup(chatkitTaskGroup).
 - 
                                        firstIdfinal ChatKitThreadItemList.Builder firstId(String firstId) The ID of the first item in the list. 
 - 
                                        firstIdfinal ChatKitThreadItemList.Builder firstId(Optional<String> firstId) Alias for calling Builder.firstId with firstId.orElse(null).
 - 
                                        firstIdfinal ChatKitThreadItemList.Builder firstId(JsonField<String> firstId) Sets Builder.firstId to an arbitrary JSON value. You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        hasMorefinal ChatKitThreadItemList.Builder hasMore(Boolean hasMore) Whether there are more items available. 
 - 
                                        hasMorefinal ChatKitThreadItemList.Builder hasMore(JsonField<Boolean> hasMore) Sets Builder.hasMore to an arbitrary JSON value. You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        lastIdfinal ChatKitThreadItemList.Builder lastId(String lastId) The ID of the last item in the list. 
 - 
                                        lastIdfinal ChatKitThreadItemList.Builder lastId(Optional<String> lastId) Alias for calling Builder.lastId with lastId.orElse(null).
 - 
                                        lastIdfinal ChatKitThreadItemList.Builder lastId(JsonField<String> lastId) Sets Builder.lastId to an arbitrary JSON value. You should usually call Builder.lastId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        object_final ChatKitThreadItemList.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("list")This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatKitThreadItemList.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatKitThreadItemList.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatKitThreadItemList.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatKitThreadItemList.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatKitThreadItemList.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatKitThreadItemList build() Returns an immutable instance of ChatKitThreadItemList. Further updates to this Builder will not mutate the returned instance. The following fields are required: .data() .firstId() .hasMore() .lastId()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-