package io.apibuilder.api.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] * Represents a single breaking diff of an application version. A breaking diff indicates that it is * possible for an existing client to now experience an error or invalid data due to the diff. */ @JsonIgnoreProperties(ignoreUnknown=true) data class DiffBreaking( @JsonProperty("description") @get:JsonProperty("description") val description: String, @JsonProperty("is_material") @get:JsonProperty("is_material") val isMaterial: Boolean ) : Serializable { fun toJsonString(): String = io.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): DiffBreaking = io.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, DiffBreaking::class.java) } }