MattermostCommandsApi class

Constructors

MattermostCommandsApi(MattermostApiClient apiClient)

Properties

apiClient MattermostApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createCommand(MmCreateCommandRequest mmCreateCommandRequest) Future<MmCommand?>
Create a command
createCommandWithHttpInfo(MmCreateCommandRequest mmCreateCommandRequest) Future<Response>
Create a command
deleteCommand(String commandId) Future<MmStatusOK?>
Delete a command
deleteCommandWithHttpInfo(String commandId) Future<Response>
Delete a command
executeCommand(MmExecuteCommandRequest mmExecuteCommandRequest) Future<MmCommandResponse?>
Execute a command
executeCommandWithHttpInfo(MmExecuteCommandRequest mmExecuteCommandRequest) Future<Response>
Execute a command
getCommandById(String commandId) Future<MmCommand?>
Get a command
getCommandByIdWithHttpInfo(String commandId) Future<Response>
Get a command
listAutocompleteCommands(String teamId) Future<List<MmCommand>?>
List autocomplete commands
listAutocompleteCommandsWithHttpInfo(String teamId) Future<Response>
List autocomplete commands
listCommandAutocompleteSuggestions(String teamId, String userInput) Future<List<MmAutocompleteSuggestion>?>
List commands' autocomplete data
listCommandAutocompleteSuggestionsWithHttpInfo(String teamId, String userInput) Future<Response>
List commands' autocomplete data
listCommands({String? teamId, bool? customOnly}) Future<List<MmCommand>?>
List commands for a team
listCommandsWithHttpInfo({String? teamId, bool? customOnly}) Future<Response>
List commands for a team
moveCommand(String commandId, MmMoveCommandRequest mmMoveCommandRequest) Future<MmStatusOK?>
Move a command
moveCommandWithHttpInfo(String commandId, MmMoveCommandRequest mmMoveCommandRequest) Future<Response>
Move a command
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
regenCommandToken(String commandId) Future<MmRegenCommandToken200Response?>
Generate a new token
regenCommandTokenWithHttpInfo(String commandId) Future<Response>
Generate a new token
toString() String
A string representation of this object.
inherited
updateCommand(String commandId, MmCommand mmCommand) Future<MmCommand?>
Update a command
updateCommandWithHttpInfo(String commandId, MmCommand mmCommand) Future<Response>
Update a command

Operators

operator ==(Object other) bool
The equality operator.
inherited