// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseWebSearchCallCompletedUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseWebSearchCallCompletedUpdate(int sequenceNumber, int outputIndex, string itemId) : base(InternalResponseStreamEventType.ResponseWebSearchCallCompleted, sequenceNumber)
        {
            OutputIndex = outputIndex;
            ItemId = itemId;
        }

        internal StreamingResponseWebSearchCallCompletedUpdate(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary<string, BinaryData> additionalBinaryDataProperties, int outputIndex, string itemId) : base(kind, sequenceNumber, additionalBinaryDataProperties)
        {
            OutputIndex = outputIndex;
            ItemId = itemId;
        }

        public int OutputIndex { get; }

        public string ItemId { get; }
    }
}
