// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalEvalRunPerTestingCriteriaResult(string testingCriteria, int passed, int failed)
        {
            TestingCriteria = testingCriteria;
            Passed = passed;
            Failed = failed;
        }

        internal InternalEvalRunPerTestingCriteriaResult(string testingCriteria, int passed, int failed, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            TestingCriteria = testingCriteria;
            Passed = passed;
            Failed = failed;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string TestingCriteria { get; }

        public int Passed { get; }

        public int Failed { get; }

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