// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class OutputStreamingFinishedUpdate : RealtimeUpdate
    {
        internal OutputStreamingFinishedUpdate(string responseId, int outputIndex, InternalRealtimeResponseItem internalItem) : base(RealtimeUpdateKind.ItemStreamingFinished)
        {
            ResponseId = responseId;
            OutputIndex = outputIndex;
            _internalItem = internalItem;
        }

        internal OutputStreamingFinishedUpdate(RealtimeUpdateKind kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, string responseId, int outputIndex, InternalRealtimeResponseItem internalItem) : base(kind, eventId, additionalBinaryDataProperties)
        {
            ResponseId = responseId;
            OutputIndex = outputIndex;
            _internalItem = internalItem;
        }

        public string ResponseId { get; }

        public int OutputIndex { get; }
    }
}
