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: 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.
|
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.
|
Account.Permissions |
getPermissions()
Permissions the user has for this account.
|
String |
getSelfLink()
Link for this account.
|
Boolean |
getStarred()
Indicates whether this account is starred or not.
|
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 |
setPermissions(Account.Permissions permissions)
Permissions the user has for this account.
|
Account |
setSelfLink(String selfLink)
Link for this account.
|
Account |
setStarred(Boolean starred)
Indicates whether this account is starred or not.
|
Account |
setUpdated(DateTime updated)
Time the account was last modified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 Account.Permissions getPermissions()
null for nonepublic Account setPermissions(Account.Permissions permissions)
permissions - permissions or null for nonepublic String getSelfLink()
null for nonepublic Account setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Boolean getStarred()
null for nonepublic Account setStarred(Boolean starred)
starred - starred 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 GenericJsonCopyright © 2011–2022 Google. All rights reserved.