// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalEvalRunResultCounts(int total, int errored, int failed, int passed)
        {
            Total = total;
            Errored = errored;
            Failed = failed;
            Passed = passed;
        }

        internal InternalEvalRunResultCounts(int total, int errored, int failed, int passed, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Total = total;
            Errored = errored;
            Failed = failed;
            Passed = passed;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public int Total { get; }

        public int Errored { get; }

        public int Failed { get; }

        public int Passed { get; }

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