openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/Models/FineTuning/FineTuningEvent.cs
52lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | using System.Diagnostics.CodeAnalysis; |
| 8 | |
| 9 | namespace OpenAI.FineTuning |
| 10 | { |
| 11 | [Experimental("OPENAI001")] |
| 12 | public partial class FineTuningEvent |
| 13 | { |
| 14 | private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties; |
| 15 | |
| 16 | internal FineTuningEvent(string id, DateTimeOffset createdAt, string message, string level) |
| 17 | { |
| 18 | Id = id; |
| 19 | CreatedAt = createdAt; |
| 20 | Message = message; |
| 21 | Level = level; |
| 22 | } |
| 23 | |
| 24 | internal FineTuningEvent(string id, DateTimeOffset createdAt, string message, FineTuningJobEventKind? kind, BinaryData data, string level, string @object, IDictionary<string, BinaryData> additionalBinaryDataProperties) |
| 25 | { |
| 26 | Id = id; |
| 27 | CreatedAt = createdAt; |
| 28 | Message = message; |
| 29 | Kind = kind; |
| 30 | Data = data; |
| 31 | Level = level; |
| 32 | _object = @object; |
| 33 | _additionalBinaryDataProperties = additionalBinaryDataProperties; |
| 34 | } |
| 35 | |
| 36 | public string Id { get; } |
| 37 | |
| 38 | public DateTimeOffset CreatedAt { get; } |
| 39 | |
| 40 | public string Message { get; } |
| 41 | |
| 42 | public FineTuningJobEventKind? Kind { get; } |
| 43 | |
| 44 | public BinaryData Data { get; } |
| 45 | |
| 46 | internal IDictionary<string, BinaryData> SerializedAdditionalRawData |
| 47 | { |
| 48 | get => _additionalBinaryDataProperties; |
| 49 | set => _additionalBinaryDataProperties = value; |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |