Class AssistantStreamEvent.ThreadMessageIncomplete
-
- All Implemented Interfaces:
public final class AssistantStreamEvent.ThreadMessageIncompleteOccurs when a message ends before it is completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAssistantStreamEvent.ThreadMessageIncomplete.BuilderA builder for ThreadMessageIncomplete.
-
Method Summary
Modifier and Type Method Description final Messagedata()Represents a message within a thread. final JsonValue_event()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("thread.message.incomplete")final JsonField<Message>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final AssistantStreamEvent.ThreadMessageIncomplete.BuildertoBuilder()final AssistantStreamEvent.ThreadMessageIncompletevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AssistantStreamEvent.ThreadMessageIncomplete.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadMessageIncomplete. -
-
Method Detail
-
_event
final JsonValue _event()
Expected to always return the following:
JsonValue.from("thread.message.incomplete")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<Message> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AssistantStreamEvent.ThreadMessageIncomplete.Builder toBuilder()
-
validate
final AssistantStreamEvent.ThreadMessageIncomplete validate()
-
builder
final static AssistantStreamEvent.ThreadMessageIncomplete.Builder builder()
Returns a mutable builder for constructing an instance of ThreadMessageIncomplete.
The following fields are required:
.data()
-
-
-
-