package com.shopr.api.clickouts.api.v0.models import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import java.io.Serializable import kotlin.String import kotlin.collections.List /** * This code was generated by [models.generator.kotlin.KotlinGenerator] */ @JsonIgnoreProperties(ignoreUnknown=true) data class ErrorResponse( @JsonProperty("message") @get:JsonProperty("message") val message: String?, @JsonProperty("error_codes") @get:JsonProperty("error_codes") val errorCodes: List, @JsonProperty("fingerprint") @get:JsonProperty("fingerprint") val fingerprint: String? ) : Serializable { fun toJsonString(): String = com.shopr.api.clickouts.api.v0.models.JacksonObjectMapperFactory.create().writeValueAsString(this) companion object { fun parseJson(json: String): ErrorResponse = com.shopr.api.clickouts.api.v0.models.JacksonObjectMapperFactory.create().readValue( json, ErrorResponse::class.java) } }