// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    internal partial class MessageContentTextObjectText
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        public MessageContentTextObjectText(string value, IEnumerable<MessageContentTextObjectAnnotation> annotations)
        {
            Argument.AssertNotNull(value, nameof(value));
            Argument.AssertNotNull(annotations, nameof(annotations));

            Value = value;
            Annotations = annotations.ToList();
        }

        internal MessageContentTextObjectText(string value, IList<MessageContentTextObjectAnnotation> annotations, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Value = value;
            Annotations = annotations;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal MessageContentTextObjectText()
        {
        }

        public string Value { get; set; }
        public IList<MessageContentTextObjectAnnotation> Annotations { get; }
    }
}
