// #nullable disable using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Responses { [Experimental("OPENAI001")] public partial class ApplyPatchCreateFileOperation : ApplyPatchOperation { public ApplyPatchCreateFileOperation(string filePath, string diff) : base(InternalApplyPatchOperationType.CreateFile) { Argument.AssertNotNull(filePath, nameof(filePath)); Argument.AssertNotNull(diff, nameof(diff)); FilePath = filePath; Diff = diff; } #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. internal ApplyPatchCreateFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string filePath, string diff) : base(kind, patch) { FilePath = filePath; Diff = diff; } #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. public string Diff { get; set; } } }