// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal StreamingResponseOutputItemAddedUpdate(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; }
    }
}
