Class ChatKitThreadItemList.Data.ChatKitTaskGroup
-
- All Implemented Interfaces:
public final class ChatKitThreadItemList.Data.ChatKitTaskGroupCollection of workflow tasks grouped together in the thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatKitThreadItemList.Data.ChatKitTaskGroup.BuilderA builder for ChatKitTaskGroup.
public final classChatKitThreadItemList.Data.ChatKitTaskGroup.TaskTask entry that appears within a TaskGroup.
-
Method Summary
Modifier and Type Method Description final Stringid()Identifier of the thread item. final LongcreatedAt()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 StringthreadId()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.BuildertoBuilder()final ChatKitThreadItemList.Data.ChatKitTaskGroupvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatKitThreadItemList.Data.ChatKitTaskGroup.Builderbuilder()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()
-
-
-
-