All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kotlin.nested_class.mustache Maven / Gradle / Ivy

There is a newer version: 0.118
Show newest version
{{#schema}}{{#description}}    /**
     * {{&safeDescription}}
     */
{{/description}}{{/schema}}{{#isObject}}    {{#numberOfProperties}}{{>data_open_class}} {{&className}}({{!
}}{{#properties}}{{^first}},{{/first}}
{{#schema}}{{#description}}        /** {{&safeDescription}} */
{{/description}}{{/schema}}        {{^baseProperty}}{{^extendedInDerived}}val {{/extendedInDerived}}{{/baseProperty}}{{!
}}{{#baseProperty}}{{#extendedInDerived}}override val {{/extendedInDerived}}{{/baseProperty}}{{!
}}{{&kotlinName}}: {{>type}}{{#defaultValue}} = {{>default_value}}{{/defaultValue}}{{!
}}{{^isRequired}}{{^defaultValue}} = null{{/defaultValue}}{{/isRequired}}{{/properties}}
    ){{>extends_implements}}{{#validationsOrBaseClassWithPropertiesPresent}} {

{{#validationsPresent}}        init {
{{#properties}}{{>validations}}{{/properties}}        }

{{/validationsPresent}}{{#hasBaseClassWithProperties}}
{{#properties}}{{#extendedInDerived}}        open val {{&kotlinName}}: {{>type}} = {{&kotlinName}}
{{/extendedInDerived}}{{/properties}}
{{>equals}}
{{>hashcode}}
{{>tostring}}
{{>copy}}
{{>component}}

{{/hasBaseClassWithProperties}}    }{{/validationsOrBaseClassWithPropertiesPresent}}{{/numberOfProperties}}{{^numberOfProperties}}open class {{&className}}{{/numberOfProperties}}{{/isObject}}{{#isString}}    enum class {{&className}} {
{{#enumValues}}        {{&.}}{{^last}},{{/last}}
{{/enumValues}}    }{{/isString}}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy