// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;
using OpenAI.Graders;

namespace OpenAI.Evals
{
    internal partial class InternalEvalGraderPythonParams : InternalEvalGraderParams
    {
        public InternalEvalGraderPythonParams(string name, string source) : base(InternalGraderType.Python)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(source, nameof(source));

            Name = name;
            Source = source;
        }

        internal InternalEvalGraderPythonParams(InternalGraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string source, string imageTag, float? passThreshold) : base(kind, additionalBinaryDataProperties)
        {
            Name = name;
            Source = source;
            ImageTag = imageTag;
            PassThreshold = passThreshold;
        }

        public string Name { get; }

        public string Source { get; }

        public string ImageTag { get; set; }

        public float? PassThreshold { get; set; }
    }
}
