// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Responses
{
    public partial class StreamingResponseRefusalDoneUpdate : StreamingResponseUpdate
    {
        internal StreamingResponseRefusalDoneUpdate(string itemId, int outputIndex, int contentIndex, string refusal) : base(InternalResponsesResponseStreamEventType.ResponseRefusalDone)
        {
            ItemId = itemId;
            OutputIndex = outputIndex;
            ContentIndex = contentIndex;
            Refusal = refusal;
        }

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

        public string ItemId { get; }

        public int OutputIndex { get; }

        public int ContentIndex { get; }

        public string Refusal { get; }
    }
}
