// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

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

        public string ItemId { get; }

        public int OutputIndex { get; }
    }
}
