package cerium.termsteelversionapi.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * The invocation form is the payload send to the code generators when requesting generation of * client code. */ @JsonIgnoreProperties(ignoreUnknown=true) data class InvocationForm( @JsonProperty("service") @get:JsonProperty("service") val service: io.apibuilder.spec.v0.models.Service, @JsonProperty("attributes") @get:JsonProperty("attributes") val attributes: List, @JsonProperty("user_agent") @get:JsonProperty("user_agent") val userAgent: String?, @JsonProperty("imported_services") @get:JsonProperty("imported_services") val importedServices: List? ) : Serializable { fun toJsonString(): String = cerium.termsteelversionapi.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): InvocationForm = cerium.termsteelversionapi.v0.models.JacksonObjectMapperFactory.create().readValue( json, InvocationForm::class.java) } }