// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseOutputTextDoneUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseOutputTextDoneUpdate(string itemId, int outputIndex, int contentIndex, string text) : base(InternalResponsesResponseStreamEventType.ResponseOutputTextDone)
        {
            ItemId = itemId;
            OutputIndex = outputIndex;
            ContentIndex = contentIndex;
            Text = text;
        }

        internal StreamingResponseOutputTextDoneUpdate(InternalResponsesResponseStreamEventType @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int outputIndex, int contentIndex, string text) : base(@type, additionalBinaryDataProperties)
        {
            ItemId = itemId;
            OutputIndex = outputIndex;
            ContentIndex = contentIndex;
            Text = text;
        }

        public string ItemId { get; }

        public int OutputIndex { get; }

        public int ContentIndex { get; }

        public string Text { get; }
    }
}
