package com.gilt.public_.api.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 ProductContent( @JsonProperty("description") @get:JsonProperty("description") val description: String?, @JsonProperty("fit_notes") @get:JsonProperty("fit_notes") val fitNotes: String?, @JsonProperty("material") @get:JsonProperty("material") val material: String?, @JsonProperty("care_instructions") @get:JsonProperty("care_instructions") val careInstructions: String?, @JsonProperty("origin") @get:JsonProperty("origin") val origin: String? ) : Serializable { fun toJsonString(): String = com.gilt.public_.api.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): ProductContent = com.gilt.public_.api.models.JacksonObjectMapperFactory.create().readValue( json, ProductContent::class.java) } }