// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal StreamingResponseRefusalDoneUpdate(InternalResponseStreamEventType kind, int sequenceNumber, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int outputIndex, int contentIndex, string refusal) : base(kind, sequenceNumber, 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; }
    }
}
