package com.afrosoft.apibuilder.api.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import java.util.UUID import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * Defines a service that provides one or more code generators */ @JsonIgnoreProperties(ignoreUnknown=true) data class GeneratorService( @JsonProperty("guid") @get:JsonProperty("guid") val guid: UUID, @JsonProperty("uri") @get:JsonProperty("uri") val uri: String, @JsonProperty("audit") @get:JsonProperty("audit") val audit: io.apibuilder.common.v0.models.Audit ) : Serializable { fun toJsonString(): String = com.afrosoft.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): GeneratorService = com.afrosoft.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, GeneratorService::class.java) } }