// <auto-generated/>

#nullable disable

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

namespace OpenAI.Assistants
{
    internal partial class InternalMessageContentTextAnnotationsFilePathObject : InternalMessageContentTextObjectAnnotation
    {
        internal InternalMessageContentTextAnnotationsFilePathObject(string text, InternalMessageContentTextAnnotationsFilePathObjectFilePath filePath, int startIndex, int endIndex) : base(InternalMessageContentTextAnnotationType.FilePath)
        {
            Argument.AssertNotNull(text, nameof(text));
            Argument.AssertNotNull(filePath, nameof(filePath));

            Text = text;
            FilePath = filePath;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        internal InternalMessageContentTextAnnotationsFilePathObject(InternalMessageContentTextAnnotationType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string text, InternalMessageContentTextAnnotationsFilePathObjectFilePath filePath, int startIndex, int endIndex) : base(kind, additionalBinaryDataProperties)
        {
            Text = text;
            FilePath = filePath;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        public string Text { get; set; }

        internal InternalMessageContentTextAnnotationsFilePathObjectFilePath FilePath { get; set; }

        public int StartIndex { get; set; }

        public int EndIndex { get; set; }
    }
}
