package Ġorg . imp erial . m rc . mint . models Ċ Ċ import Ġcom . fasterxml . jackson . annotation . JsonInclude Ċ import Ġcom . fasterxml . jackson . databind . ObjectMapper Ċ Ċ data Ġclass ĠError Response ( val Ġerrors : ĠList < Error Detail >) Ġ{ ĊĠĠĠ Ġval Ġdata Ġ= Ġmap Of < Any , ĠAny >() ĊĠĠĠ Ġval Ġstatus Ġ= Ġ" failure " Ċ } Ċ Ċ fun ĠError Response . toJson String () Ġ= ĠObjectMapper (). apply Ġ{ ĊĠĠĠ Ġset Serialization In clusion ( JsonInclude . Include . NON _ NULL ) Ċ }. writeValue AsString ( this ) Ċ