// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Linq;

namespace OpenAI.RealtimeConversation
{
    public partial class ConversationRateLimitsUpdate : ConversationUpdate
    {
        internal ConversationRateLimitsUpdate(string eventId, IEnumerable<ConversationRateLimitDetailsItem> allDetails) : base(eventId, ConversationUpdateKind.RateLimitsUpdated)
        {
            AllDetails = allDetails.ToList();
        }

        internal ConversationRateLimitsUpdate(string eventId, ConversationUpdateKind kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, IReadOnlyList<ConversationRateLimitDetailsItem> allDetails) : base(eventId, kind, additionalBinaryDataProperties)
        {
            AllDetails = allDetails;
        }
    }
}
