// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal partial class RealtimeResponseFailedStatusDetails : InternalRealtimeResponseStatusDetails
    {
        internal RealtimeResponseFailedStatusDetails(BinaryData error)
        {
            Argument.AssertNotNull(error, nameof(error));

            Type = ConversationStatus.Failed;
            Error = error;
        }

        internal RealtimeResponseFailedStatusDetails(ConversationStatus type, IDictionary<string, BinaryData> serializedAdditionalRawData, BinaryData error) : base(type, serializedAdditionalRawData)
        {
            Error = error;
        }

        internal RealtimeResponseFailedStatusDetails()
        {
        }

        public BinaryData Error { get; }
    }
}
