// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal RunStepError(RunStepErrorCode code, string message)
        {
            Argument.AssertNotNull(message, nameof(message));

            Code = code;
            Message = message;
        }

        internal RunStepError(RunStepErrorCode code, string message, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Code = code;
            Message = message;
            _serializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal RunStepError()
        {
        }

        public RunStepErrorCode Code { get; }
        public string Message { get; }
    }
}
