// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    internal abstract partial class InternalRealtimeClientEvent
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        private protected InternalRealtimeClientEvent(InternalRealtimeClientEventType kind)
        {
            Kind = kind;
        }

        internal InternalRealtimeClientEvent(InternalRealtimeClientEventType kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            EventId = eventId;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalRealtimeClientEventType Kind { get; set; }

        public string EventId { get; set; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
