// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseTextAnnotationAddedUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseTextAnnotationAddedUpdate(string itemId, int outputIndex, int contentIndex, ResponseMessageAnnotation annotation) : base(InternalResponsesResponseStreamEventType.ResponseOutputTextAnnotationAdded)
        {
            ItemId = itemId;
            OutputIndex = outputIndex;
            ContentIndex = contentIndex;
            Annotation = annotation;
        }

        internal StreamingResponseTextAnnotationAddedUpdate(InternalResponsesResponseStreamEventType @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int outputIndex, int contentIndex, ResponseMessageAnnotation annotation) : base(@type, additionalBinaryDataProperties)
        {
            ItemId = itemId;
            OutputIndex = outputIndex;
            ContentIndex = contentIndex;
            Annotation = annotation;
        }

        public string ItemId { get; }

        public int OutputIndex { get; }

        public int ContentIndex { get; }

        public ResponseMessageAnnotation Annotation { get; }
    }
}
