frank
02/07/2017, 11:36 PMmodel
class and a mapper that maps the response to a model. This model class is basically just a somewhat simplified version which is used on the presentation side, removing complexity and nesting. For example a list of images with size fields 'small', 'large', 'extralarge', will then just be imageUrlSmall
and imageUrlLarge
directly in the model class.