public final class User
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
java.lang.String |
getDisplayName()
The user's display name.
|
java.lang.String |
getDomainId()
Obfuscated domain information.
|
java.lang.String |
getName()
Resource name, in the format "users".
|
java.lang.String |
getType()
User type.
|
User |
set(java.lang.String fieldName,
java.lang.Object value) |
User |
setDisplayName(java.lang.String displayName)
The user's display name.
|
User |
setDomainId(java.lang.String domainId)
Obfuscated domain information.
|
User |
setName(java.lang.String name)
Resource name, in the format "users".
|
User |
setType(java.lang.String type)
User type.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getDisplayName()
null for nonepublic User setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic java.lang.String getDomainId()
null for nonepublic User setDomainId(java.lang.String domainId)
domainId - domainId or null for nonepublic java.lang.String getName()
null for nonepublic User setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getType()
null for nonepublic User setType(java.lang.String type)
type - type or null for nonepublic User set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic User clone()
clone in class com.google.api.client.json.GenericJson