// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    internal partial class InternalAnnotationUrlCitation : ResponseMessageAnnotation
    {
        public InternalAnnotationUrlCitation(Uri url, int startIndex, int endIndex, string title) : base(ResponseMessageAnnotationKind.UriCitation)
        {
            Argument.AssertNotNull(url, nameof(url));
            Argument.AssertNotNull(title, nameof(title));

            Url = url;
            StartIndex = startIndex;
            EndIndex = endIndex;
            Title = title;
        }

        internal InternalAnnotationUrlCitation(ResponseMessageAnnotationKind kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, Uri url, int startIndex, int endIndex, string title) : base(kind, additionalBinaryDataProperties)
        {
            Url = url;
            StartIndex = startIndex;
            EndIndex = endIndex;
            Title = title;
        }

        public Uri Url { get; set; }

        public int StartIndex { get; set; }

        public int EndIndex { get; set; }

        public string Title { get; set; }
    }
}
