/* Ċ Ġ* ĠCopyright Ġ 2 0 2 0 ĠRealm ĠInc . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġio . realm . examples . coroutine sex ample . data . news reader . network Ċ Ċ import Ġio . realm . examples . coroutine sex ample . data . news reader . network . model . NY Times Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠNY Times Service Ġ{ ĊĠĠĠ Ġ@ GET (" svc / top stories / v 2 /{ section }. json ") ĊĠĠĠ Ġsuspend Ġfun Ġtop St ories (@ Path (" section ") Ġsection : ĠString ): ĠNY Times Response Ċ } Ċ Ċ val Ġsections To Names Ġ= Ġmap Of ( ĊĠĠĠĠĠĠĠ Ġ" Home " Ġto Ġ" home ", ĊĠĠĠĠĠĠĠ Ġ" World " Ġto Ġ" world ", ĊĠĠĠĠĠĠĠ Ġ" National " Ġto Ġ" national ", ĊĠĠĠĠĠĠĠ Ġ" Polit ics " Ġto Ġ" polit ics ", ĊĠĠĠĠĠĠĠ Ġ" NY ĠRegion " Ġto Ġ" ny region ", ĊĠĠĠĠĠĠĠ Ġ" Business " Ġto Ġ" business ", ĊĠĠĠĠĠĠĠ Ġ" Op inion " Ġto Ġ" op inion ", ĊĠĠĠĠĠĠĠ Ġ" Tech nology " Ġto Ġ" technology ", ĊĠĠĠĠĠĠĠ Ġ" Science " Ġto Ġ" science ", ĊĠĠĠĠĠĠĠ Ġ" Health " Ġto Ġ" health ", ĊĠĠĠĠĠĠĠ Ġ" S ports " Ġto Ġ" sport s ", ĊĠĠĠĠĠĠĠ Ġ" Ar ts " Ġto Ġ" arts ", ĊĠĠĠĠĠĠĠ Ġ" F ashion " Ġto Ġ" f ashion ", ĊĠĠĠĠĠĠĠ Ġ" D ining " Ġto Ġ" d ining ", ĊĠĠĠĠĠĠĠ Ġ" Travel " Ġto Ġ" travel ", ĊĠĠĠĠĠĠĠ Ġ" Mag azine " Ġto Ġ" mag azine ", ĊĠĠĠĠĠĠĠ Ġ" Real ĠE state " Ġto Ġ" re ale state " Ċ ) Ċ