// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        private protected ResponseItem(InternalResponsesItemType @type)
        {
            Type = @type;
        }

        internal ResponseItem(InternalResponsesItemType @type, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Type = @type;
            Id = id;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal InternalResponsesItemType Type { get; set; }

        public string Id { get; }

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