// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseFailedUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseFailedUpdate(OpenAIResponse response) : base(InternalResponsesResponseStreamEventType.ResponseFailed)
        {
            Response = response;
        }

        internal StreamingResponseFailedUpdate(InternalResponsesResponseStreamEventType @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, OpenAIResponse response) : base(@type, additionalBinaryDataProperties)
        {
            Response = response;
        }

        public OpenAIResponse Response { get; }
    }
}
