package com.afrosoft.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] * Separate resource used only for the few actions that require the full token. */ @JsonIgnoreProperties(ignoreUnknown=true) data class CleartextToken( @JsonProperty("token") @get:JsonProperty("token") val token: String ) : Serializable { fun toJsonString(): String = com.afrosoft.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): CleartextToken = com.afrosoft.apibuilder.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, CleartextToken::class.java) } }