// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    public partial class MessageFailureDetails
    {
        internal IDictionary<string, BinaryData> _serializedAdditionalRawData;

        internal MessageFailureDetails(MessageFailureReason reason)
        {
            Reason = reason;
        }

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

        internal MessageFailureDetails()
        {
        }

        public MessageFailureReason Reason { get; }
    }
}
