Class ChatKitThreadItemList.Data.ChatKitTaskGroup
-
- All Implemented Interfaces:
public final class ChatKitThreadItemList.Data.ChatKitTaskGroup
Collection of workflow tasks grouped together in the thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatKitThreadItemList.Data.ChatKitTaskGroup.Builder
A builder for ChatKitTaskGroup.
public final class
ChatKitThreadItemList.Data.ChatKitTaskGroup.Task
Task entry that appears within a TaskGroup.
-
Method Summary
Modifier and Type Method Description final String
id()
Identifier of the thread item. final Long
createdAt()
Unix timestamp (in seconds) for when the item was created. final JsonValue
_object_()
Type discriminator that is always chatkit.thread_item
.final List<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task>
tasks()
Tasks included in the group. final String
threadId()
Identifier of the parent thread. final JsonValue
_type()
Type discriminator that is always chatkit.task_group
.final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<Long>
_createdAt()
Returns the raw JSON value of createdAt. final JsonField<List<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task>>
_tasks()
Returns the raw JSON value of tasks. final JsonField<String>
_threadId()
Returns the raw JSON value of threadId. final Map<String, JsonValue>
_additionalProperties()
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Builder
toBuilder()
final ChatKitThreadItemList.Data.ChatKitTaskGroup
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatKitThreadItemList.Data.ChatKitTaskGroup.Builder
builder()
Returns a mutable builder for constructing an instance of ChatKitTaskGroup. -
-
Method Detail
-
_object_
final JsonValue _object_()
Type discriminator that is always
chatkit.thread_item
.Expected to always return the following:
JsonValue.from("chatkit.thread_item")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
tasks
final List<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task> tasks()
Tasks included in the group.
-
_type
final JsonValue _type()
Type discriminator that is always
chatkit.task_group
.Expected to always return the following:
JsonValue.from("chatkit.task_group")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_tasks
final JsonField<List<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task>> _tasks()
Returns the raw JSON value of tasks.
Unlike tasks, this method doesn't throw if the JSON field has an unexpected type.
-
_threadId
final JsonField<String> _threadId()
Returns the raw JSON value of threadId.
Unlike threadId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Builder toBuilder()
-
validate
final ChatKitThreadItemList.Data.ChatKitTaskGroup validate()
-
builder
final static ChatKitThreadItemList.Data.ChatKitTaskGroup.Builder builder()
Returns a mutable builder for constructing an instance of ChatKitTaskGroup.
The following fields are required:
.id() .createdAt() .tasks() .threadId()
-
-
-
-