com.cloudesire.platform.apiclient.api.EventTestApi Maven / Gradle / Ivy
The newest version!
package com.cloudesire.platform.apiclient.api;
import com.cloudesire.platform.apiclient.dto.model.dto.InvoiceDTO;
import com.cloudesire.platform.apiclient.dto.model.dto.MyUserDTO;
import com.cloudesire.platform.apiclient.dto.model.dto.UserCompanyDTO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.PATCH;
import retrofit2.http.PUT;
import retrofit2.http.Path;
import retrofit2.http.Query;
import java.util.Map;
public interface EventTestApi
{
@GET( "test/user/{id}" )
Call getUser( @Path( "id" ) int userId );
@GET( "test/invoicePaid/{id}" )
Call getInvoice( @Path( "id" ) int invoiceId );
@PATCH( "test/subscription/{id}" )
Call patch( @Path( "id" ) int subscriptionId, @Body Map emptyMap,
@Query( "language" ) String language );
@GET( "test/user/{id}/metadata" )
Call