Package io.getstream.chat.java.services
Interface BlocklistService
-
public interface BlocklistService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull retrofit2.Call<StreamResponseObject>
create(@NotNull Blocklist.BlocklistCreateRequestData blocklistCreateRequestData)
@NotNull retrofit2.Call<StreamResponseObject>
delete(@NotNull java.lang.String name)
@NotNull retrofit2.Call<Blocklist.BlocklistGetResponse>
get(@NotNull java.lang.String name)
@NotNull retrofit2.Call<Blocklist.BlocklistListResponse>
list()
@NotNull retrofit2.Call<StreamResponseObject>
update(@NotNull java.lang.String name, @NotNull Blocklist.BlocklistUpdateRequestData blocklistUpdateRequestData)
-
-
-
Method Detail
-
create
@POST("blocklists") @NotNull @NotNull retrofit2.Call<StreamResponseObject> create(@NotNull @Body @NotNull Blocklist.BlocklistCreateRequestData blocklistCreateRequestData)
-
get
@GET("blocklists/{name}") @NotNull @NotNull retrofit2.Call<Blocklist.BlocklistGetResponse> get(@NotNull @Path("name") @NotNull java.lang.String name)
-
update
@PUT("blocklists/{name}") @NotNull @NotNull retrofit2.Call<StreamResponseObject> update(@NotNull @Path("name") @NotNull java.lang.String name, @NotNull @Body @NotNull Blocklist.BlocklistUpdateRequestData blocklistUpdateRequestData)
-
delete
@DELETE("blocklists/{name}") @NotNull @NotNull retrofit2.Call<StreamResponseObject> delete(@NotNull @Path("name") @NotNull java.lang.String name)
-
list
@GET("blocklists") @NotNull @NotNull retrofit2.Call<Blocklist.BlocklistListResponse> list()
-
-