// <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; }
    }
}
