package io.apibuilder.api.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] * Data used to confirm an email address. The token is an internal unique identifier used to lookup * the specific email address and user account for which we sent an email verification email. */ @JsonIgnoreProperties(ignoreUnknown=true) data class EmailVerificationConfirmationForm( @JsonProperty("token") @get:JsonProperty("token") val token: String ) : Serializable { fun toJsonString(): String = io.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): EmailVerificationConfirmationForm = io.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, EmailVerificationConfirmationForm::class.java) } }