openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI.Responses/src/Generated/Models/ApplyPatchCallOutputItem.cs
40lines · modecode
| 1 | // <auto-generated/> |
| 2 | |
| 3 | #nullable disable |
| 4 | |
| 5 | using System.ClientModel.Primitives; |
| 6 | using System.Diagnostics.CodeAnalysis; |
| 7 | using OpenAI; |
| 8 | |
| 9 | namespace OpenAI.Responses |
| 10 | { |
| 11 | [Experimental("OPENAI001")] |
| 12 | public partial class ApplyPatchCallOutputItem : ResponseItem |
| 13 | { |
| 14 | public ApplyPatchCallOutputItem(string callId, ApplyPatchCallOutputStatus status) : base(ResponseItemKind.ApplyPatchCallOutput) |
| 15 | { |
| 16 | Argument.AssertNotNull(callId, nameof(callId)); |
| 17 | |
| 18 | CallId = callId; |
| 19 | Status = status; |
| 20 | } |
| 21 | |
| 22 | #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. |
| 23 | internal ApplyPatchCallOutputItem(ResponseItemKind kind, string id, in JsonPatch patch, string callId, ApplyPatchCallOutputStatus status, string output, string createdBy) : base(kind, id, patch) |
| 24 | { |
| 25 | CallId = callId; |
| 26 | Status = status; |
| 27 | Output = output; |
| 28 | CreatedBy = createdBy; |
| 29 | } |
| 30 | #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. |
| 31 | |
| 32 | public string CallId { get; set; } |
| 33 | |
| 34 | public ApplyPatchCallOutputStatus Status { get; set; } |
| 35 | |
| 36 | public string Output { get; set; } |
| 37 | |
| 38 | public string CreatedBy { get; set; } |
| 39 | } |
| 40 | } |