Class CodeInterpreterToolCallDelta.CodeInterpreter.Output
- 
                    
                    
- All Implemented Interfaces:
 
public final class CodeInterpreterToolCallDelta.CodeInterpreter.OutputText output from the Code Interpreter tool call as part of a run step.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCodeInterpreterToolCallDelta.CodeInterpreter.Output.VisitorAn interface that defines how to map each variant of Output to a value of type T.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<CodeInterpreterLogs>logs()Text output from the Code Interpreter tool call as part of a run step. final Optional<CodeInterpreterOutputImage>image()final BooleanisLogs()final BooleanisImage()final CodeInterpreterLogsasLogs()Text output from the Code Interpreter tool call as part of a run step. final CodeInterpreterOutputImageasImage()final Optional<JsonValue>_json()final <T extends Any> Taccept(CodeInterpreterToolCallDelta.CodeInterpreter.Output.Visitor<T> visitor)final CodeInterpreterToolCallDelta.CodeInterpreter.Outputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterToolCallDelta.CodeInterpreter.OutputofLogs(CodeInterpreterLogs logs)Text output from the Code Interpreter tool call as part of a run step. final static CodeInterpreterToolCallDelta.CodeInterpreter.OutputofImage(CodeInterpreterOutputImage image)- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
logs
final Optional<CodeInterpreterLogs> logs()
Text output from the Code Interpreter tool call as part of a run step.
 
- 
                                        
image
final Optional<CodeInterpreterOutputImage> image()
 
- 
                                        
asLogs
final CodeInterpreterLogs asLogs()
Text output from the Code Interpreter tool call as part of a run step.
 
- 
                                        
asImage
final CodeInterpreterOutputImage asImage()
 
- 
                                        
accept
final <T extends Any> T accept(CodeInterpreterToolCallDelta.CodeInterpreter.Output.Visitor<T> visitor)
 
- 
                                        
validate
final CodeInterpreterToolCallDelta.CodeInterpreter.Output validate()
 
- 
                                        
ofLogs
final static CodeInterpreterToolCallDelta.CodeInterpreter.Output ofLogs(CodeInterpreterLogs logs)
Text output from the Code Interpreter tool call as part of a run step.
 
- 
                                        
ofImage
final static CodeInterpreterToolCallDelta.CodeInterpreter.Output ofImage(CodeInterpreterOutputImage image)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -