// <auto-generated/>

#nullable disable

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

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

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

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

        public string Text { get; set; }

        public InternalMessageContentTextAnnotationsFileCitationObjectFileCitation FileCitation { get; set; }

        public int StartIndex { get; set; }

        public int EndIndex { get; set; }
    }
}
