// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class MessageContentTextAnnotationsFilePathObject : MessageContentTextObjectAnnotation
    {
        public MessageContentTextAnnotationsFilePathObject(string text, InternalMessageContentTextAnnotationsFilePathObjectFilePath filePath, int startIndex, int endIndex)
        {
            Argument.AssertNotNull(text, nameof(text));
            Argument.AssertNotNull(filePath, nameof(filePath));

            Type = "file_path";
            Text = text;
            FilePath = filePath;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        internal MessageContentTextAnnotationsFilePathObject(string type, IDictionary<string, BinaryData> serializedAdditionalRawData, string text, InternalMessageContentTextAnnotationsFilePathObjectFilePath filePath, int startIndex, int endIndex) : base(type, serializedAdditionalRawData)
        {
            Text = text;
            FilePath = filePath;
            StartIndex = startIndex;
            EndIndex = endIndex;
        }

        internal MessageContentTextAnnotationsFilePathObject()
        {
        }

        public string Text { get; init; }
        public InternalMessageContentTextAnnotationsFilePathObjectFilePath FilePath { get; init; }
        public int StartIndex { get; init; }
        public int EndIndex { get; init; }
    }
}
