// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal partial class InternalRealtimeResponseCancelledStatusDetails : InternalRealtimeResponseStatusDetails
    {
        internal InternalRealtimeResponseCancelledStatusDetails(InternalRealtimeResponseCancelledStatusDetailsReason reason)
        {
            Type = ConversationStatus.Cancelled;
            Reason = reason;
        }

        internal InternalRealtimeResponseCancelledStatusDetails(ConversationStatus type, IDictionary<string, BinaryData> serializedAdditionalRawData, InternalRealtimeResponseCancelledStatusDetailsReason reason) : base(type, serializedAdditionalRawData)
        {
            Reason = reason;
        }

        internal InternalRealtimeResponseCancelledStatusDetails()
        {
        }

        public InternalRealtimeResponseCancelledStatusDetailsReason Reason { get; }
    }
}
