public final class Account 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 Google Analytics API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.ChildLink
Child link for an account entry.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
Account |
clone() |
Account.ChildLink |
getChildLink()
Child link for an account entry.
|
DateTime |
getCreated()
Time the account was created.
|
String |
getId()
Account ID.
|
String |
getKind()
Resource type for Analytics account.
|
String |
getName()
Account name.
|
String |
getSelfLink()
Link for this account.
|
DateTime |
getUpdated()
Time the account was last modified.
|
Account |
set(String fieldName,
Object value) |
Account |
setChildLink(Account.ChildLink childLink)
Child link for an account entry.
|
Account |
setCreated(DateTime created)
Time the account was created.
|
Account |
setId(String id)
Account ID.
|
Account |
setKind(String kind)
Resource type for Analytics account.
|
Account |
setName(String name)
Account name.
|
Account |
setSelfLink(String selfLink)
Link for this account.
|
Account |
setUpdated(DateTime updated)
Time the account was last modified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Account.ChildLink getChildLink()
null for nonepublic Account setChildLink(Account.ChildLink childLink)
childLink - childLink or null for nonepublic DateTime getCreated()
null for nonepublic Account setCreated(DateTime created)
created - created or null for nonepublic String getId()
null for nonepublic String getKind()
null for nonepublic Account setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic String getSelfLink()
null for nonepublic Account setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic DateTime getUpdated()
null for nonepublic Account setUpdated(DateTime updated)
updated - updated or null for nonepublic Account set(String fieldName, Object value)
set in class GenericJsonpublic Account clone()
clone in class GenericJson