package Ġpt . ise l . vs dd ashboard application . repository . services . v sd Ċ Ċ import Ġkotlinx . coroutines . Deferred Ċ import Ġpt . ise l . vs dd ashboard application . model . Alarm Ċ import Ġpt . ise l . vs dd ashboard application . model . N SP ort Ċ import Ġpt . ise l . vs dd ashboard application . model . events . Events Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Headers Ċ import Ġretrofit 2 . http . Path Ċ Ċ interface ĠN SP ort Services Ġ{ ĊĊĠĠĠ Ġ@ Headers (" Accept : Ġapplication / json ") ĊĠĠĠ Ġ@ GET ("/ n uage / api / v 5 _ 0 / n sg ate ways /{ id }/ n sport s ") ĊĠĠĠ Ġfun Ġget Gateway Ports (@ Path (" id ") Ġn sg Id : ĠString ) Ġ: ĠDeferred < List < N SP ort > ?> ĊĊĠĠĠ Ġ@ Headers (" Accept : Ġapplication / json ") ĊĠĠĠ Ġ@ GET ("/ n uage / api / v 5 _ 0 / n sport s /{ id }") ĊĠĠĠ Ġfun Ġget Port (@ Path (" id ") Ġport Id Ġ: ĠString ) Ġ: ĠDeferred < List < N SP ort > ?> ĊĊĊĠĠĠ Ġ@ Headers (" Accept : Ġapplication / json ") ĊĠĠĠ Ġ@ GET ("/ n uage / api / v 5 _ 0 / n sport s /{ id }/ al arms ") ĊĠĠĠ Ġfun Ġget Port Al arms (@ Path (" id ") Ġport Id Ġ: ĠString ) Ġ: ĠDeferred < List < Alarm > ?> Ċ Ċ } Ċ