// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        private protected ConversationUpdate(string eventId, ConversationUpdateKind kind)
        {
            EventId = eventId;
            Kind = kind;
        }

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

        public string EventId { get; }

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