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.String /** * This code was generated by [models.generator.kotlin.KotlinGenerator] * JWT Access Token to be used to access the APIe */ @JsonIgnoreProperties(ignoreUnknown=true) data class AccessTokenWrapper( @JsonProperty("accessToken") @get:JsonProperty("accessToken") val accessToken: String ) : Serializable { fun toJsonString(): String = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): AccessTokenWrapper = com.edsancha.medallia.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, AccessTokenWrapper::class.java) } }