// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Evals
{
    internal partial class InternalEvalRunOutputItemSampleUsage
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal InternalEvalRunOutputItemSampleUsage(int totalTokens, int completionTokens, int promptTokens, int cachedTokens)
        {
            TotalTokens = totalTokens;
            CompletionTokens = completionTokens;
            PromptTokens = promptTokens;
            CachedTokens = cachedTokens;
        }

        internal InternalEvalRunOutputItemSampleUsage(int totalTokens, int completionTokens, int promptTokens, int cachedTokens, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            TotalTokens = totalTokens;
            CompletionTokens = completionTokens;
            PromptTokens = promptTokens;
            CachedTokens = cachedTokens;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public int TotalTokens { get; }

        public int CompletionTokens { get; }

        public int PromptTokens { get; }

        public int CachedTokens { get; }

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