com.cloudesire.platform.apiclient.api.StackParameterValueApi Maven / Gradle / Ivy
The newest version!
package com.cloudesire.platform.apiclient.api;
import com.cloudesire.platform.apiclient.dto.model.dto.StackParameterValueDTO;
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;
import java.util.List;
public interface StackParameterValueApi
{
@POST( "stackParameterValue" )
Call create( @Body StackParameterValueDTO input );
@GET( "stackParameterValue" )
Call> getAll();
@GET( "stackParameterValue" )
Call> getAll( @Query( "stackParameter" ) String stackParameter );
@GET( "stackParameterValue" )
Call> getAll( @Query( "dependencyId" ) int dependencyId );
@GET( "stackParameterValue" )
Call> getAll( @Query( "stackParameter" ) String stackParameterName,
@Query( "dependencyId" ) int dependencyId );
@GET( "stackParameterValue/{id}" )
Call get( @Path( "id" ) int id );
@PUT( "stackParameterValue/{id}" )
Call update( @Path( "id" ) int id, @Body StackParameterValueDTO input );
@DELETE( "stackParameterValue/{id}" )
Call delete( @Path( "id" ) int id );
}