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 Hangouts Chat 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()
The user's display name.
|
String |
getDomainId()
Obfuscated domain information.
|
String |
getName()
Resource name, in the format "users".
|
String |
getType()
User type.
|
User |
set(String fieldName,
Object value) |
User |
setDisplayName(String displayName)
The user's display name.
|
User |
setDomainId(String domainId)
Obfuscated domain information.
|
User |
setName(String name)
Resource name, in the format "users".
|
User |
setType(String type)
User type.
|
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 getDomainId()
null for nonepublic User setDomainId(String domainId)
domainId - domainId or null for nonepublic String getName()
null for nonepublic User setName(String name)
name - name or null for nonepublic String getType()
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.