package org.bml.bml.gen.test.application.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import java.util.UUID import kotlin.Boolean import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * This is the top level in the system. It represents a specific client. */ @JsonIgnoreProperties(ignoreUnknown=true) data class Account( @JsonProperty("id") @get:JsonProperty("id") val id: UUID, @JsonProperty("awsAccount") @get:JsonProperty("awsAccount") val awsAccount: String, @JsonProperty("name") @get:JsonProperty("name") val name: String, @JsonProperty("enabled") @get:JsonProperty("enabled") val enabled: Boolean ) : Serializable { fun toJsonString(): String = org.bml.bml.gen.test.application.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Account = org.bml.bml.gen.test.application.v0.models.JacksonObjectMapperFactory.create().readValue( json, Account::class.java) } }