MattermostRolesApi class

Constructors

MattermostRolesApi(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

getAllRoles() Future<List<MmRole>?>
Get a list of all the roles
getAllRolesWithHttpInfo() Future<Response>
Get a list of all the roles
getRole(String roleId) Future<MmRole?>
Get a role
getRoleByName(String roleName) Future<MmRole?>
Get a role
getRoleByNameWithHttpInfo(String roleName) Future<Response>
Get a role
getRolesByNames(List<String> requestBody) Future<List<MmRole>?>
Get a list of roles by name
getRolesByNamesWithHttpInfo(List<String> requestBody) Future<Response>
Get a list of roles by name
getRoleWithHttpInfo(String roleId) Future<Response>
Get a role
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchRole(String roleId, MmPatchRoleRequest mmPatchRoleRequest) Future<MmRole?>
Patch a role
patchRoleWithHttpInfo(String roleId, MmPatchRoleRequest mmPatchRoleRequest) Future<Response>
Patch a role
toString() String
A string representation of this object.
inherited

Operators

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