Class AssistantStreamEvent.ThreadRunInProgress
-
- All Implemented Interfaces:
public final class AssistantStreamEvent.ThreadRunInProgressOccurs when a run moves to an
in_progressstatus.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAssistantStreamEvent.ThreadRunInProgress.BuilderA builder for ThreadRunInProgress.
-
Method Summary
Modifier and Type Method Description final Rundata()Represents an execution run on 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.run.in_progress")final JsonField<Run>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final AssistantStreamEvent.ThreadRunInProgress.BuildertoBuilder()final AssistantStreamEvent.ThreadRunInProgressvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AssistantStreamEvent.ThreadRunInProgress.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadRunInProgress. -
-
Method Detail
-
_event
final JsonValue _event()
Expected to always return the following:
JsonValue.from("thread.run.in_progress")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<Run> _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.ThreadRunInProgress.Builder toBuilder()
-
validate
final AssistantStreamEvent.ThreadRunInProgress validate()
-
builder
final static AssistantStreamEvent.ThreadRunInProgress.Builder builder()
Returns a mutable builder for constructing an instance of ThreadRunInProgress.
The following fields are required:
.data()
-
-
-
-