// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal ResponseTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ResponseOutputTokenUsageDetails outputTokenDetails)
        {
            InputTokenCount = inputTokenCount;
            OutputTokenCount = outputTokenCount;
            TotalTokenCount = totalTokenCount;
            OutputTokenDetails = outputTokenDetails;
        }

        internal ResponseTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ResponseOutputTokenUsageDetails outputTokenDetails, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            InputTokenCount = inputTokenCount;
            OutputTokenCount = outputTokenCount;
            TotalTokenCount = totalTokenCount;
            OutputTokenDetails = outputTokenDetails;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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