package io.flow.github.v0.models; import java.lang.String; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Path; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.5.15 * User agent: apibuilder app.apibuilder.io/flow/github/0.5.15/android_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson and retrofit2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ public interface RefsClient { @GET("repos/{owner}/{repo}/git/refs") Call getReposOwnerRepoGitRefs(@Path("owner") String owner, @Path("repo") String repo); @GET("repos/{owner}/{repo}/git/refs/{ref}") Call getReposOwnerRepoGitRefsRef(@Path("owner") String owner, @Path("repo") String repo, @Path("ref") String ref); @POST("repos/{owner}/{repo}/git/refs") Call postReposOwnerRepoGitRefs(@Body RefForm refForm, @Path("owner") String owner, @Path("repo") String repo); @PUT("repos/{owner}/{repo}/git/refs/{ref}") Call putReposOwnerRepoGitRefsRef(@Body RefUpdateForm refUpdateForm, @Path("owner") String owner, @Path("repo") String repo, @Path("ref") String ref); }