// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    internal partial class InternalResponsesOutputTextContentPart : ResponseContentPart
    {
        public InternalResponsesOutputTextContentPart(IEnumerable<ResponseMessageAnnotation> annotations, string internalText) : base(InternalResponsesContentType.OutputText)
        {
            Argument.AssertNotNull(annotations, nameof(annotations));
            Argument.AssertNotNull(internalText, nameof(internalText));

            Annotations = annotations.ToList();
            InternalText = internalText;
        }

        internal InternalResponsesOutputTextContentPart(InternalResponsesContentType internalType, IDictionary<string, BinaryData> additionalBinaryDataProperties, IList<ResponseMessageAnnotation> annotations, string internalText) : base(internalType, additionalBinaryDataProperties)
        {
            Annotations = annotations;
            InternalText = internalText;
        }

        public IList<ResponseMessageAnnotation> Annotations { get; }
    }
}
