openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fe4d6cf1ccfea48fa5c2baf67103495ac9b459dd

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

OpenAI.Responses/src/Generated/Models/ApplyPatchCreateFileOperation.cs

33lines · modecode

1// <auto-generated/>
2
3#nullable disable
4
5using System.ClientModel.Primitives;
6using System.Diagnostics.CodeAnalysis;
7using OpenAI;
8
9namespace OpenAI.Responses
10{
11 [Experimental("OPENAI001")]
12 public partial class ApplyPatchCreateFileOperation : ApplyPatchOperation
13 {
14 public ApplyPatchCreateFileOperation(string filePath, string diff) : base(InternalApplyPatchOperationType.CreateFile)
15 {
16 Argument.AssertNotNull(filePath, nameof(filePath));
17 Argument.AssertNotNull(diff, nameof(diff));
18
19 FilePath = filePath;
20 Diff = diff;
21 }
22
23#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
24 internal ApplyPatchCreateFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string filePath, string diff) : base(kind, patch)
25 {
26 FilePath = filePath;
27 Diff = diff;
28 }
29#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
30
31 public string Diff { get; set; }
32 }
33}
34