com.cloudesire.platform.apiclient.api.VirtualMachineInstanceApi Maven / Gradle / Ivy
The newest version!
package com.cloudesire.platform.apiclient.api;
import com.cloudesire.platform.apiclient.dto.model.dto.VirtualMachineInstanceDTO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.PATCH;
import retrofit2.http.Path;
import java.util.List;
import java.util.Map;
public interface VirtualMachineInstanceApi
{
@GET( "virtualMachineInstance" )
Call> getAll();
@GET( "virtualMachineInstance/nodename={nodename}" )
Call getByNodeName( @Path( "nodename" ) String nodename );
@GET( "virtualMachineInstance/{id}" )
Call get( @Path( "id" ) int id );
@PATCH( "virtualMachineInstance/{id}" )
Call patch( @Path( "id" ) int id, @Body Map input );
@DELETE( "virtualMachineInstance/{id}" )
Call delete( @Path( "id" ) int id );
}