// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaContentRefusalObject : InternalMessageDeltaContent
    {
        internal InternalMessageDeltaContentRefusalObject(int index) : base("refusal")
        {
            Index = index;
        }

        internal InternalMessageDeltaContentRefusalObject(string @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, int index, string refusal) : base(@type, additionalBinaryDataProperties)
        {
            Index = index;
            Refusal = refusal;
        }

        public int Index { get; }

        public string Refusal { get; }
    }
}
