openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
achandmsft-patch-2

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Generated/Models/Graders/GraderPython.cs

37lines · modepreview

// <auto-generated/>

#nullable disable

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

namespace OpenAI.Graders
{
    [Experimental("OPENAI001")]
    public partial class GraderPython : Grader
    {
        public GraderPython(string name, string source) : base(GraderType.Python)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(source, nameof(source));

            Name = name;
            Source = source;
        }

        internal GraderPython(GraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string source, string imageTag) : base(kind, additionalBinaryDataProperties)
        {
            Name = name;
            Source = source;
            ImageTag = imageTag;
        }

        public string Name { get; set; }

        public string Source { get; set; }

        public string ImageTag { get; set; }
    }
}