package Ġorg . oss ia ust ria . am igo . platform . rest . v 1 . user Ċ Ċ import Ġio . swagger . annotations . ApiModel Ċ import Ġorg . oss ia ust ria . am igo . platform . domain . models . Group Ċ import Ġorg . oss ia ust ria . am igo . platform . domain . models . Person Ċ import Ġjava . util . UUID Ċ Ċ @ ApiModel (" Group Ġwith Ġits Ġmembers Ġ( normal ĠPers ons , ĠAn alog ue Ġand ĠAdmin s / Owner ") Ċ data Ġclass ĠGroup Dto ( ĊĠĠĠ Ġval Ġid : ĠUUID , ĊĠĠĠ Ġval Ġname : ĠString , ĊĠĠĠ Ġval Ġmembers : ĠList < Person Dto >, Ċ ) Ċ Ċ internal Ġfun ĠGroup . to Dto (): ĠGroup Dto Ġ= ĠGroup Dto ( ĊĠĠĠ Ġid Ġ= Ġthis . id , ĊĠĠĠ Ġname Ġ= Ġthis . name , ĊĠĠĠ Ġmembers Ġ= Ġthis . members . map ( Person :: to Dto ), Ċ ) Ċ