MattermostTeamsApi class

Constructors

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

addTeamMember(String teamId, MmAddTeamMemberRequest mmAddTeamMemberRequest) Future<MmTeamMember?>
Add user to team
addTeamMemberFromInvite(String token) Future<MmTeamMember?>
Add user to team from invite
addTeamMemberFromInviteWithHttpInfo(String token) Future<Response>
Add user to team from invite
addTeamMembers(String teamId, List<MmTeamMember> mmTeamMember, {bool? graceful}) Future<List<MmTeamMember>?>
Add multiple users to team
addTeamMembersWithHttpInfo(String teamId, List<MmTeamMember> mmTeamMember, {bool? graceful}) Future<Response>
Add multiple users to team
addTeamMemberWithHttpInfo(String teamId, MmAddTeamMemberRequest mmAddTeamMemberRequest) Future<Response>
Add user to team
createTeam(MmCreateTeamRequest mmCreateTeamRequest) Future<MmTeam?>
Create a team
createTeamWithHttpInfo(MmCreateTeamRequest mmCreateTeamRequest) Future<Response>
Create a team
getAllTeams({int? page, int? perPage, bool? includeTotalCount, bool? excludePolicyConstrained}) Future<List<MmTeam>?>
Get teams
getAllTeamsWithHttpInfo({int? page, int? perPage, bool? includeTotalCount, bool? excludePolicyConstrained}) Future<Response>
Get teams
getTeam(String teamId) Future<MmTeam?>
Get a team
getTeamByName(String name) Future<MmTeam?>
Get a team by name
getTeamByNameWithHttpInfo(String name) Future<Response>
Get a team by name
getTeamIcon(String teamId) Future<void>
Get the team icon
getTeamIconWithHttpInfo(String teamId) Future<Response>
Get the team icon
getTeamInviteInfo(String inviteId) Future<MmGetTeamInviteInfo200Response?>
Get invite info for a team
getTeamInviteInfoWithHttpInfo(String inviteId) Future<Response>
Get invite info for a team
getTeamMember(String teamId, String userId) Future<MmTeamMember?>
Get a team member
getTeamMembers(String teamId, {int? page, int? perPage}) Future<List<MmTeamMember>?>
Get team members
getTeamMembersByIds(String teamId, List<String> requestBody) Future<List<MmTeamMember>?>
Get team members by ids
getTeamMembersByIdsWithHttpInfo(String teamId, List<String> requestBody) Future<Response>
Get team members by ids
getTeamMembersForUser(String userId) Future<List<MmTeamMember>?>
Get team members for a user
getTeamMembersForUserWithHttpInfo(String userId) Future<Response>
Get team members for a user
getTeamMembersWithHttpInfo(String teamId, {int? page, int? perPage}) Future<Response>
Get team members
getTeamMemberWithHttpInfo(String teamId, String userId) Future<Response>
Get a team member
getTeamsForUser(String userId) Future<List<MmTeam>?>
Get a user's teams
getTeamsForUserWithHttpInfo(String userId) Future<Response>
Get a user's teams
getTeamStats(String teamId) Future<MmTeamStats?>
Get a team stats
getTeamStatsWithHttpInfo(String teamId) Future<Response>
Get a team stats
getTeamsUnreadForUser(String userId, String excludeTeam, {bool? includeCollapsedThreads}) Future<List<MmTeamUnread>?>
Get team unreads for a user
getTeamsUnreadForUserWithHttpInfo(String userId, String excludeTeam, {bool? includeCollapsedThreads}) Future<Response>
Get team unreads for a user
getTeamUnread(String userId, String teamId) Future<MmTeamUnread?>
Get unreads for a team
getTeamUnreadWithHttpInfo(String userId, String teamId) Future<Response>
Get unreads for a team
getTeamWithHttpInfo(String teamId) Future<Response>
Get a team
importTeam(String teamId, MultipartFile file, int filesize, String importFrom) Future<MmImportTeam200Response?>
Import a Team from other application
importTeamWithHttpInfo(String teamId, MultipartFile file, int filesize, String importFrom) Future<Response>
Import a Team from other application
invalidateEmailInvites() Future<MmStatusOK?>
Invalidate active email invitations
invalidateEmailInvitesWithHttpInfo() Future<Response>
Invalidate active email invitations
inviteGuestsToTeam(String teamId, MmInviteGuestsToTeamRequest mmInviteGuestsToTeamRequest) Future<MmStatusOK?>
Invite guests to the team by email
inviteGuestsToTeamWithHttpInfo(String teamId, MmInviteGuestsToTeamRequest mmInviteGuestsToTeamRequest) Future<Response>
Invite guests to the team by email
inviteUsersToTeam(String teamId, List<String> requestBody) Future<MmStatusOK?>
Invite users to the team by email
inviteUsersToTeamWithHttpInfo(String teamId, List<String> requestBody) Future<Response>
Invite users to the team by email
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchTeam(String teamId, MmPatchTeamRequest mmPatchTeamRequest) Future<MmTeam?>
Patch a team
patchTeamWithHttpInfo(String teamId, MmPatchTeamRequest mmPatchTeamRequest) Future<Response>
Patch a team
regenerateTeamInviteId(String teamId) Future<MmTeam?>
Regenerate the Invite ID from a Team
regenerateTeamInviteIdWithHttpInfo(String teamId) Future<Response>
Regenerate the Invite ID from a Team
removeTeamIcon(String teamId) Future<MmStatusOK?>
Remove the team icon
removeTeamIconWithHttpInfo(String teamId) Future<Response>
Remove the team icon
removeTeamMember(String teamId, String userId) Future<MmStatusOK?>
Remove user from team
removeTeamMemberWithHttpInfo(String teamId, String userId) Future<Response>
Remove user from team
restoreTeam(String teamId) Future<MmTeam?>
Restore a team
restoreTeamWithHttpInfo(String teamId) Future<Response>
Restore a team
searchFiles(String teamId, String terms, bool isOrSearch, {int? timeZoneOffset, bool? includeDeletedChannels, int? page, int? perPage}) Future<MmFileInfoList?>
Search files in a team
searchFilesWithHttpInfo(String teamId, String terms, bool isOrSearch, {int? timeZoneOffset, bool? includeDeletedChannels, int? page, int? perPage}) Future<Response>
Search files in a team
searchTeams(MmSearchTeamsRequest mmSearchTeamsRequest) Future<MmSearchTeams200Response?>
Search teams
searchTeamsWithHttpInfo(MmSearchTeamsRequest mmSearchTeamsRequest) Future<Response>
Search teams
setTeamIcon(String teamId, MultipartFile image) Future<MmStatusOK?>
Sets the team icon
setTeamIconWithHttpInfo(String teamId, MultipartFile image) Future<Response>
Sets the team icon
softDeleteTeam(String teamId, {bool? permanent}) Future<MmStatusOK?>
Delete a team
softDeleteTeamWithHttpInfo(String teamId, {bool? permanent}) Future<Response>
Delete a team
teamExists(String name) Future<MmTeamExists?>
Check if team exists
teamExistsWithHttpInfo(String name) Future<Response>
Check if team exists
teamMembersMinusGroupMembers(String teamId, String groupIds, {int? page, int? perPage}) Future<void>
Team members minus group members.
teamMembersMinusGroupMembersWithHttpInfo(String teamId, String groupIds, {int? page, int? perPage}) Future<Response>
Team members minus group members.
toString() String
A string representation of this object.
inherited
updateTeam(String teamId, MmUpdateTeamRequest mmUpdateTeamRequest) Future<MmTeam?>
Update a team
updateTeamMemberRoles(String teamId, String userId, MmUpdateUserRolesRequest mmUpdateUserRolesRequest) Future<MmStatusOK?>
Update a team member roles
updateTeamMemberRolesWithHttpInfo(String teamId, String userId, MmUpdateUserRolesRequest mmUpdateUserRolesRequest) Future<Response>
Update a team member roles
updateTeamMemberSchemeRoles(String teamId, String userId, MmUpdateTeamMemberSchemeRolesRequest mmUpdateTeamMemberSchemeRolesRequest) Future<MmStatusOK?>
Update the scheme-derived roles of a team member.
updateTeamMemberSchemeRolesWithHttpInfo(String teamId, String userId, MmUpdateTeamMemberSchemeRolesRequest mmUpdateTeamMemberSchemeRolesRequest) Future<Response>
Update the scheme-derived roles of a team member.
updateTeamPrivacy(String teamId, MmUpdateTeamPrivacyRequest mmUpdateTeamPrivacyRequest) Future<MmTeam?>
Update teams's privacy
updateTeamPrivacyWithHttpInfo(String teamId, MmUpdateTeamPrivacyRequest mmUpdateTeamPrivacyRequest) Future<Response>
Update teams's privacy
updateTeamScheme(String teamId, MmUpdateTeamSchemeRequest mmUpdateTeamSchemeRequest) Future<MmStatusOK?>
Set a team's scheme
updateTeamSchemeWithHttpInfo(String teamId, MmUpdateTeamSchemeRequest mmUpdateTeamSchemeRequest) Future<Response>
Set a team's scheme
updateTeamWithHttpInfo(String teamId, MmUpdateTeamRequest mmUpdateTeamRequest) Future<Response>
Update a team

Operators

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