// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    public partial class MessageFailureDetails
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        internal MessageFailureDetails(MessageFailureReason reason)
        {
            Reason = reason;
        }

        internal MessageFailureDetails(MessageFailureReason reason, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Reason = reason;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal MessageFailureDetails()
        {
        }

        public MessageFailureReason Reason { get; }
    }
}
