public final class User extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin Directory API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
List<UserAddress> |
getAddresses()
Addresses of User
|
Boolean |
getAgreedToTerms()
Indicates if user has agreed to terms (Read-only)
|
List<String> |
getAliases()
List of aliases (Read-only)
|
Boolean |
getChangePasswordAtNextLogin()
Boolean indicating if the user should change password in next login
|
DateTime |
getCreationTime()
User's Google account creation time.
|
String |
getCustomerId()
CustomerId of User (Read-only)
|
DateTime |
getDeletionTime() |
List<UserEmail> |
getEmails()
Emails of User
|
List<UserExternalId> |
getExternalIds()
The external Ids of User *
|
String |
getHashFunction()
Hash function name for password.
|
String |
getId()
Unique identifier of User (Read-only)
|
List<UserIm> |
getIms()
User's Instant Messenger
|
Boolean |
getIncludeInGlobalAddressList()
Boolean indicating if user is included in Global Address List
|
Boolean |
getIpWhitelisted()
Boolean indicating if ip is whitelisted
|
Boolean |
getIsAdmin()
Boolean indicating if the user is admin (Read-only)
|
Boolean |
getIsDelegatedAdmin()
Boolean indicating if the user is delegated admin (Read-only)
|
Boolean |
getIsMailboxSetup()
Is mailbox setup (Read-only)
|
String |
getKind()
Kind of resource this is.
|
DateTime |
getLastLoginTime()
User's last login time.
|
UserName |
getName()
User's name
|
List<String> |
getNonEditableAliases()
List of non editable aliases (Read-only)
|
List<UserOrganization> |
getOrganizations()
Organizations of User
|
String |
getOrgUnitPath()
OrgUnit of User
|
String |
getPassword()
User's password
|
List<UserPhone> |
getPhones()
Phone numbers of User
|
String |
getPrimaryEmail()
username of User
|
List<UserRelation> |
getRelations()
The Relations of User *
|
Boolean |
getSuspended()
Indicates if user is suspended
|
String |
getSuspensionReason()
Suspension reason if user is suspended (Read-only)
|
String |
getThumbnailPhotoUrl()
Photo Url of the user (Read-only)
|
User |
set(String fieldName,
Object value) |
User |
setAddresses(List<UserAddress> addresses)
Addresses of User
|
User |
setAgreedToTerms(Boolean agreedToTerms)
Indicates if user has agreed to terms (Read-only)
|
User |
setAliases(List<String> aliases)
List of aliases (Read-only)
|
User |
setChangePasswordAtNextLogin(Boolean changePasswordAtNextLogin)
Boolean indicating if the user should change password in next login
|
User |
setCreationTime(DateTime creationTime)
User's Google account creation time.
|
User |
setCustomerId(String customerId)
CustomerId of User (Read-only)
|
User |
setDeletionTime(DateTime deletionTime) |
User |
setEmails(List<UserEmail> emails)
Emails of User
|
User |
setExternalIds(List<UserExternalId> externalIds)
The external Ids of User *
|
User |
setHashFunction(String hashFunction)
Hash function name for password.
|
User |
setId(String id)
Unique identifier of User (Read-only)
|
User |
setIms(List<UserIm> ims)
User's Instant Messenger
|
User |
setIncludeInGlobalAddressList(Boolean includeInGlobalAddressList)
Boolean indicating if user is included in Global Address List
|
User |
setIpWhitelisted(Boolean ipWhitelisted)
Boolean indicating if ip is whitelisted
|
User |
setIsAdmin(Boolean isAdmin)
Boolean indicating if the user is admin (Read-only)
|
User |
setIsDelegatedAdmin(Boolean isDelegatedAdmin)
Boolean indicating if the user is delegated admin (Read-only)
|
User |
setIsMailboxSetup(Boolean isMailboxSetup)
Is mailbox setup (Read-only)
|
User |
setKind(String kind)
Kind of resource this is.
|
User |
setLastLoginTime(DateTime lastLoginTime)
User's last login time.
|
User |
setName(UserName name)
User's name
|
User |
setNonEditableAliases(List<String> nonEditableAliases)
List of non editable aliases (Read-only)
|
User |
setOrganizations(List<UserOrganization> organizations)
Organizations of User
|
User |
setOrgUnitPath(String orgUnitPath)
OrgUnit of User
|
User |
setPassword(String password)
User's password
|
User |
setPhones(List<UserPhone> phones)
Phone numbers of User
|
User |
setPrimaryEmail(String primaryEmail)
username of User
|
User |
setRelations(List<UserRelation> relations)
The Relations of User *
|
User |
setSuspended(Boolean suspended)
Indicates if user is suspended
|
User |
setSuspensionReason(String suspensionReason)
Suspension reason if user is suspended (Read-only)
|
User |
setThumbnailPhotoUrl(String thumbnailPhotoUrl)
Photo Url of the user (Read-only)
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<UserAddress> getAddresses()
null for nonepublic User setAddresses(List<UserAddress> addresses)
addresses - addresses or null for nonepublic Boolean getAgreedToTerms()
null for nonepublic User setAgreedToTerms(Boolean agreedToTerms)
agreedToTerms - agreedToTerms or null for nonepublic List<String> getAliases()
null for nonepublic User setAliases(List<String> aliases)
aliases - aliases or null for nonepublic Boolean getChangePasswordAtNextLogin()
null for nonepublic User setChangePasswordAtNextLogin(Boolean changePasswordAtNextLogin)
changePasswordAtNextLogin - changePasswordAtNextLogin or null for nonepublic DateTime getCreationTime()
null for nonepublic User setCreationTime(DateTime creationTime)
creationTime - creationTime or null for nonepublic String getCustomerId()
null for nonepublic User setCustomerId(String customerId)
customerId - customerId or null for nonepublic DateTime getDeletionTime()
null for nonepublic User setDeletionTime(DateTime deletionTime)
deletionTime - deletionTime or null for nonepublic User setEmails(List<UserEmail> emails)
emails - emails or null for nonepublic List<UserExternalId> getExternalIds()
null for nonepublic User setExternalIds(List<UserExternalId> externalIds)
externalIds - externalIds or null for nonepublic String getHashFunction()
null for nonepublic User setHashFunction(String hashFunction)
hashFunction - hashFunction or null for nonepublic String getId()
null for nonepublic User setId(String id)
id - id or null for nonepublic User setIms(List<UserIm> ims)
ims - ims or null for nonepublic Boolean getIncludeInGlobalAddressList()
null for nonepublic User setIncludeInGlobalAddressList(Boolean includeInGlobalAddressList)
includeInGlobalAddressList - includeInGlobalAddressList or null for nonepublic Boolean getIpWhitelisted()
null for nonepublic User setIpWhitelisted(Boolean ipWhitelisted)
ipWhitelisted - ipWhitelisted or null for nonepublic Boolean getIsAdmin()
null for nonepublic User setIsAdmin(Boolean isAdmin)
isAdmin - isAdmin or null for nonepublic Boolean getIsDelegatedAdmin()
null for nonepublic User setIsDelegatedAdmin(Boolean isDelegatedAdmin)
isDelegatedAdmin - isDelegatedAdmin or null for nonepublic Boolean getIsMailboxSetup()
null for nonepublic User setIsMailboxSetup(Boolean isMailboxSetup)
isMailboxSetup - isMailboxSetup or null for nonepublic String getKind()
null for nonepublic User setKind(String kind)
kind - kind or null for nonepublic DateTime getLastLoginTime()
null for nonepublic User setLastLoginTime(DateTime lastLoginTime)
lastLoginTime - lastLoginTime or null for nonepublic UserName getName()
null for nonepublic List<String> getNonEditableAliases()
null for nonepublic User setNonEditableAliases(List<String> nonEditableAliases)
nonEditableAliases - nonEditableAliases or null for nonepublic String getOrgUnitPath()
null for nonepublic User setOrgUnitPath(String orgUnitPath)
orgUnitPath - orgUnitPath or null for nonepublic List<UserOrganization> getOrganizations()
null for nonepublic User setOrganizations(List<UserOrganization> organizations)
organizations - organizations or null for nonepublic String getPassword()
null for nonepublic User setPassword(String password)
password - password or null for nonepublic User setPhones(List<UserPhone> phones)
phones - phones or null for nonepublic String getPrimaryEmail()
null for nonepublic User setPrimaryEmail(String primaryEmail)
primaryEmail - primaryEmail or null for nonepublic List<UserRelation> getRelations()
null for nonepublic User setRelations(List<UserRelation> relations)
relations - relations or null for nonepublic Boolean getSuspended()
null for nonepublic User setSuspended(Boolean suspended)
suspended - suspended or null for nonepublic String getSuspensionReason()
null for nonepublic User setSuspensionReason(String suspensionReason)
suspensionReason - suspensionReason or null for nonepublic String getThumbnailPhotoUrl()
null for nonepublic User setThumbnailPhotoUrl(String thumbnailPhotoUrl)
thumbnailPhotoUrl - thumbnailPhotoUrl or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJson