// <auto-generated/>

#nullable disable

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

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    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;
        }
    }
}
