// <auto-generated/>

#nullable disable

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

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class OutputStreamingStartedUpdate : RealtimeUpdate
    {
        internal OutputStreamingStartedUpdate(string responseId, int itemIndex, InternalRealtimeResponseItem internalItem) : base(RealtimeUpdateKind.ItemStreamingStarted)
        {
            ResponseId = responseId;
            ItemIndex = itemIndex;
            _internalItem = internalItem;
        }

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

        public string ResponseId { get; }
    }
}
