// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        private protected RealtimeItem(InternalRealtimeItemType kind)
        {
            Kind = kind;
        }

        internal RealtimeItem(InternalRealtimeItemType kind, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Id = id;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalRealtimeItemType Kind { get; set; }

        public string Id { get; set; }

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