Package io.getstream.chat.java.models
Class Command
- java.lang.Object
-
- io.getstream.chat.java.models.Command
-
- Direct Known Subclasses:
Command.CommandGetResponse
public class Command extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Command.CommandCreateRequestData
static class
Command.CommandCreateResponse
static class
Command.CommandDeleteRequest
static class
Command.CommandDeleteResponse
static class
Command.CommandGetRequest
static class
Command.CommandGetResponse
static class
Command.CommandListRequest
static class
Command.CommandListResponse
static class
Command.CommandUpdateRequestData
static class
Command.CommandUpdateResponse
-
Constructor Summary
Constructors Constructor Description Command()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull Command.CommandCreateRequestData.CommandCreateRequest
create()
Creates a create requeststatic @NotNull Command.CommandDeleteRequest
delete(@NotNull java.lang.String name)
Creates a delete requeststatic @NotNull Command.CommandGetRequest
get(@NotNull java.lang.String name)
Creates a get requeststatic @NotNull Command.CommandListRequest
list()
Creates a list requeststatic @NotNull Command.CommandUpdateRequestData.CommandUpdateRequest
update(@NotNull java.lang.String name)
Creates an update request
-
-
-
Method Detail
-
create
@NotNull public static @NotNull Command.CommandCreateRequestData.CommandCreateRequest create()
Creates a create request- Returns:
- the created request
-
get
@NotNull public static @NotNull Command.CommandGetRequest get(@NotNull @NotNull java.lang.String name)
Creates a get request- Parameters:
name
- the command name- Returns:
- the created request
-
update
@NotNull public static @NotNull Command.CommandUpdateRequestData.CommandUpdateRequest update(@NotNull @NotNull java.lang.String name)
Creates an update request- Parameters:
name
- the command name- Returns:
- the created request
-
delete
@NotNull public static @NotNull Command.CommandDeleteRequest delete(@NotNull @NotNull java.lang.String name)
Creates a delete request- Parameters:
name
- the command name- Returns:
- the created request
-
list
@NotNull public static @NotNull Command.CommandListRequest list()
Creates a list request- Returns:
- the created request
-
-