package Ġme . hub ert us 2 4 8 . kon vert . model Ċ Ċ import Ġme . hub ert us 2 4 8 . kon vert . api . Kon vert Ċ Ċ @ Kon vert ( ĊĠĠĠ Ġfrom Ġ= Ġ[ Foo Compatible :: class , ĊĠĠĠĠĠĠĠ ĠFoo With Additional Fields :: class , ĊĠĠĠĠĠĠĠ ĠFoo With Missing Fields :: class , ĊĠĠĠĠĠĠĠ ĠFoo With Nullable Field :: class ] Ċ ) Ċ data Ġclass ĠFoo ( val Ġfield 1 : ĠInt , Ġval Ġfield 2 : ĠString ) Ċ Ċ data Ġclass ĠFoo Compatible ( val Ġfield 1 : ĠInt , Ġval Ġfield 2 : ĠString ) Ċ Ċ data Ġclass ĠFoo With Additional Fields ( val Ġfield 1 : ĠInt , Ġval Ġfield 2 : ĠString , Ġval Ġfield 3 : ĠLong ) Ċ Ċ data Ġclass ĠFoo With Missing Fields ( val Ġfield 1 : ĠInt ) Ċ Ċ @ Kon vert ( from Ġ= Ġ[ Foo :: class ]) Ċ data Ġclass ĠFoo With Nullable Field ( val Ġfield 1 : ĠInt , Ġval Ġfield 2 : ĠString ?) Ċ Ċ @ Kon vert ( from Ġ= Ġ[ Foo With Nested Compatible :: class ]) Ċ data Ġclass ĠFoo With Nested ( val Ġfield 1 : ĠFoo ) Ċ Ċ data Ġclass ĠFoo With Nested Compatible ( val Ġfield 1 : ĠFoo Compatible ) Ċ Ċ @ Kon vert ( from Ġ= Ġ[ Foo With Collection Compatible :: class ]) Ċ data Ġclass ĠFoo With Collection ( val Ġfield 1 : ĠSet < Foo >) Ċ Ċ data Ġclass ĠFoo With Collection Compatible ( val Ġfield 1 : ĠList < Foo Compatible >) Ċ