// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    public partial class RealtimeUpdate
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        private protected RealtimeUpdate(RealtimeUpdateKind kind)
        {
            Kind = kind;
        }

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

        public RealtimeUpdateKind Kind { get; }

        public string EventId { get; }

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