MattermostDataRetentionApi class

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

addChannelsToRetentionPolicy(String policyId, List<String> requestBody) Future<MmStatusOK?>
Add channels to a granular data retention policy
addChannelsToRetentionPolicyWithHttpInfo(String policyId, List<String> requestBody) Future<Response>
Add channels to a granular data retention policy
addTeamsToRetentionPolicy(String policyId, List<String> requestBody) Future<MmStatusOK?>
Add teams to a granular data retention policy
addTeamsToRetentionPolicyWithHttpInfo(String policyId, List<String> requestBody) Future<Response>
Add teams to a granular data retention policy
createDataRetentionPolicy(MmDataRetentionPolicyCreate mmDataRetentionPolicyCreate) Future<MmDataRetentionPolicyWithTeamAndChannelCounts?>
Create a new granular data retention policy
createDataRetentionPolicyWithHttpInfo(MmDataRetentionPolicyCreate mmDataRetentionPolicyCreate) Future<Response>
Create a new granular data retention policy
deleteDataRetentionPolicy(String policyId) Future<MmStatusOK?>
Delete a granular data retention policy
deleteDataRetentionPolicyWithHttpInfo(String policyId) Future<Response>
Delete a granular data retention policy
getChannelPoliciesForUser(String userId, {int? page, int? perPage}) Future<MmRetentionPolicyForChannelList?>
Get the policies which are applied to a user's channels
getChannelPoliciesForUserWithHttpInfo(String userId, {int? page, int? perPage}) Future<Response>
Get the policies which are applied to a user's channels
getChannelsForRetentionPolicy(String policyId, {int? page, int? perPage}) Future<List<MmChannelWithTeamData>?>
Get the channels for a granular data retention policy
getChannelsForRetentionPolicyWithHttpInfo(String policyId, {int? page, int? perPage}) Future<Response>
Get the channels for a granular data retention policy
getDataRetentionPolicies({int? page, int? perPage}) Future<List<MmDataRetentionPolicyWithTeamAndChannelCounts>?>
Get the granular data retention policies
getDataRetentionPoliciesCount() Future<MmGetDataRetentionPoliciesCount200Response?>
Get the number of granular data retention policies
getDataRetentionPoliciesCountWithHttpInfo() Future<Response>
Get the number of granular data retention policies
getDataRetentionPoliciesWithHttpInfo({int? page, int? perPage}) Future<Response>
Get the granular data retention policies
getDataRetentionPolicy() Future<MmGlobalDataRetentionPolicy?>
Get the global data retention policy
getDataRetentionPolicyByID(String policyId) Future<MmDataRetentionPolicyWithTeamAndChannelCounts?>
Get a granular data retention policy
getDataRetentionPolicyByIDWithHttpInfo(String policyId) Future<Response>
Get a granular data retention policy
getDataRetentionPolicyWithHttpInfo() Future<Response>
Get the global data retention policy
getTeamPoliciesForUser(String userId, {int? page, int? perPage}) Future<MmRetentionPolicyForTeamList?>
Get the policies which are applied to a user's teams
getTeamPoliciesForUserWithHttpInfo(String userId, {int? page, int? perPage}) Future<Response>
Get the policies which are applied to a user's teams
getTeamsForRetentionPolicy(String policyId, {int? page, int? perPage}) Future<List<MmTeam>?>
Get the teams for a granular data retention policy
getTeamsForRetentionPolicyWithHttpInfo(String policyId, {int? page, int? perPage}) Future<Response>
Get the teams for a granular data retention policy
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchDataRetentionPolicy(String policyId, MmDataRetentionPolicyWithTeamAndChannelIds mmDataRetentionPolicyWithTeamAndChannelIds) Future<MmDataRetentionPolicyWithTeamAndChannelCounts?>
Patch a granular data retention policy
patchDataRetentionPolicyWithHttpInfo(String policyId, MmDataRetentionPolicyWithTeamAndChannelIds mmDataRetentionPolicyWithTeamAndChannelIds) Future<Response>
Patch a granular data retention policy
removeChannelsFromRetentionPolicy(String policyId, List<String> requestBody) Future<MmStatusOK?>
Delete channels from a granular data retention policy
removeChannelsFromRetentionPolicyWithHttpInfo(String policyId, List<String> requestBody) Future<Response>
Delete channels from a granular data retention policy
removeTeamsFromRetentionPolicy(String policyId, List<String> requestBody) Future<MmStatusOK?>
Delete teams from a granular data retention policy
removeTeamsFromRetentionPolicyWithHttpInfo(String policyId, List<String> requestBody) Future<Response>
Delete teams from a granular data retention policy
searchChannelsForRetentionPolicy(String policyId, MmSearchChannelsForRetentionPolicyRequest mmSearchChannelsForRetentionPolicyRequest) Future<List<MmChannelWithTeamData>?>
Search for the channels in a granular data retention policy
searchChannelsForRetentionPolicyWithHttpInfo(String policyId, MmSearchChannelsForRetentionPolicyRequest mmSearchChannelsForRetentionPolicyRequest) Future<Response>
Search for the channels in a granular data retention policy
searchTeamsForRetentionPolicy(String policyId, MmSearchTeamsForRetentionPolicyRequest mmSearchTeamsForRetentionPolicyRequest) Future<List<MmTeam>?>
Search for the teams in a granular data retention policy
searchTeamsForRetentionPolicyWithHttpInfo(String policyId, MmSearchTeamsForRetentionPolicyRequest mmSearchTeamsForRetentionPolicyRequest) Future<Response>
Search for the teams in a granular data retention policy
toString() String
A string representation of this object.
inherited

Operators

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