using Microsoft.TypeSpec.Generator.Customizations;
namespace OpenAI.Assistants;
[CodeGenType("RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject")]
public partial class RunStepUpdateCodeInterpreterOutput
{
///
public int OutputIndex => AsLogs?.Index ?? AsImage?.Index ?? 0;
///
public string Logs => AsLogs?.InternalLogs;
///
public string ImageFileId => AsImage?.Image?.FileId;
private InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject AsLogs
=> this as InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject;
private InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject AsImage
=> this as InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject;
}