// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

            Type = type;
            Message = message;
        }

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

        internal InternalRealtimeResponseApiError()
        {
        }

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