// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    public partial class ConversationRateLimitDetailsItem
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal ConversationRateLimitDetailsItem(string name, int maximumCount, int remainingCount, TimeSpan timeUntilReset)
        {
            Name = name;
            MaximumCount = maximumCount;
            RemainingCount = remainingCount;
            TimeUntilReset = timeUntilReset;
        }

        internal ConversationRateLimitDetailsItem(string name, int maximumCount, int remainingCount, TimeSpan timeUntilReset, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Name = name;
            MaximumCount = maximumCount;
            RemainingCount = remainingCount;
            TimeUntilReset = timeUntilReset;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Name { get; }

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