UserRole class

Contains properties of auser role, which is used to manage user access.

Constructors

UserRole({String? accountId, bool? defaultUserRole, String? id, String? kind, String? name, String? parentUserRoleId, List<UserRolePermission>? permissions, String? subaccountId})
UserRole.fromJson(Map json_)

Properties

accountId String?
Account ID of this user role.
getter/setter pair
defaultUserRole bool?
Whether this is a default user role.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
ID of this user role.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
name String?
Name of this user role.
getter/setter pair
parentUserRoleId String?
ID of the user role that this user role is based on or copied from.
getter/setter pair
permissions List<UserRolePermission>?
List of permissions associated with this user role.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subaccountId String?
Subaccount ID of this user role.
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.
inherited

Operators

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