Role class

JSON template for role resource in Directory API.


Role.fromJson(Map _json)


etag ↔ String
ETag of the resource.
read / write
isSuperAdminRole ↔ bool
Returns true if the role is a super admin role.
read / write
isSystemRole ↔ bool
Returns true if this is a pre-defined system role.
read / write
kind ↔ String
The type of the API resource. This is always admin#directory#role.
read / write
roleDescription ↔ String
A short description of the role.
read / write
roleId ↔ String
ID of the role.
read / write
roleName ↔ String
Name of the role.
read / write
rolePrivileges ↔ List<RoleRolePrivileges>
The set of privileges that are granted to this role.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.