openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/Models/Graders/GraderPython.cs
37lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | using System.Diagnostics.CodeAnalysis; |
| 8 | using OpenAI; |
| 9 | |
| 10 | namespace OpenAI.Graders |
| 11 | { |
| 12 | [Experimental("OPENAI001")] |
| 13 | public partial class GraderPython : Grader |
| 14 | { |
| 15 | public GraderPython(string name, string source) : base(GraderType.Python) |
| 16 | { |
| 17 | Argument.AssertNotNull(name, nameof(name)); |
| 18 | Argument.AssertNotNull(source, nameof(source)); |
| 19 | |
| 20 | Name = name; |
| 21 | Source = source; |
| 22 | } |
| 23 | |
| 24 | internal GraderPython(GraderType kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string source, string imageTag) : base(kind, additionalBinaryDataProperties) |
| 25 | { |
| 26 | Name = name; |
| 27 | Source = source; |
| 28 | ImageTag = imageTag; |
| 29 | } |
| 30 | |
| 31 | public string Name { get; set; } |
| 32 | |
| 33 | public string Source { get; set; } |
| 34 | |
| 35 | public string ImageTag { get; set; } |
| 36 | } |
| 37 | } |
| 38 | |