// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Images
{
    [Experimental("OPENAI001")]
    public partial class ImageInputTokenUsageDetails
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal ImageInputTokenUsageDetails(int textTokenCount, int imageTokenCount)
        {
            TextTokenCount = textTokenCount;
            ImageTokenCount = imageTokenCount;
        }

        internal ImageInputTokenUsageDetails(int textTokenCount, int imageTokenCount, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            TextTokenCount = textTokenCount;
            ImageTokenCount = imageTokenCount;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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