openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Generated/Models/Batch/InternalBatchError.cs
41lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System; |
| 6 | using System.Collections.Generic; |
| 7 | |
| 8 | namespace OpenAI.Batch |
| 9 | { |
| 10 | internal partial class InternalBatchError |
| 11 | { |
| 12 | private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties; |
| 13 | |
| 14 | internal InternalBatchError() |
| 15 | { |
| 16 | } |
| 17 | |
| 18 | internal InternalBatchError(string code, string message, string @param, int? line, IDictionary<string, BinaryData> additionalBinaryDataProperties) |
| 19 | { |
| 20 | Code = code; |
| 21 | Message = message; |
| 22 | Param = @param; |
| 23 | Line = line; |
| 24 | _additionalBinaryDataProperties = additionalBinaryDataProperties; |
| 25 | } |
| 26 | |
| 27 | public string Code { get; } |
| 28 | |
| 29 | public string Message { get; } |
| 30 | |
| 31 | public string Param { get; } |
| 32 | |
| 33 | public int? Line { get; } |
| 34 | |
| 35 | internal IDictionary<string, BinaryData> SerializedAdditionalRawData |
| 36 | { |
| 37 | get => _additionalBinaryDataProperties; |
| 38 | set => _additionalBinaryDataProperties = value; |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | |