package Ġcom . te ky develop . android . sm ar tout let iot . data . model Ċ Ċ import Ġcom . google . gson . annotations . SerializedName Ċ import Ġcom . te ky develop . android . sm ar tout let iot . data . mapper . Domain M appable List Ċ import Ġcom . te ky develop . android . sm ar tout let iot . domain . model . Device Data Ċ Ċ data Ġclass ĠDevice Data Response ( ĊĠĠĠ Ġval Ġstatus : ĠString , ĊĠĠĠ Ġ@ SerializedName (" data ") Ġval Ġdata : ĠList < Device Response > Ċ ) Ġ: ĠDomain M appable List < Device Data >{ ĊĠĠĠ Ġoverride Ġfun Ġas Domain (): ĠList < Device Data > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġdevice List : ĠMutable List < Device Data > Ġ= Ġmutable ListOf () ĊĠĠĠĠĠĠĠ Ġdata . forEach Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdevice List . add ( it . as Domain ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġreturn Ġdevice List ĊĠĠĠ Ġ} Ċ }