// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

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

        internal InternalMessageDeltaContentRefusalObject()
        {
        }

        public int Index { get; }
        public string Refusal { get; }
    }
}
