Class ChatKitThreadItemList.Data.ChatKitTaskGroup.Task
-
- All Implemented Interfaces:
public final class ChatKitThreadItemList.Data.ChatKitTaskGroup.Task
Task entry that appears within a TaskGroup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Builder
A builder for Task.
public final class
ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Type
Subtype for the grouped task.
-
Method Summary
Modifier and Type Method Description final Optional<String>
heading()
Optional heading for the grouped task. final Optional<String>
summary()
Optional summary that describes the grouped task. final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Type
type()
Subtype for the grouped task. final JsonField<String>
_heading()
Returns the raw JSON value of heading. final JsonField<String>
_summary()
Returns the raw JSON value of summary. final JsonField<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Type>
_type()
Returns the raw JSON value of type. final Map<String, JsonValue>
_additionalProperties()
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Builder
toBuilder()
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Builder
builder()
Returns a mutable builder for constructing an instance of Task. -
-
Method Detail
-
heading
final Optional<String> heading()
Optional heading for the grouped task. Defaults to null when not provided.
-
summary
final Optional<String> summary()
Optional summary that describes the grouped task. Defaults to null when omitted.
-
type
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Type type()
Subtype for the grouped task.
-
_heading
final JsonField<String> _heading()
Returns the raw JSON value of heading.
Unlike heading, this method doesn't throw if the JSON field has an unexpected type.
-
_summary
final JsonField<String> _summary()
Returns the raw JSON value of summary.
Unlike summary, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Builder toBuilder()
-
validate
final ChatKitThreadItemList.Data.ChatKitTaskGroup.Task validate()
-
builder
final static ChatKitThreadItemList.Data.ChatKitTaskGroup.Task.Builder builder()
Returns a mutable builder for constructing an instance of Task.
The following fields are required:
.heading() .summary() .type()
-
-
-
-