// <auto-generated/>

#nullable disable

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

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

            InternalText = internalText;
        }

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

        public InternalMessageRequestContentTextObjectType Type { get; } = "text";
    }
}
