package io.flow.github.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.Boolean import kotlin.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class UserEmail( @JsonProperty("email") @get:JsonProperty("email") val email: String, @JsonProperty("verified") @get:JsonProperty("verified") val verified: Boolean, @JsonProperty("primary") @get:JsonProperty("primary") val primary: Boolean ) : Serializable { fun toJsonString(): String = io.flow.github.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): UserEmail = io.flow.github.v0.models.JacksonObjectMapperFactory.create().readValue( json, UserEmail::class.java) } }