package io.gimbalabs.hilltop.api.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Any import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class CnftMetadataV001Asset( @JsonProperty("assetName") @get:JsonProperty("assetName") val assetName: String?, @JsonProperty("attributes") @get:JsonProperty("attributes") val attributes: Any?, @JsonProperty("ipfs") @get:JsonProperty("ipfs") val ipfs: String, @JsonProperty("mimeType") @get:JsonProperty("mimeType") val mimeType: String? ) : Serializable { fun toJsonString(): String = io.gimbalabs.hilltop.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): CnftMetadataV001Asset = io.gimbalabs.hilltop.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, CnftMetadataV001Asset::class.java) } }