public final class UserProfile 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 Google Classroom 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 |
|---|
UserProfile() |
| Modifier and Type | Method and Description |
|---|---|
UserProfile |
clone() |
String |
getEmailAddress()
Email address of the user.
|
String |
getId()
Identifier of the user.
|
Name |
getName()
Name of the user.
|
List<GlobalPermission> |
getPermissions()
Global permissions of the user.
|
String |
getPhotoUrl()
URL of user's profile photo.
|
Boolean |
getVerifiedTeacher()
Represents whether a G Suite for Education user's domain administrator has explicitly verified
them as being a teacher.
|
UserProfile |
set(String fieldName,
Object value) |
UserProfile |
setEmailAddress(String emailAddress)
Email address of the user.
|
UserProfile |
setId(String id)
Identifier of the user.
|
UserProfile |
setName(Name name)
Name of the user.
|
UserProfile |
setPermissions(List<GlobalPermission> permissions)
Global permissions of the user.
|
UserProfile |
setPhotoUrl(String photoUrl)
URL of user's profile photo.
|
UserProfile |
setVerifiedTeacher(Boolean verifiedTeacher)
Represents whether a G Suite for Education user's domain administrator has explicitly verified
them as being a teacher.
|
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 getEmailAddress()
null for nonepublic UserProfile setEmailAddress(String emailAddress)
emailAddress - emailAddress or null for nonepublic String getId()
null for nonepublic UserProfile setId(String id)
id - id or null for nonepublic Name getName()
null for nonepublic UserProfile setName(Name name)
name - name or null for nonepublic List<GlobalPermission> getPermissions()
null for nonepublic UserProfile setPermissions(List<GlobalPermission> permissions)
permissions - permissions or null for nonepublic String getPhotoUrl()
null for nonepublic UserProfile setPhotoUrl(String photoUrl)
photoUrl - photoUrl or null for nonepublic Boolean getVerifiedTeacher()
null for nonepublic UserProfile setVerifiedTeacher(Boolean verifiedTeacher)
verifiedTeacher - verifiedTeacher or null for nonepublic UserProfile set(String fieldName, Object value)
set in class GenericJsonpublic UserProfile clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.