package Ġcom . c act us . mar vel com ics . features . characters . data Ċ Ċ import Ġcom . c act us . mar vel com ics . data . network . model . Character Data Wrapper Ċ import Ġretrofit 2 . Response Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠCharacter Service Ġ{ ĊĊĠĠĠ Ġ@ GET (" v 1 / public / characters ") ĊĠĠĠĠ Ġsuspend Ġfun Ġget Characters (@ Query (" limit ") Ġlimit : ĠInt , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" offset ") Ġoffset : ĠInt ): ĠResponse < Character Data Wrapper > ĊĊĊĊĠĠĠ Ġ@ GET (" v 1 / public / characters ") ĊĠĠĠ Ġfun Ġget Characters Begin Letter (@ Query (" limit ") Ġlimit : ĠInt , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" offset ") Ġoffset : ĠInt , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" name StartsWith ") Ġletter : ĠString ): ĠResponse < Character Data Wrapper > ĊĊĠĠĠ Ġ@ GET ("/ v 1 / public / characters /{ character Id }") ĊĠĠĠ Ġfun Ġget Character (@ Path (" character Id ") Ġcharacter Id : ĠInt ?): ĠResponse < Character Data Wrapper > Ċ } Ċ