package Ġcom . bar bbe cker . fund ate c . pet im munity card . service Ċ Ċ import Ġcom . bar bbe cker . fund ate c . pet im munity card . service . models . Pet Ċ import Ġcom . bar bbe cker . fund ate c . pet im munity card . service . models . V accine Ċ import Ġio . reactivex . Single Ċ import Ġokhttp 3 . ResponseBody Ċ import Ġretrofit 2 . http . Body Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠPet Service Ġ{ ĊĊĠĠĠ Ġ@ POST ("/ api / pet ") ĊĠĠĠ Ġfun Ġadd Pet (@ Body Ġpet : ĠPet ): ĠSingle < ResponseBody > ĊĊĊĠĠĠ Ġ@ GET ("/ api / pet / person /{ id }") ĊĠĠĠ Ġfun Ġget P ets (@ Path (" id ") Ġid : Int ): ĠSingle < List < Pet >> ĊĊĊĠĠĠ Ġ@ POST ("/ api / pet /{ id }/ save - v accine ") ĊĠĠĠ Ġfun Ġadd V accine (@ Body Ġv accine : ĠV accine , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : Int ): ĠSingle < ResponseBody > ĊĊĠĠĠ Ġ@ GET ("/ api / pet /{ id }/ v accine ") ĊĠĠĠ Ġfun Ġget V acc ines (@ Path (" id ") Ġid : Int ): ĠSingle < List < V accine >> Ċ }