Class RunStepStreamEvent.ThreadRunStepCreated
-
- All Implemented Interfaces:
public final class RunStepStreamEvent.ThreadRunStepCreatedOccurs when a run step is created.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunStepStreamEvent.ThreadRunStepCreated.BuilderA builder for ThreadRunStepCreated.
-
Method Summary
Modifier and Type Method Description final RunStepdata()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.created")final JsonField<RunStep>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final RunStepStreamEvent.ThreadRunStepCreated.BuildertoBuilder()final RunStepStreamEvent.ThreadRunStepCreatedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunStepStreamEvent.ThreadRunStepCreated.Builderbuilder()Returns a mutable builder for constructing an instance of ThreadRunStepCreated. -
-
Method Detail
-
_event
final JsonValue _event()
Expected to always return the following:
JsonValue.from("thread.run.step.created")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.ThreadRunStepCreated.Builder toBuilder()
-
validate
final RunStepStreamEvent.ThreadRunStepCreated validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RunStepStreamEvent.ThreadRunStepCreated.Builder builder()
Returns a mutable builder for constructing an instance of ThreadRunStepCreated.
The following fields are required:
.data()
-
-
-
-