package com.github.sullis.email.markup.v0.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] */ @JsonIgnoreProperties(ignoreUnknown=true) data class Place( @JsonProperty("address") @get:JsonProperty("address") val address: Address, @JsonProperty("logo") @get:JsonProperty("logo") val logo: String, @JsonProperty("map") @get:JsonProperty("map") val map: String, @JsonProperty("telephone") @get:JsonProperty("telephone") val telephone: String ) : Serializable { fun toJsonString(): String = com.github.sullis.email.markup.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Place = com.github.sullis.email.markup.v0.models.JacksonObjectMapperFactory.create().readValue( json, Place::class.java) } }