Package com.openai.models
Class RunStep.StepDetails
-
- All Implemented Interfaces:
public final class RunStep.StepDetailsThe details of the run step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRunStep.StepDetails.VisitorAn interface that defines how to map each variant of StepDetails to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<MessageCreationStepDetails>messageCreation()Details of the message creation by the run step. final Optional<ToolCallsStepDetails>toolCalls()Details of the tool call. final BooleanisMessageCreation()final BooleanisToolCalls()final MessageCreationStepDetailsasMessageCreation()Details of the message creation by the run step. final ToolCallsStepDetailsasToolCalls()Details of the tool call. final Optional<JsonValue>_json()final <T extends Any> Taccept(RunStep.StepDetails.Visitor<T> visitor)final RunStep.StepDetailsvalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunStep.StepDetailsofMessageCreation(MessageCreationStepDetails messageCreation)Details of the message creation by the run step. final static RunStep.StepDetailsofToolCalls(ToolCallsStepDetails toolCalls)Details of the tool call. -
-
Method Detail
-
messageCreation
final Optional<MessageCreationStepDetails> messageCreation()
Details of the message creation by the run step.
-
toolCalls
final Optional<ToolCallsStepDetails> toolCalls()
Details of the tool call.
-
isMessageCreation
final Boolean isMessageCreation()
-
isToolCalls
final Boolean isToolCalls()
-
asMessageCreation
final MessageCreationStepDetails asMessageCreation()
Details of the message creation by the run step.
-
asToolCalls
final ToolCallsStepDetails asToolCalls()
Details of the tool call.
-
accept
final <T extends Any> T accept(RunStep.StepDetails.Visitor<T> visitor)
-
validate
final RunStep.StepDetails validate()
-
ofMessageCreation
final static RunStep.StepDetails ofMessageCreation(MessageCreationStepDetails messageCreation)
Details of the message creation by the run step.
-
ofToolCalls
final static RunStep.StepDetails ofToolCalls(ToolCallsStepDetails toolCalls)
Details of the tool call.
-
-
-
-