Permission class

Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.

Constructors

Permission({required String granteeId, required MemberType granteeType, required List<PermissionType> permissionValues})
Permission.fromJson(Map<String, dynamic> json)
factory

Properties

granteeId String
The identifier of the user, group, or resource to which the permissions are granted.
final
granteeType MemberType
The type of user, group, or resource referred to in GranteeId.
final
hashCode int
The hash code for this object.
no setterinherited
permissionValues List<PermissionType>
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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