MmSearchTeamsRequest class

Constructors

MmSearchTeamsRequest({String? term, String? page, String? perPage, bool? allowOpenInvite, bool? groupConstrained, bool excludePolicyConstrained = false})
Returns a new MmSearchTeamsRequest instance.

Properties

allowOpenInvite bool?
Filters results to teams where allow_open_invite is set to true or false, excludes group constrained channels if this filter option is passed. If this filter option is not passed then the query will remain unchanged. Minimum server version: 5.28
getter/setter pair
excludePolicyConstrained bool
If set to true, only teams which do not have a granular retention policy assigned to them will be returned. The sysconsole_read_compliance_data_retention permission is required to use this parameter. Minimum server version: 5.35
getter/setter pair
groupConstrained bool?
Filters results to teams where group_constrained is set to true or false, returns the union of results when used with allow_open_invite If the filter option is not passed then the query will remain unchanged. Minimum server version: 5.28
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
page String?
The page number to return, if paginated. If this parameter is not present with the per_page parameter then the results will be returned un-paged.
getter/setter pair
perPage String?
The number of entries to return per page, if paginated. If this parameter is not present with the page parameter then the results will be returned un-paged.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
term String?
The search term to match against the name or display name of teams
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) MmSearchTeamsRequest?
Returns a new MmSearchTeamsRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<MmSearchTeamsRequest>?
mapFromJson(dynamic json) Map<String, MmSearchTeamsRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<MmSearchTeamsRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.