package com.github.sullis.email.markup.v0.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 GotoAction( @JsonProperty("at_context") @get:JsonProperty("at_context") val atContext: String, @JsonProperty("at_type") @get:JsonProperty("at_type") val atType: String, @JsonProperty("potentialAction") @get:JsonProperty("potentialAction") val potentialAction: PotentialAction, @JsonProperty("description") @get:JsonProperty("description") val description: String ) : Serializable { fun toJsonString(): String = com.github.sullis.email.markup.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): GotoAction = com.github.sullis.email.markup.v0.models.JacksonObjectMapperFactory.create().readValue( json, GotoAction::class.java) } }