// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal partial class InternalRealtimeResponseError
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        internal InternalRealtimeResponseError(string type, string message)
        {
            Argument.AssertNotNull(type, nameof(type));
            Argument.AssertNotNull(message, nameof(message));

            Type = type;
            Message = message;
        }

        internal InternalRealtimeResponseError(string type, string code, string message, string param, string eventId, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Type = type;
            Code = code;
            Message = message;
            Param = param;
            EventId = eventId;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalRealtimeResponseError()
        {
        }

        public string Type { get; }
        public string Code { get; }
        public string Message { get; }
        public string Param { get; }
        public string EventId { get; }
    }
}
