Class ChatKitThreadUserMessageItem.Content.InputText
-
- All Implemented Interfaces:
public final class ChatKitThreadUserMessageItem.Content.InputTextText block that a user contributed to the thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatKitThreadUserMessageItem.Content.InputText.BuilderA builder for InputText.
-
Method Summary
Modifier and Type Method Description final Stringtext()Plain-text content supplied by the user. final JsonValue_type()Type discriminator that is always input_text.final JsonField<String>_text()Returns the raw JSON value of text. final Map<String, JsonValue>_additionalProperties()final ChatKitThreadUserMessageItem.Content.InputText.BuildertoBuilder()final ChatKitThreadUserMessageItem.Content.InputTextvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatKitThreadUserMessageItem.Content.InputText.Builderbuilder()Returns a mutable builder for constructing an instance of InputText. -
-
Method Detail
-
_type
final JsonValue _type()
Type discriminator that is always
input_text.Expected to always return the following:
JsonValue.from("input_text")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatKitThreadUserMessageItem.Content.InputText.Builder toBuilder()
-
validate
final ChatKitThreadUserMessageItem.Content.InputText validate()
-
builder
final static ChatKitThreadUserMessageItem.Content.InputText.Builder builder()
Returns a mutable builder for constructing an instance of InputText.
The following fields are required:
.text()
-
-
-
-