// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalRequestMessageTextContent : MessageContent
    {
        public InternalRequestMessageTextContent(string internalText)
        {
            Argument.AssertNotNull(internalText, nameof(internalText));

            InternalText = internalText;
        }

        internal InternalRequestMessageTextContent(IDictionary<string, BinaryData> serializedAdditionalRawData, InternalMessageRequestContentTextObjectType type, string internalText) : base(serializedAdditionalRawData)
        {
            Type = type;
            InternalText = internalText;
        }

        internal InternalRequestMessageTextContent()
        {
        }

        public InternalMessageRequestContentTextObjectType Type { get; } = InternalMessageRequestContentTextObjectType.Text;
    }
}
