// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    internal partial class InternalRealtimeServerEventErrorError
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal InternalRealtimeServerEventErrorError(string kind, string message)
        {
            Kind = kind;
            Message = message;
        }

        internal InternalRealtimeServerEventErrorError(string kind, string code, string message, string @param, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Code = code;
            Message = message;
            Param = @param;
            EventId = eventId;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Kind { get; }

        public string Code { get; }

        public string Message { get; }

        public string Param { get; }

        public string EventId { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
