Google Analytics API v3 (revision 41)



com.google.api.services.analytics.model
Class Account

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.analytics.model.Account
All Implemented Interfaces:
Cloneable, Map<String,Object>

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: http://code.google.com/p/google-api-java-client/wiki/Json

Author:
Google, Inc.

Nested Class Summary
static class Account.ChildLink
          Child link for an account entry.
 
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>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Account()
           
 
Method Summary
 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.
 
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Account

public Account()
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

setId

public Account setId(String id)
Account ID.

Parameters:
id - id 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

setName

public Account setName(String name)
Account name.

Parameters:
name - name 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

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