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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
User |
clone() |
String |
getAccountIdentifier()
A unique identifier you create for this user, such as "user342" or "asset#44418".
|
String |
getAccountType()
The type of account that this user represents.
|
String |
getDisplayName()
The name that will appear in user interfaces.
|
String |
getId()
The unique ID for the user.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getManagementType()
The entity that manages the user.
|
String |
getPrimaryEmail()
The user's primary email address, for example, "jsmith@example.com".
|
User |
set(String fieldName,
Object value) |
User |
setAccountIdentifier(String accountIdentifier)
A unique identifier you create for this user, such as "user342" or "asset#44418".
|
User |
setAccountType(String accountType)
The type of account that this user represents.
|
User |
setDisplayName(String displayName)
The name that will appear in user interfaces.
|
User |
setId(String id)
The unique ID for the user.
|
User |
setKind(String kind)
Identifies what kind of resource this is.
|
User |
setManagementType(String managementType)
The entity that manages the user.
|
User |
setPrimaryEmail(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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccountIdentifier()
null
for nonepublic User setAccountIdentifier(String accountIdentifier)
accountIdentifier
- accountIdentifier or null
for nonepublic String getAccountType()
null
for nonepublic User setAccountType(String accountType)
accountType
- accountType or null
for nonepublic String getDisplayName()
null
for nonepublic User setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic String getId()
null
for nonepublic String getKind()
null
for nonepublic User setKind(String kind)
kind
- kind or null
for nonepublic String getManagementType()
null
for nonepublic User setManagementType(String managementType)
managementType
- managementType or null
for nonepublic String getPrimaryEmail()
null
for nonepublic User setPrimaryEmail(String primaryEmail)
primaryEmail
- primaryEmail or null
for nonepublic User set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public User clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.