// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class MessageDeltaContentTextObject : MessageDeltaContent
    {
        internal MessageDeltaContentTextObject(int index)
        {
            Type = "text";
            Index = index;
        }

        internal MessageDeltaContentTextObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, int index, MessageDeltaContentTextObjectText text) : base(type, serializedAdditionalRawData)
        {
            Index = index;
            Text = text;
        }

        internal MessageDeltaContentTextObject()
        {
        }

        public int Index { get; }
        public MessageDeltaContentTextObjectText Text { get; }
    }
}
