Package com.openai.models
Class RunStepDelta.StepDetails
-
- All Implemented Interfaces:
public final class RunStepDelta.StepDetails
The details of the run step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
RunStepDelta.StepDetails.Visitor
-
Method Summary
Modifier and Type Method Description final Optional<RunStepDeltaMessageDelta>
messageCreation()
Details of the message creation by the run step. final Optional<ToolCallDeltaObject>
toolCalls()
Details of the tool call. final Boolean
isMessageCreation()
final Boolean
isToolCalls()
final RunStepDeltaMessageDelta
asMessageCreation()
Details of the message creation by the run step. final ToolCallDeltaObject
asToolCalls()
Details of the tool call. final Optional<JsonValue>
_json()
final <T extends Any> T
accept(RunStepDelta.StepDetails.Visitor<T> visitor)
final RunStepDelta.StepDetails
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RunStepDelta.StepDetails
ofMessageCreation(RunStepDeltaMessageDelta messageCreation)
Details of the message creation by the run step. final static RunStepDelta.StepDetails
ofToolCalls(ToolCallDeltaObject toolCalls)
Details of the tool call. -
-
Method Detail
-
messageCreation
final Optional<RunStepDeltaMessageDelta> messageCreation()
Details of the message creation by the run step.
-
toolCalls
final Optional<ToolCallDeltaObject> toolCalls()
Details of the tool call.
-
isMessageCreation
final Boolean isMessageCreation()
-
isToolCalls
final Boolean isToolCalls()
-
asMessageCreation
final RunStepDeltaMessageDelta asMessageCreation()
Details of the message creation by the run step.
-
asToolCalls
final ToolCallDeltaObject asToolCalls()
Details of the tool call.
-
accept
final <T extends Any> T accept(RunStepDelta.StepDetails.Visitor<T> visitor)
-
validate
final RunStepDelta.StepDetails validate()
-
ofMessageCreation
final static RunStepDelta.StepDetails ofMessageCreation(RunStepDeltaMessageDelta messageCreation)
Details of the message creation by the run step.
-
ofToolCalls
final static RunStepDelta.StepDetails ofToolCalls(ToolCallDeltaObject toolCalls)
Details of the tool call.
-
-
-
-