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 Google Play EMM 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 |
getAccountIdentifier()
A unique identifier you create for this user, such as "user342" or "asset#44418".
|
java.lang.String |
getAccountType()
The type of account that this user represents.
|
java.lang.String |
getDisplayName()
The name that will appear in user interfaces.
|
java.lang.String |
getId()
The unique ID for the user.
|
java.lang.String |
getKind() |
java.lang.String |
getManagementType()
The entity that manages the user.
|
java.lang.String |
getPrimaryEmail()
The user's primary email address, for example, "jsmith@example.com".
|
User |
set(java.lang.String fieldName,
java.lang.Object value) |
User |
setAccountIdentifier(java.lang.String accountIdentifier)
A unique identifier you create for this user, such as "user342" or "asset#44418".
|
User |
setAccountType(java.lang.String accountType)
The type of account that this user represents.
|
User |
setDisplayName(java.lang.String displayName)
The name that will appear in user interfaces.
|
User |
setId(java.lang.String id)
The unique ID for the user.
|
User |
setKind(java.lang.String kind) |
User |
setManagementType(java.lang.String managementType)
The entity that manages the user.
|
User |
setPrimaryEmail(java.lang.String primaryEmail)
The user's primary email address, for example, "jsmith@example.com".
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccountIdentifier()
null
for nonepublic User setAccountIdentifier(java.lang.String accountIdentifier)
accountIdentifier
- accountIdentifier or null
for nonepublic java.lang.String getAccountType()
null
for nonepublic User setAccountType(java.lang.String accountType)
accountType
- accountType or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic User setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getId()
null
for nonepublic User setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic User setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getManagementType()
null
for nonepublic User setManagementType(java.lang.String managementType)
managementType
- managementType or null
for nonepublic java.lang.String getPrimaryEmail()
null
for nonepublic User setPrimaryEmail(java.lang.String primaryEmail)
primaryEmail
- primaryEmail or null
for nonepublic User set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public User clone()
clone
in class com.google.api.client.json.GenericJson