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

kotlin-client.data_class_opt_var.mustache Maven / Gradle / Ivy

The newest version!
{{#description}}
    /* {{{description}}} */
{{/description}}
    {{^multiplatform}}
    {{#moshi}}
    @Json(name = "{{{vendorExtensions.x-base-name-literal}}}")
    {{/moshi}}
    {{#gson}}
    @SerializedName("{{{vendorExtensions.x-base-name-literal}}}")
    {{/gson}}
    {{#jackson}}
    {{#isDateTime}}
    @JsonFormat
    (shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyyy hh:mm:ss")
    {{/isDateTime}}
    @JsonProperty("{{{vendorExtensions.x-base-name-literal}}}")
    {{/jackson}}
    {{/multiplatform}}
    {{#multiplatform}}@SerialName(value = "{{{vendorExtensions.x-base-name-literal}}}") {{/multiplatform}}{{#isInherited}}override {{/isInherited}}{{>modelMutable}} {{{name}}}: {{#isEnum}}{{#isListContainer}}{{#isList}}kotlin.collections.List{{/isList}}{{^isList}}kotlin.Array{{/isList}}<{{classname}}.{{{nameInCamelCase}}}>{{/isListContainer}}{{^isListContainer}}{{classname}}.{{{nameInCamelCase}}}{{/isListContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}? = {{#defaultvalue}}{{defaultvalue}}{{/defaultvalue}}{{^defaultvalue}}null{{/defaultvalue}}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy