// <auto-generated />
namespace {{rootNamespace}}.{{domain.Name}}
{
    using System.Text.Json.Serialization;

    /// <summary>
    /// {{xml-code-comment type.Description 1}}
    /// </summary>
    public sealed class {{className}}
    {
    {{#each type.Properties}}
        /// <summary>
        /// {{xml-code-comment Description 2}}
        ///</summary>
        [JsonPropertyName("{{Name}}")]
        {{#if Optional}}[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]{{/if}}
        public {{typemap ../context}} {{dehumanize Name}}
        {
            get;
            set;
        }
    {{/each}}
    }
}