Class AssistantStreamEvent.ThreadRunStepInProgress.Builder
-
- All Implemented Interfaces:
public final class AssistantStreamEvent.ThreadRunStepInProgress.Builder
A builder for ThreadRunStepInProgress.
-
-
Method Summary
-
-
Method Detail
-
data
final AssistantStreamEvent.ThreadRunStepInProgress.Builder data(RunStep data)
Represents a step in execution of a run.
-
data
final AssistantStreamEvent.ThreadRunStepInProgress.Builder data(JsonField<RunStep> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed RunStep value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
event
final AssistantStreamEvent.ThreadRunStepInProgress.Builder event(JsonValue event)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("thread.run.step.in_progress")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AssistantStreamEvent.ThreadRunStepInProgress.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AssistantStreamEvent.ThreadRunStepInProgress.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AssistantStreamEvent.ThreadRunStepInProgress.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AssistantStreamEvent.ThreadRunStepInProgress.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AssistantStreamEvent.ThreadRunStepInProgress.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AssistantStreamEvent.ThreadRunStepInProgress build()
Returns an immutable instance of ThreadRunStepInProgress.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-