User class

JSON template for User object in Directory API.

Constructors

User()
User.fromJson(Map _json)

Properties

addresses ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
agreedToTerms ↔ bool
Indicates if user has agreed to terms (Read-only)
read / write
aliases ↔ List<String>
List of aliases (Read-only)
read / write
archived ↔ bool
Indicates if user is archived.
read / write
changePasswordAtNextLogin ↔ bool
Boolean indicating if the user should change password in next login
read / write
creationTime ↔ DateTime
User's G Suite account creation time. (Read-only)
read / write
customerId ↔ String
CustomerId of User (Read-only)
read / write
customSchemas ↔ Map<String, UserCustomProperties>
Custom fields of the user.
read / write
deletionTime ↔ DateTime
read / write
emails ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
etag ↔ String
ETag of the resource.
read / write
externalIds ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
gender ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
hashFunction ↔ String
Hash function name for password. Supported are MD5, SHA-1 and crypt
read / write
id ↔ String
Unique identifier of User (Read-only)
read / write
ims ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
includeInGlobalAddressList ↔ bool
Boolean indicating if user is included in Global Address List
read / write
ipWhitelisted ↔ bool
Boolean indicating if ip is whitelisted
read / write
isAdmin ↔ bool
Boolean indicating if the user is admin (Read-only)
read / write
isDelegatedAdmin ↔ bool
Boolean indicating if the user is delegated admin (Read-only)
read / write
isEnforcedIn2Sv ↔ bool
Is 2-step verification enforced (Read-only)
read / write
isEnrolledIn2Sv ↔ bool
Is enrolled in 2-step verification (Read-only)
read / write
isMailboxSetup ↔ bool
Is mailbox setup (Read-only)
read / write
keywords ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
kind ↔ String
Kind of resource this is.
read / write
languages ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
lastLoginTime ↔ DateTime
User's last login time. (Read-only)
read / write
locations ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
name UserName
User's name
read / write
nonEditableAliases ↔ List<String>
List of non editable aliases (Read-only)
read / write
notes ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
organizations ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
orgUnitPath ↔ String
OrgUnit of User
read / write
password ↔ String
User's password
read / write
phones ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
posixAccounts ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
primaryEmail ↔ String
username of User
read / write
relations ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
sshPublicKeys ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
read / write
suspended ↔ bool
Indicates if user is suspended.
read / write
suspensionReason ↔ String
Suspension reason if user is suspended (Read-only)
read / write
thumbnailPhotoEtag ↔ String
ETag of the user's photo (Read-only)
read / write
thumbnailPhotoUrl ↔ String
Photo Url of the user (Read-only)
read / write
websites ↔ Object
The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.
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

Methods

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

Operators

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