// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal StreamingResponseOutputItemAddedUpdate(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary<string, BinaryData> additionalBinaryDataProperties, int outputIndex, ResponseItem item) : base(kind, sequenceNumber, additionalBinaryDataProperties)
        {
            OutputIndex = outputIndex;
            Item = item;
        }

        public int OutputIndex { get; }

        public ResponseItem Item { get; }
    }
}
