package org.bml.bml.gen.test.application.v0.models; import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.UUID; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.POST; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.2 * User agent: apibuilder app.apibuilder.io/bml/bml-gen-test-application/0.0.2/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 AccountsClient { @POST("accounts") Call postAccounts(@Body AccountForm accountForm, @Header("Authorization") String authorization, @Query("test") Boolean test, @Query("testDefault") Boolean testDefault); @GET("accounts/{id}") Call getAccountsId(@Path("id") UUID id, @Header("Authorization") String authorization); /** * A mock to test returning a raw array. This is not a practical method to implement in a production environment. In production you would return a page object but here we want to test to ensure generators are handling raw array return value. */ @GET("accounts/{id}/foo") Call getAccountsIdFoo(@Path("id") UUID id, @Header("Authorization") String authorization, @Query("name") String name, @Query("page") Integer page, @Query("count") Integer count); /** * A mock to test returning a raw array. This is not a practical method to implement in a production environment. In production you would return a page object but here we want to test to ensure generators are handling raw array return value. */ @GET("accounts") Call getAccounts(@Header("Authorization") String authorization, @Query("name") String name, @Query("page") Integer page, @Query("count") Integer count); /** * Delete an Account resource by id. */ @DELETE("accounts/{id}") Call deleteAccountsId(@Path("id") UUID id, @Header("Authorization") String authorization); }