Package io.getstream.chat.java.models
Class Command
java.lang.Object
io.getstream.chat.java.models.Command
- Direct Known Subclasses:
Command.CommandGetResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a create requeststatic Command.CommandDeleteRequestCreates a delete requeststatic Command.CommandGetRequestCreates a get requeststatic Command.CommandListRequestlist()Creates a list requestCreates an update request
-
Constructor Details
-
Command
public Command()
-
-
Method Details
-
create
Creates a create request- Returns:
- the created request
-
get
Creates a get request- Parameters:
name- the command name- Returns:
- the created request
-
update
@NotNull public static Command.CommandUpdateRequestData.CommandUpdateRequest update(@NotNull String name) Creates an update request- Parameters:
name- the command name- Returns:
- the created request
-
delete
Creates a delete request- Parameters:
name- the command name- Returns:
- the created request
-
list
Creates a list request- Returns:
- the created request
-