// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using OpenAI;

namespace OpenAI.Responses
{
    [Experimental("OPENAI001")]
    public partial class ReasoningResponseItem : ResponseItem
    {
        internal ReasoningResponseItem(string id, IEnumerable<ReasoningSummaryPart> summaryParts) : base(InternalItemType.Reasoning, id)
        {
            SummaryParts = summaryParts.ToList();
        }

        internal ReasoningResponseItem(InternalItemType kind, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties, string encryptedContent, IReadOnlyList<ReasoningSummaryPart> summaryParts) : base(kind, id, additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            EncryptedContent = encryptedContent;
            SummaryParts = summaryParts ?? new ChangeTrackingList<ReasoningSummaryPart>();
        }

        public string EncryptedContent { get; }
    }
}
