Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. interface SomeApi {
  2.  
  3. @GET("path1/")
  4. fun getResponse1(): Deferred<Response<Object1>>
  5.  
  6. @GET("path2/")
  7. fun getResponse2(): Deferred<Response<Object2>>
  8.  
  9. @GET("path3/{id}")
  10. fun getResponse3(@Path("id") objectId : String): Deferred<Response<Object3>>
  11.  
  12. }
Add Comment
Please, Sign In to add comment