// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    public partial class RealtimeErrorUpdate : RealtimeUpdate
    {
        internal RealtimeErrorUpdate(InternalRealtimeServerEventErrorError error) : base(RealtimeUpdateKind.Error)
        {
            _error = error;
        }

        internal RealtimeErrorUpdate(RealtimeUpdateKind kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, InternalRealtimeServerEventErrorError error) : base(kind, eventId, additionalBinaryDataProperties)
        {
            _error = error;
        }
    }
}
