package io.apibuilder.api.v0.models; import java.lang.Boolean; import java.lang.Long; import java.lang.String; import java.lang.Void; import java.util.UUID; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; import retrofit2.http.POST; import retrofit2.http.PUT; import retrofit2.http.Path; import retrofit2.http.Query; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.12.14 * User agent: apibuilder app.apibuilder.io/apicollective/apibuilder-api/0.12.14/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 ApplicationsClient { /** * Search all applications. Results are always paginated. */ @GET("{orgKey}") Call getOrgKey(@Path("orgKey") String orgKey, @Query("name") String name, @Query("guid") UUID guid, @Query("key") String key, @Query("has_version") Boolean hasVersion, @Query("limit") Long limit, @Query("offset") Long offset); /** * Create an application. */ @POST("{orgKey}") Call postOrgKey(@Body ApplicationForm applicationForm, @Path("orgKey") String orgKey); /** * Updates an application. */ @PUT("{orgKey}/{applicationKey}") Call putOrgKeyApplicationKey(@Body ApplicationForm applicationForm, @Path("orgKey") String orgKey, @Path("applicationKey") String applicationKey); /** * Deletes a specific application and its associated versions. */ @DELETE("{orgKey}/{applicationKey}") Call deleteOrgKeyApplicationKey(@Path("orgKey") String orgKey, @Path("applicationKey") String applicationKey); /** * Moves application to a new organization. */ @POST("{orgKey}/{applicationKey}/move") Call postOrgKeyApplicationKeyMove(@Body MoveForm moveForm, @Path("orgKey") String orgKey, @Path("applicationKey") String applicationKey); }