// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    internal partial class InternalMessageContentTextAnnotationsFileCitationObject : InternalMessageContentTextObjectAnnotation
    {
        internal InternalMessageContentTextAnnotationsFileCitationObject(string text, InternalMessageContentTextAnnotationsFileCitationObjectFileCitation fileCitation, int startIndex, int endIndex) : base(InternalMessageContentTextAnnotationType.FileCitation)
        {
            Argument.AssertNotNull(text, nameof(text));
            Argument.AssertNotNull(fileCitation, nameof(fileCitation));

            Text = text;
            FileCitation = fileCitation;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        internal InternalMessageContentTextAnnotationsFileCitationObject(InternalMessageContentTextAnnotationType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string text, InternalMessageContentTextAnnotationsFileCitationObjectFileCitation fileCitation, int startIndex, int endIndex) : base(kind, additionalBinaryDataProperties)
        {
            Text = text;
            FileCitation = fileCitation;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        public string Text { get; set; }

        internal InternalMessageContentTextAnnotationsFileCitationObjectFileCitation FileCitation { get; set; }

        public int StartIndex { get; set; }

        public int EndIndex { get; set; }
    }
}
