target.apidocs.com.google.api.services.analytics.model.Account.html Maven / Gradle / Ivy
Account (Google Analytics API v3-rev20190604-1.30.1)
com.google.api.services.analytics.model
Class Account
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.analytics.model.Account
-
public final class Account
extends GenericJson
JSON template for Analytics account entry.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
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.
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Account()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getChildLink
public Account.ChildLink getChildLink()
Child link for an account entry. Points to the list of web properties for this account.
- Returns:
- value or
null
for none
-
setChildLink
public Account setChildLink(Account.ChildLink childLink)
Child link for an account entry. Points to the list of web properties for this account.
- Parameters:
childLink
- childLink or null
for none
-
getCreated
public DateTime getCreated()
Time the account was created.
- Returns:
- value or
null
for none
-
setCreated
public Account setCreated(DateTime created)
Time the account was created.
- Parameters:
created
- created or null
for none
-
getId
public String getId()
Account ID.
- Returns:
- value or
null
for none
-
getKind
public String getKind()
Resource type for Analytics account.
- Returns:
- value or
null
for none
-
setKind
public Account setKind(String kind)
Resource type for Analytics account.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Account name.
- Returns:
- value or
null
for none
-
getPermissions
public Account.Permissions getPermissions()
Permissions the user has for this account.
- Returns:
- value or
null
for none
-
setPermissions
public Account setPermissions(Account.Permissions permissions)
Permissions the user has for this account.
- Parameters:
permissions
- permissions or null
for none
-
getSelfLink
public String getSelfLink()
Link for this account.
- Returns:
- value or
null
for none
-
setSelfLink
public Account setSelfLink(String selfLink)
Link for this account.
- Parameters:
selfLink
- selfLink or null
for none
-
getStarred
public Boolean getStarred()
Indicates whether this account is starred or not.
- Returns:
- value or
null
for none
-
setStarred
public Account setStarred(Boolean starred)
Indicates whether this account is starred or not.
- Parameters:
starred
- starred or null
for none
-
getUpdated
public DateTime getUpdated()
Time the account was last modified.
- Returns:
- value or
null
for none
-
setUpdated
public Account setUpdated(DateTime updated)
Time the account was last modified.
- Parameters:
updated
- updated or null
for none
-
set
public Account set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Account clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.