package io.zhong.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * Versicherungsvertrag */ @JsonIgnoreProperties(ignoreUnknown=true) data class Vertrag( @JsonProperty("Vorname") @get:JsonProperty("Vorname") val vorname: String ) : Serializable { fun toJsonString(): String = io.zhong.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Vertrag = io.zhong.models.JacksonObjectMapperFactory.create().readValue( json, Vertrag::class.java) } }