package com.catalystsquad.catalyst.squad.hello.world.example.api.v1.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] * A Hello that has not yet been created */ @JsonIgnoreProperties(ignoreUnknown=true) data class Newhello( @JsonProperty("name") @get:JsonProperty("name") val name: String ) : Serializable { fun toJsonString(): String = com.catalystsquad.catalyst.squad.hello.world.example.api.v1.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Newhello = com.catalystsquad.catalyst.squad.hello.world.example.api.v1.models.JacksonObjectMapperFactory.create().readValue( json, Newhello::class.java) } }