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.Boolean import kotlin.Int import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class ComponentTextArea( @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("required") @get:JsonProperty("required") val required: Boolean, @JsonProperty("placeholder") @get:JsonProperty("placeholder") val placeholder: String, @JsonProperty("label") @get:JsonProperty("label") val label: String, @JsonProperty("num_of_lines") @get:JsonProperty("num_of_lines") val numOfLines: Int, @JsonProperty("description") @get:JsonProperty("description") val description: String? ) : Serializable { fun toJsonString(): String = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): ComponentTextArea = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, ComponentTextArea::class.java) } }