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.Int import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class Response( @JsonProperty("id") @get:JsonProperty("id") val id: String?, @JsonProperty("name") @get:JsonProperty("name") val name: String?, @JsonProperty("originalRequest") @get:JsonProperty("originalRequest") val originalRequest: Request?, @JsonProperty("responseTime") @get:JsonProperty("responseTime") val responseTime: String?, @JsonProperty("header") @get:JsonProperty("header") val header: List
?, @JsonProperty("body") @get:JsonProperty("body") val body: String?, @JsonProperty("status") @get:JsonProperty("status") val status: String?, @JsonProperty("code") @get:JsonProperty("code") val code: Int? ) : Serializable { fun toJsonString(): String = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Response = io.apibuilder.postman.collection.v21.v0.models.JacksonObjectMapperFactory.create().readValue( json, Response::class.java) } }