Package io.getstream.chat.java.services
Interface ChannelTypeService
-
public interface ChannelTypeService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull retrofit2.Call<ChannelType.ChannelTypeCreateResponse>
create(@NotNull ChannelType.ChannelTypeCreateRequestData channelTypeCreateRequestData)
@NotNull retrofit2.Call<StreamResponseObject>
delete(@NotNull java.lang.String name)
@NotNull retrofit2.Call<ChannelType.ChannelTypeGetResponse>
get(@NotNull java.lang.String name)
@NotNull retrofit2.Call<ChannelType.ChannelTypeListResponse>
list()
@NotNull retrofit2.Call<ChannelType.ChannelTypeUpdateResponse>
update(@NotNull java.lang.String name, @NotNull ChannelType.ChannelTypeUpdateRequestData channelTypeUpdateRequestData)
-
-
-
Method Detail
-
create
@POST("channeltypes") @NotNull @NotNull retrofit2.Call<ChannelType.ChannelTypeCreateResponse> create(@NotNull @Body @NotNull ChannelType.ChannelTypeCreateRequestData channelTypeCreateRequestData)
-
delete
@DELETE("channeltypes/{name}") @NotNull @NotNull retrofit2.Call<StreamResponseObject> delete(@NotNull @Path("name") @NotNull java.lang.String name)
-
get
@GET("channeltypes/{name}") @NotNull @NotNull retrofit2.Call<ChannelType.ChannelTypeGetResponse> get(@NotNull @Path("name") @NotNull java.lang.String name)
-
list
@GET("channeltypes") @NotNull @NotNull retrofit2.Call<ChannelType.ChannelTypeListResponse> list()
-
update
@PUT("channeltypes/{name}") @NotNull @NotNull retrofit2.Call<ChannelType.ChannelTypeUpdateResponse> update(@NotNull @Path("name") @NotNull java.lang.String name, @NotNull @Body @NotNull ChannelType.ChannelTypeUpdateRequestData channelTypeUpdateRequestData)
-
-