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