// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal ConversationTokenUsage()
        {
        }

        internal ConversationTokenUsage(ConversationInputTokenUsageDetails inputTokenDetails, ConversationOutputTokenUsageDetails outputTokenDetails, int inputTokenCount, int outputTokenCount, int totalTokenCount, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            InputTokenDetails = inputTokenDetails;
            OutputTokenDetails = outputTokenDetails;
            InputTokenCount = inputTokenCount;
            OutputTokenCount = outputTokenCount;
            TotalTokenCount = totalTokenCount;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public ConversationInputTokenUsageDetails InputTokenDetails { get; }

        public ConversationOutputTokenUsageDetails OutputTokenDetails { get; }

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