public final class Account
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 Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
Account.ChildLink
Child link for an account entry.
|
static class |
Account.Permissions
Permissions the user has for this account.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
Account |
clone() |
Account.ChildLink |
getChildLink()
Child link for an account entry.
|
com.google.api.client.util.DateTime |
getCreated()
Time the account was created.
|
java.lang.String |
getId()
Account ID.
|
java.lang.String |
getKind()
Resource type for Analytics account.
|
java.lang.String |
getName()
Account name.
|
Account.Permissions |
getPermissions()
Permissions the user has for this account.
|
java.lang.String |
getSelfLink()
Link for this account.
|
java.lang.Boolean |
getStarred()
Indicates whether this account is starred or not.
|
com.google.api.client.util.DateTime |
getUpdated()
Time the account was last modified.
|
Account |
set(java.lang.String fieldName,
java.lang.Object value) |
Account |
setChildLink(Account.ChildLink childLink)
Child link for an account entry.
|
Account |
setCreated(com.google.api.client.util.DateTime created)
Time the account was created.
|
Account |
setId(java.lang.String id)
Account ID.
|
Account |
setKind(java.lang.String kind)
Resource type for Analytics account.
|
Account |
setName(java.lang.String name)
Account name.
|
Account |
setPermissions(Account.Permissions permissions)
Permissions the user has for this account.
|
Account |
setSelfLink(java.lang.String selfLink)
Link for this account.
|
Account |
setStarred(java.lang.Boolean starred)
Indicates whether this account is starred or not.
|
Account |
setUpdated(com.google.api.client.util.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 com.google.api.client.util.DateTime getCreated()
null for nonepublic Account setCreated(com.google.api.client.util.DateTime created)
created - created or null for nonepublic java.lang.String getId()
null for nonepublic Account setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Account setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Account setName(java.lang.String name)
name - name or null for nonepublic Account.Permissions getPermissions()
null for nonepublic Account setPermissions(Account.Permissions permissions)
permissions - permissions or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Account setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Boolean getStarred()
null for nonepublic Account setStarred(java.lang.Boolean starred)
starred - starred or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Account setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic Account set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Account clone()
clone in class com.google.api.client.json.GenericJson