io.rancher.service.PullTaskService Maven / Gradle / Ivy
The newest version!
package io.rancher.service;
import io.rancher.base.Filters;
import io.rancher.base.TypeCollection;
import io.rancher.type.PullTask;
import io.rancher.type.GenericObject;
import retrofit2.Call;
import retrofit2.Response;
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.QueryMap;
public interface PullTaskService {
@GET("pullTask")
Call> list();
@GET("pullTask")
Call> list(@QueryMap Filters filters);
@GET("pullTask/{id}")
Call get(@Path("id") String id);
@POST("pullTask")
Call create(@Body PullTask pullTask);
@PUT("pullTask/{id}")
Call update(@Path("id") String id, @Body PullTask pullTask);
@DELETE("pullTask/{id}")
Call delete(@Path("id") String id);
@POST("pullTask/{id}?action=remove")
Call remove(@Path("id") String id);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy