package io.apibuilder.postman.collection.v21.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] */ @JsonIgnoreProperties(ignoreUnknown=true) data class Item( @JsonProperty("id") @get:JsonProperty("id") val id: String?, @JsonProperty("name") @get:JsonProperty("name") val name: String?, @JsonProperty("description") @get:JsonProperty("description") val description: Description?, @JsonProperty("variable") @get:JsonProperty("variable") val variable: List?, @JsonProperty("event") @get:JsonProperty("event") val event: List?, @JsonProperty("request") @get:JsonProperty("request") val request: Request, @JsonProperty("response") @get:JsonProperty("response") val response: List? ) : Serializable { fun toJsonString(): String = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Item = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().readValue( json, Item::class.java) } }