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.Boolean import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * Using variables in your Postman requests eliminates the need to duplicate requests, which can * save a lot of time. Variables can be defined, and referenced to from any part of a request. */ @JsonIgnoreProperties(ignoreUnknown=true) data class Variable( @JsonProperty("id") @get:JsonProperty("id") val id: String?, @JsonProperty("key") @get:JsonProperty("key") val key: String?, @JsonProperty("value") @get:JsonProperty("value") val value: String?, @JsonProperty("type") @get:JsonProperty("type") val type: String?, @JsonProperty("name") @get:JsonProperty("name") val name: String?, @JsonProperty("description") @get:JsonProperty("description") val description: Description?, @JsonProperty("system") @get:JsonProperty("system") val system: Boolean?, @JsonProperty("disabled") @get:JsonProperty("disabled") val disabled: Boolean? ) : Serializable { fun toJsonString(): String = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Variable = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().readValue( json, Variable::class.java) } }