// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal RunTokenUsage(int outputTokenCount, int inputTokenCount, int totalTokenCount)
        {
            OutputTokenCount = outputTokenCount;
            InputTokenCount = inputTokenCount;
            TotalTokenCount = totalTokenCount;
        }

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

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