// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseOutputItemDoneUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseOutputItemDoneUpdate(int outputIndex, ResponseItem item) : base(InternalResponsesResponseStreamEventType.ResponseOutputItemDone)
        {
            OutputIndex = outputIndex;
            Item = item;
        }

        internal StreamingResponseOutputItemDoneUpdate(InternalResponsesResponseStreamEventType @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, int outputIndex, ResponseItem item) : base(@type, additionalBinaryDataProperties)
        {
            OutputIndex = outputIndex;
            Item = item;
        }

        public int OutputIndex { get; }

        public ResponseItem Item { get; }
    }
}
