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 Url( @JsonProperty("raw") @get:JsonProperty("raw") val raw: String?, @JsonProperty("protocol") @get:JsonProperty("protocol") val protocol: String?, @JsonProperty("host") @get:JsonProperty("host") val host: List?, @JsonProperty("path") @get:JsonProperty("path") val path: List?, @JsonProperty("port") @get:JsonProperty("port") val port: String?, @JsonProperty("query") @get:JsonProperty("query") val query: List?, @JsonProperty("hash") @get:JsonProperty("hash") val hash: String?, @JsonProperty("variable") @get:JsonProperty("variable") val variable: List? ) : Serializable { fun toJsonString(): String = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Url = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().readValue( json, Url::class.java) } }