// <auto-generated/>

#nullable disable

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

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