package io.flow.github.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Boolean import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class Tree( @JsonProperty("sha") @get:JsonProperty("sha") val sha: String, @JsonProperty("url") @get:JsonProperty("url") val url: String, @JsonProperty("truncated") @get:JsonProperty("truncated") val truncated: Boolean, @JsonProperty("tree") @get:JsonProperty("tree") val tree: List ) : Serializable { fun toJsonString(): String = io.flow.github.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Tree = io.flow.github.v0.models.JacksonObjectMapperFactory.create().readValue( json, Tree::class.java) } }