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 Android Developer 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 |
getAccessState()
Output only.
|
List<String> |
getDeveloperAccountPermissions()
Permissions for the user which apply across the developer account.
|
String |
getEmail()
Immutable.
|
String |
getExpirationTime()
The time at which the user's access expires, if set.
|
List<Grant> |
getGrants()
Output only.
|
String |
getName()
Required.
|
Boolean |
getPartial()
Output only.
|
User |
set(String fieldName,
Object value) |
User |
setAccessState(String accessState)
Output only.
|
User |
setDeveloperAccountPermissions(List<String> developerAccountPermissions)
Permissions for the user which apply across the developer account.
|
User |
setEmail(String email)
Immutable.
|
User |
setExpirationTime(String expirationTime)
The time at which the user's access expires, if set.
|
User |
setGrants(List<Grant> grants)
Output only.
|
User |
setName(String name)
Required.
|
User |
setPartial(Boolean partial)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAccessState()
null
for nonepublic User setAccessState(String accessState)
accessState
- accessState or null
for nonepublic List<String> getDeveloperAccountPermissions()
null
for nonepublic User setDeveloperAccountPermissions(List<String> developerAccountPermissions)
developerAccountPermissions
- developerAccountPermissions or null
for nonepublic String getEmail()
null
for nonepublic User setEmail(String email)
email
- email or null
for nonepublic String getExpirationTime()
null
for nonepublic User setExpirationTime(String expirationTime)
expirationTime
- expirationTime or null
for nonepublic List<Grant> getGrants()
null
for nonepublic User setGrants(List<Grant> grants)
grants
- grants or null
for nonepublic String getName()
null
for nonepublic User setName(String name)
name
- name or null
for nonepublic Boolean getPartial()
null
for nonepublic User setPartial(Boolean partial)
partial
- partial 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–2025 Google. All rights reserved.