Package com.openai.models.responses
        Class ResponseCodeInterpreterToolCall.Output
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCodeInterpreterToolCall.OutputThe logs output from the code interpreter.
 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseCodeInterpreterToolCall.Output.VisitorAn interface that defines how to map each variant of Output to a value of type T.
public final classResponseCodeInterpreterToolCall.Output.LogsThe logs output from the code interpreter.
public final classResponseCodeInterpreterToolCall.Output.ImageThe image output from the code interpreter.
 
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
logs
final Optional<ResponseCodeInterpreterToolCall.Output.Logs> logs()
The logs output from the code interpreter.
 
- 
                                        
image
final Optional<ResponseCodeInterpreterToolCall.Output.Image> image()
The image output from the code interpreter.
 
- 
                                        
asLogs
final ResponseCodeInterpreterToolCall.Output.Logs asLogs()
The logs output from the code interpreter.
 
- 
                                        
asImage
final ResponseCodeInterpreterToolCall.Output.Image asImage()
The image output from the code interpreter.
 
- 
                                        
accept
final <T extends Any> T accept(ResponseCodeInterpreterToolCall.Output.Visitor<T> visitor)
 
- 
                                        
validate
final ResponseCodeInterpreterToolCall.Output validate()
 
- 
                                        
ofLogs
final static ResponseCodeInterpreterToolCall.Output ofLogs(ResponseCodeInterpreterToolCall.Output.Logs logs)
The logs output from the code interpreter.
 
- 
                                        
ofImage
final static ResponseCodeInterpreterToolCall.Output ofImage(ResponseCodeInterpreterToolCall.Output.Image image)
The image output from the code interpreter.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -