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 Activity 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() |
Boolean |
getIsDeleted()
A boolean which indicates whether the specified User was deleted.
|
Boolean |
getIsMe()
Whether the user is the authenticated user.
|
String |
getName()
The displayable name of the user.
|
String |
getPermissionId()
The permission ID associated with this user.
|
Photo |
getPhoto()
The profile photo of the user.
|
User |
set(String fieldName,
Object value) |
User |
setIsDeleted(Boolean isDeleted)
A boolean which indicates whether the specified User was deleted.
|
User |
setIsMe(Boolean isMe)
Whether the user is the authenticated user.
|
User |
setName(String name)
The displayable name of the user.
|
User |
setPermissionId(String permissionId)
The permission ID associated with this user.
|
User |
setPhoto(Photo photo)
The profile photo of the user.
|
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 Boolean getIsDeleted()
null for nonepublic User setIsDeleted(Boolean isDeleted)
isDeleted - isDeleted or null for nonepublic Boolean getIsMe()
null for nonepublic User setIsMe(Boolean isMe)
isMe - isMe or null for nonepublic String getName()
null for nonepublic User setName(String name)
name - name or null for nonepublic String getPermissionId()
null for nonepublic User setPermissionId(String permissionId)
permissionId - permissionId or null for nonepublic Photo getPhoto()
null for nonepublic User setPhoto(Photo photo)
photo - photo or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.