// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        private protected InternalRealtimeResponseItem(InternalRealtimeItemType kind, string id)
        {
            Kind = kind;
            Id = id;
        }

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

        public string Object { get; } = "realtime.item";

        internal InternalRealtimeItemType Kind { get; set; }

        public string Id { get; }

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