package com.edsancha.medallia.api.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Int import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class FeedbackGrading1to10( @JsonProperty("index") @get:JsonProperty("index") val index: Int, @JsonProperty("id") @get:JsonProperty("id") val id: Int, @JsonProperty("unique_name") @get:JsonProperty("unique_name") val uniqueName: String, @JsonProperty("value") @get:JsonProperty("value") val value: Int, @JsonProperty("type") @get:JsonProperty("type") val type: String ) : Serializable { fun toJsonString(): String = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): FeedbackGrading1to10 = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, FeedbackGrading1to10::class.java) } }