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 · modepreview

// <auto-generated/>

#nullable disable

using System;

namespace OpenAI
{
    [AttributeUsage((AttributeTargets.Class | AttributeTargets.Struct), AllowMultiple = true, Inherited = true)]
    internal partial class CodeGenSerializationAttribute : Attribute
    {
        public CodeGenSerializationAttribute(string propertyName)
        {
            PropertyName = propertyName;
        }

        public CodeGenSerializationAttribute(string propertyName, string propertySerializationName)
        {
            PropertyName = propertyName;
            PropertySerializationName = propertySerializationName;
        }

        public string PropertyName { get; }

        public string PropertySerializationName { get; set; }

        public string SerializationValueHook { get; set; }

        public string DeserializationValueHook { get; set; }
    }
}