openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
jsquire-patch-1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Generated/Internal/CodeGenSerializationAttribute.cs

31lines · modecode

1// <auto-generated/>
2
3#nullable disable
4
5using System;
6
7namespace OpenAI
8{
9 [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)]
10 internal partial class CodeGenSerializationAttribute : Attribute
11 {
12 public CodeGenSerializationAttribute(string propertyName)
13 {
14 PropertyName = propertyName;
15 }
16
17 public CodeGenSerializationAttribute(string propertyName, string propertySerializationName)
18 {
19 PropertyName = propertyName;
20 PropertySerializationName = propertySerializationName;
21 }
22
23 public string PropertyName { get; }
24
25 public string PropertySerializationName { get; set; }
26
27 public string SerializationValueHook { get; set; }
28
29 public string DeserializationValueHook { get; set; }
30 }
31}
32