Google Analytics API v3 (revision 41)



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

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.CustomDataSource
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class CustomDataSource
extends GenericJson

JSON template for an Analytics custom data source.

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 CustomDataSource.ChildLink
          Child link for this custom data source.
static class CustomDataSource.ParentLink
          Parent link for this custom data source.
 
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
CustomDataSource()
           
 
Method Summary
 CustomDataSource clone()
           
 String getAccountId()
          Account ID to which this custom data source belongs.
 CustomDataSource.ChildLink getChildLink()
          Child link for this custom data source.
 DateTime getCreated()
          Time this custom data source was created.
 String getDescription()
          Description of custom data source.
 String getId()
          Custom data source ID.
 String getKind()
          Resource type for Analytics custom data source.
 String getName()
          Name of this custom data source.
 CustomDataSource.ParentLink getParentLink()
          Parent link for this custom data source.
 List<String> getProfilesLinked()
           
 String getSelfLink()
          Link for this Analytics custom data source.
 DateTime getUpdated()
          Time this custom data source was last modified.
 String getWebPropertyId()
          Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
 CustomDataSource set(String fieldName, Object value)
           
 CustomDataSource setAccountId(String accountId)
          Account ID to which this custom data source belongs.
 CustomDataSource setChildLink(CustomDataSource.ChildLink childLink)
          Child link for this custom data source.
 CustomDataSource setCreated(DateTime created)
          Time this custom data source was created.
 CustomDataSource setDescription(String description)
          Description of custom data source.
 CustomDataSource setId(String id)
          Custom data source ID.
 CustomDataSource setKind(String kind)
          Resource type for Analytics custom data source.
 CustomDataSource setName(String name)
          Name of this custom data source.
 CustomDataSource setParentLink(CustomDataSource.ParentLink parentLink)
          Parent link for this custom data source.
 CustomDataSource setProfilesLinked(List<String> profilesLinked)
           
 CustomDataSource setSelfLink(String selfLink)
          Link for this Analytics custom data source.
 CustomDataSource setUpdated(DateTime updated)
          Time this custom data source was last modified.
 CustomDataSource setWebPropertyId(String webPropertyId)
          Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.
 
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

CustomDataSource

public CustomDataSource()
Method Detail

getAccountId

public String getAccountId()
Account ID to which this custom data source belongs.

Returns:
value or null for none

setAccountId

public CustomDataSource setAccountId(String accountId)
Account ID to which this custom data source belongs.

Parameters:
accountId - accountId or null for none

getChildLink

public CustomDataSource.ChildLink getChildLink()
Child link for this custom data source. Points to the list of daily uploads for this custom data source.

Returns:
value or null for none

setChildLink

public CustomDataSource setChildLink(CustomDataSource.ChildLink childLink)
Child link for this custom data source. Points to the list of daily uploads for this custom data source.

Parameters:
childLink - childLink or null for none

getCreated

public DateTime getCreated()
Time this custom data source was created.

Returns:
value or null for none

setCreated

public CustomDataSource setCreated(DateTime created)
Time this custom data source was created.

Parameters:
created - created or null for none

getDescription

public String getDescription()
Description of custom data source.

Returns:
value or null for none

setDescription

public CustomDataSource setDescription(String description)
Description of custom data source.

Parameters:
description - description or null for none

getId

public String getId()
Custom data source ID.

Returns:
value or null for none

setId

public CustomDataSource setId(String id)
Custom data source ID.

Parameters:
id - id or null for none

getKind

public String getKind()
Resource type for Analytics custom data source.

Returns:
value or null for none

setKind

public CustomDataSource setKind(String kind)
Resource type for Analytics custom data source.

Parameters:
kind - kind or null for none

getName

public String getName()
Name of this custom data source.

Returns:
value or null for none

setName

public CustomDataSource setName(String name)
Name of this custom data source.

Parameters:
name - name or null for none

getParentLink

public CustomDataSource.ParentLink getParentLink()
Parent link for this custom data source. Points to the web property to which this custom data source belongs.

Returns:
value or null for none

setParentLink

public CustomDataSource setParentLink(CustomDataSource.ParentLink parentLink)
Parent link for this custom data source. Points to the web property to which this custom data source belongs.

Parameters:
parentLink - parentLink or null for none

getProfilesLinked

public List<String> getProfilesLinked()
Returns:
value or null for none

setProfilesLinked

public CustomDataSource setProfilesLinked(List<String> profilesLinked)
Parameters:
profilesLinked - profilesLinked or null for none

getSelfLink

public String getSelfLink()
Link for this Analytics custom data source.

Returns:
value or null for none

setSelfLink

public CustomDataSource setSelfLink(String selfLink)
Link for this Analytics custom data source.

Parameters:
selfLink - selfLink or null for none

getUpdated

public DateTime getUpdated()
Time this custom data source was last modified.

Returns:
value or null for none

setUpdated

public CustomDataSource setUpdated(DateTime updated)
Time this custom data source was last modified.

Parameters:
updated - updated or null for none

getWebPropertyId

public String getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.

Returns:
value or null for none

setWebPropertyId

public CustomDataSource setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this custom data source belongs.

Parameters:
webPropertyId - webPropertyId or null for none

set

public CustomDataSource set(String fieldName,
                            Object value)
Overrides:
set in class GenericJson

clone

public CustomDataSource clone()
Overrides:
clone in class GenericJson