Class RunStepStreamEvent.ThreadRunStepCompleted
-
- All Implemented Interfaces:
public final class RunStepStreamEvent.ThreadRunStepCompleted
Occurs when a run step is completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RunStepStreamEvent.ThreadRunStepCompleted.Builder
A builder for ThreadRunStepCompleted.
-
Method Summary
Modifier and Type Method Description final RunStep
data()
Represents a step in execution of a run. 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.step.completed")
final JsonField<RunStep>
_data()
Returns the raw JSON value of data. final Map<String, JsonValue>
_additionalProperties()
final RunStepStreamEvent.ThreadRunStepCompleted.Builder
toBuilder()
final RunStepStreamEvent.ThreadRunStepCompleted
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RunStepStreamEvent.ThreadRunStepCompleted.Builder
builder()
Returns a mutable builder for constructing an instance of ThreadRunStepCompleted. -
-
Method Detail
-
_event
final JsonValue _event()
Expected to always return the following:
JsonValue.from("thread.run.step.completed")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<RunStep> _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 RunStepStreamEvent.ThreadRunStepCompleted.Builder toBuilder()
-
validate
final RunStepStreamEvent.ThreadRunStepCompleted validate()
-
builder
final static RunStepStreamEvent.ThreadRunStepCompleted.Builder builder()
Returns a mutable builder for constructing an instance of ThreadRunStepCompleted.
The following fields are required:
.data()
-
-
-
-