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] * search person with firstname */ @JsonIgnoreProperties(ignoreUnknown=true) data class SearchPerson( @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): SearchPerson = io.zhong.models.JacksonObjectMapperFactory.create().readValue( json, SearchPerson::class.java) } }