Group class

Represents a Microsoft 365 group in Microsoft Graph API.

Annotations
  • @JsonSerializable()

Constructors

Group.new({String? id, String? displayName, String? mail, String? mailNickname, String? description, String? visibility, String? groupLifecyclePolicy, DateTime? createdDateTime, String? classification, bool? hasExternalMembers, List<String>? proxyAddresses, String? mailboxSettings, bool? isArchived, String? legalAgeGroupClassification, bool? isSubscribedByMail, bool? isFavorite, DateTime? renewedDateTime, bool? securityEnabled, String? securityIdentifier, bool? mailEnabled, List<String>? theme, List<String>? groupTypes, String? membershipRule, bool? membershipRuleProcessingState, String? preferredDataLocation, String? preferredLanguage})
Group.empty()
const
Group.fromJson(Map<String, dynamic> json)
factory

Properties

classification String?
The classification of the group if available.
final
createdDateTime DateTime?
The time when the group was created.
final
description String?
The description of the group.
final
displayName String?
The display name for the group.
final
groupLifecyclePolicy String?
The renewal policy of the group.
final
groupTypes List<String>?
Group types.
final
hasExternalMembers bool?
Whether there are any external members in the group.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the group.
final
isArchived bool?
Whether the group is archived.
final
isFavorite bool?
Whether the group is a favorite.
final
isSubscribedByMail bool?
Whether the group is subscribed to by the current user.
final
legalAgeGroupClassification String?
Legal age group classification for the group.
final
mail String?
The mail address for the group.
final
mailboxSettings String?
The URL to use when accessing the group's mailbox.
final
mailEnabled bool?
Mail enabled status.
final
mailNickname String?
The mail nickname for the group.
final
membershipRule String?
Membership rule.
final
membershipRuleProcessingState bool?
Whether membership rule is processed.
final
preferredDataLocation String?
Preferred data location.
final
preferredLanguage String?
Preferred language.
final
proxyAddresses List<String>?
Email addresses for the group (SMTP addresses).
final
renewedDateTime DateTime?
The timestamp when the group was last renewed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityEnabled bool?
Security enabled status.
final
securityIdentifier String?
Security identifier.
final
theme List<String>?
Themes.
final
visibility String?
The visibility of the group. Options are: Private, Public, or HiddenMembership.
final

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.
inherited

Operators

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