// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    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; }
    }
}
