// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    public partial class ConversationInputTokenUsageDetails
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        internal ConversationInputTokenUsageDetails(int cachedTokens, int textTokens, int audioTokens)
        {
            CachedTokens = cachedTokens;
            TextTokens = textTokens;
            AudioTokens = audioTokens;
        }

        internal ConversationInputTokenUsageDetails(int cachedTokens, int textTokens, int audioTokens, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            CachedTokens = cachedTokens;
            TextTokens = textTokens;
            AudioTokens = audioTokens;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal ConversationInputTokenUsageDetails()
        {
        }

        public int CachedTokens { get; }
        public int TextTokens { get; }
        public int AudioTokens { get; }
    }
}
