// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class ConversationInputTokenUsageDetails
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal ConversationInputTokenUsageDetails()
        {
        }

        internal ConversationInputTokenUsageDetails(int audioTokenCount, int cachedTokenCount, int textTokenCount, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            AudioTokenCount = audioTokenCount;
            CachedTokenCount = cachedTokenCount;
            TextTokenCount = textTokenCount;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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