package com.gilt.public_.api.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Any import kotlin.Long import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class Product( @JsonProperty("name") @get:JsonProperty("name") val name: String, @JsonProperty("product") @get:JsonProperty("product") val product: String, @JsonProperty("id") @get:JsonProperty("id") val id: Long, @JsonProperty("brand") @get:JsonProperty("brand") val brand: String, @JsonProperty("url") @get:JsonProperty("url") val url: String, @JsonProperty("content") @get:JsonProperty("content") val content: ProductContent, @JsonProperty("categories") @get:JsonProperty("categories") val categories: List, @JsonProperty("image_urls") @get:JsonProperty("image_urls") val imageUrls: Any, @JsonProperty("skus") @get:JsonProperty("skus") val skus: List ) : Serializable { fun toJsonString(): String = com.gilt.public_.api.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): Product = com.gilt.public_.api.models.JacksonObjectMapperFactory.create().readValue( json, Product::class.java) } }