openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
achandmsft-patch-1

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Generated/Internal/CodeGenSerializationAttribute.cs

31lines · modeblame

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