package io.flow.dependency.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 ProjectBinary( @JsonProperty("id") @get:JsonProperty("id") val id: String, @JsonProperty("project") @get:JsonProperty("project") val project: ProjectDetail, @JsonProperty("name") @get:JsonProperty("name") val name: String, @JsonProperty("version") @get:JsonProperty("version") val version: String, @JsonProperty("path") @get:JsonProperty("path") val path: String, @JsonProperty("binary") @get:JsonProperty("binary") val binary: Reference? ) : Serializable { fun toJsonString(): String = io.flow.dependency.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): ProjectBinary = io.flow.dependency.v0.models.JacksonObjectMapperFactory.create().readValue( json, ProjectBinary::class.java) } }