// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    internal partial class InternalResponseCodeInterpreterCallCodeDoneEvent : StreamingResponseUpdate
    {
        internal InternalResponseCodeInterpreterCallCodeDoneEvent(int sequenceNumber, int outputIndex, string code) : base(InternalResponseStreamEventType.ResponseCodeInterpreterCallCodeDone, sequenceNumber)
        {
            OutputIndex = outputIndex;
            Code = code;
        }

        internal InternalResponseCodeInterpreterCallCodeDoneEvent(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary<string, BinaryData> additionalBinaryDataProperties, int outputIndex, string code) : base(kind, sequenceNumber, additionalBinaryDataProperties)
        {
            OutputIndex = outputIndex;
            Code = code;
        }

        public int OutputIndex { get; }

        public string Code { get; }
    }
}
