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 Compute Accounts API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
List<String> |
getGroups()
[Output Only] A list of URLs to Group resources who contain the user.
|
BigInteger |
getId()
[Output Only] Unique identifier for the resource; defined by the server.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getOwner()
Email address of account's owner.
|
List<PublicKey> |
getPublicKeys()
[Output Only] Public keys that this user may use to login.
|
String |
getSelfLink()
[Output Only] Server defined URL for the resource.
|
User |
set(String fieldName,
Object value) |
User |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
User |
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
User |
setGroups(List<String> groups)
[Output Only] A list of URLs to Group resources who contain the user.
|
User |
setId(BigInteger id)
[Output Only] Unique identifier for the resource; defined by the server.
|
User |
setKind(String kind)
[Output Only] Type of the resource.
|
User |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
User |
setOwner(String owner)
Email address of account's owner.
|
User |
setPublicKeys(List<PublicKey> publicKeys)
[Output Only] Public keys that this user may use to login.
|
User |
setSelfLink(String selfLink)
[Output Only] Server defined URL for the resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getCreationTimestamp()
null for nonepublic User setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic User setDescription(String description)
description - description or null for nonepublic List<String> getGroups()
null for nonepublic User setGroups(List<String> groups)
groups - groups or null for nonepublic BigInteger getId()
null for nonepublic User setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic User setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic User setName(String name)
name - name or null for nonepublic String getOwner()
null for nonepublic User setOwner(String owner)
owner - owner or null for nonepublic List<PublicKey> getPublicKeys()
null for nonepublic User setPublicKeys(List<PublicKey> publicKeys)
publicKeys - publicKeys or null for nonepublic String getSelfLink()
null for nonepublic User setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJson