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 Script( @JsonProperty("exec") @get:JsonProperty("exec") val exec: List, @JsonProperty("type") @get:JsonProperty("type") val type: String, @JsonProperty("id") @get:JsonProperty("id") val id: String?, @JsonProperty("src") @get:JsonProperty("src") val src: String?, @JsonProperty("name") @get:JsonProperty("name") val name: String? ) : Serializable { fun toJsonString(): String = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Script = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().readValue( json, Script::class.java) } }