// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class MessageDeltaContentTextAnnotationsFileCitationObject : MessageDeltaTextContentAnnotation
    {
        internal MessageDeltaContentTextAnnotationsFileCitationObject(int index)
        {
            Type = "file_citation";
            Index = index;
        }

        internal MessageDeltaContentTextAnnotationsFileCitationObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, int index, string text, MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation fileCitation, int? startIndex, int? endIndex) : base(type, serializedAdditionalRawData)
        {
            Index = index;
            Text = text;
            FileCitation = fileCitation;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        internal MessageDeltaContentTextAnnotationsFileCitationObject()
        {
        }

        public int Index { get; }
        public string Text { get; }
        public MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation FileCitation { get; }
        public int? StartIndex { get; }
        public int? EndIndex { get; }
    }
}
