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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
| 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.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 |
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.
|
clone, getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Account.ChildLink getChildLink()
null.public Account setChildLink(Account.ChildLink childLink)
null.public DateTime getCreated()
null.public Account setCreated(DateTime created)
null.public String getId()
null.public String getKind()
null.public Account setKind(String kind)
null.public String getName()
null.public String getSelfLink()
null.public Account setSelfLink(String selfLink)
null.public DateTime getUpdated()
null.