// <auto-generated/>

#nullable disable

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

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class InputAudioCommittedUpdate : RealtimeUpdate
    {
        internal InputAudioCommittedUpdate(string previousItemId, string itemId) : base(RealtimeUpdateKind.InputAudioCommitted)
        {
            PreviousItemId = previousItemId;
            ItemId = itemId;
        }

        internal InputAudioCommittedUpdate(RealtimeUpdateKind kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, string previousItemId, string itemId) : base(kind, eventId, additionalBinaryDataProperties)
        {
            PreviousItemId = previousItemId;
            ItemId = itemId;
        }

        public string PreviousItemId { get; }

        public string ItemId { get; }
    }
}
