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