// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal abstract partial class InternalRealtimeResponseItem
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        protected InternalRealtimeResponseItem(string id)
        {
            Id = id;
        }

        internal InternalRealtimeResponseItem(InternalRealtimeResponseItemObject @object, InternalRealtimeRequestItemType type, string id, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Object = @object;
            Type = type;
            Id = id;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalRealtimeResponseItem()
        {
        }

        public InternalRealtimeResponseItemObject Object { get; } = InternalRealtimeResponseItemObject.RealtimeItem;

        internal InternalRealtimeRequestItemType Type { get; set; }
        public string Id { get; }
    }
}
