// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaContentTextObject : InternalMessageDeltaContent
    {
        internal InternalMessageDeltaContentTextObject(int index) : base(InternalMessageContentType.Text)
        {
            Index = index;
        }

        internal InternalMessageDeltaContentTextObject(InternalMessageContentType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, int index, InternalMessageDeltaContentTextObjectText text) : base(kind, additionalBinaryDataProperties)
        {
            Index = index;
            Text = text;
        }

        public int Index { get; }

        internal InternalMessageDeltaContentTextObjectText Text { get; }
    }
}
