openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI.Responses/src/Generated/Models/ApplyPatchDeleteFileOperation.cs
28lines · 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 ApplyPatchDeleteFileOperation : ApplyPatchOperation |
| 13 | { |
| 14 | public ApplyPatchDeleteFileOperation(string filePath) : base(InternalApplyPatchOperationType.DeleteFile) |
| 15 | { |
| 16 | Argument.AssertNotNull(filePath, nameof(filePath)); |
| 17 | |
| 18 | FilePath = filePath; |
| 19 | } |
| 20 | |
| 21 | #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. |
| 22 | internal ApplyPatchDeleteFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string filePath) : base(kind, patch) |
| 23 | { |
| 24 | FilePath = filePath; |
| 25 | } |
| 26 | #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. |
| 27 | } |
| 28 | } |
| 29 | |