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 Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
String |
getDisplayName()
A plain text displayable name for this user.
|
String |
getEmailAddress()
The email address of the user.
|
String |
getKind()
Identifies what kind of resource this is.
|
Boolean |
getMe()
Whether this user is the requesting user.
|
String |
getPermissionId()
The user's ID as visible in Permission resources.
|
String |
getPhotoLink()
A link to the user's profile photo, if available.
|
User |
set(String fieldName,
Object value) |
User |
setDisplayName(String displayName)
A plain text displayable name for this user.
|
User |
setEmailAddress(String emailAddress)
The email address of the user.
|
User |
setKind(String kind)
Identifies what kind of resource this is.
|
User |
setMe(Boolean me)
Whether this user is the requesting user.
|
User |
setPermissionId(String permissionId)
The user's ID as visible in Permission resources.
|
User |
setPhotoLink(String photoLink)
A link to the user's profile photo, if available.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDisplayName()
null for nonepublic User setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getEmailAddress()
null for nonepublic User setEmailAddress(String emailAddress)
emailAddress - emailAddress or null for nonepublic String getKind()
null for nonepublic User setKind(String kind)
kind - kind or null for nonepublic Boolean getMe()
null for nonepublic User setMe(Boolean me)
me - me or null for nonepublic String getPermissionId()
null for nonepublic User setPermissionId(String permissionId)
permissionId - permissionId or null for nonepublic String getPhotoLink()
null for nonepublic User setPhotoLink(String photoLink)
photoLink - photoLink or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.