// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaContentTextAnnotationsFileCitationObject : InternalMessageDeltaTextContentAnnotation
    {
        internal InternalMessageDeltaContentTextAnnotationsFileCitationObject(int index) : base("file_citation")
        {
            Index = index;
        }

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

        public int Index { get; }

        public string Text { get; }

        public InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation FileCitation { get; }

        public int? StartIndex { get; }

        public int? EndIndex { get; }
    }
}
