Google Analytics API v3 (revision 41)



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

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

public final class Webproperty
extends GenericJson

JSON template for an Analytics web property.

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 Webproperty.ChildLink
          Child link for this web property.
static class Webproperty.ParentLink
          Parent link for this web property.
 
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
Webproperty()
           
 
Method Summary
 Webproperty clone()
           
 String getAccountId()
          Account ID to which this web property belongs.
 Webproperty.ChildLink getChildLink()
          Child link for this web property.
 DateTime getCreated()
          Time this web property was created.
 String getId()
          Web property ID of the form UA-XXXXX-YY.
 String getInternalWebPropertyId()
          Internal ID for this web property.
 String getKind()
          Resource type for Analytics WebProperty.
 String getName()
          Name of this web property.
 Webproperty.ParentLink getParentLink()
          Parent link for this web property.
 String getSelfLink()
          Link for this web property.
 DateTime getUpdated()
          Time this web property was last modified.
 String getWebsiteUrl()
          Website url for this web property.
 Webproperty set(String fieldName, Object value)
           
 Webproperty setAccountId(String accountId)
          Account ID to which this web property belongs.
 Webproperty setChildLink(Webproperty.ChildLink childLink)
          Child link for this web property.
 Webproperty setCreated(DateTime created)
          Time this web property was created.
 Webproperty setId(String id)
          Web property ID of the form UA-XXXXX-YY.
 Webproperty setInternalWebPropertyId(String internalWebPropertyId)
          Internal ID for this web property.
 Webproperty setKind(String kind)
          Resource type for Analytics WebProperty.
 Webproperty setName(String name)
          Name of this web property.
 Webproperty setParentLink(Webproperty.ParentLink parentLink)
          Parent link for this web property.
 Webproperty setSelfLink(String selfLink)
          Link for this web property.
 Webproperty setUpdated(DateTime updated)
          Time this web property was last modified.
 Webproperty setWebsiteUrl(String websiteUrl)
          Website url for this web property.
 
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

Webproperty

public Webproperty()
Method Detail

getAccountId

public String getAccountId()
Account ID to which this web property belongs.

Returns:
value or null for none

setAccountId

public Webproperty setAccountId(String accountId)
Account ID to which this web property belongs.

Parameters:
accountId - accountId or null for none

getChildLink

public Webproperty.ChildLink getChildLink()
Child link for this web property. Points to the list of profiles for this web property.

Returns:
value or null for none

setChildLink

public Webproperty setChildLink(Webproperty.ChildLink childLink)
Child link for this web property. Points to the list of profiles for this web property.

Parameters:
childLink - childLink or null for none

getCreated

public DateTime getCreated()
Time this web property was created.

Returns:
value or null for none

setCreated

public Webproperty setCreated(DateTime created)
Time this web property was created.

Parameters:
created - created or null for none

getId

public String getId()
Web property ID of the form UA-XXXXX-YY.

Returns:
value or null for none

setId

public Webproperty setId(String id)
Web property ID of the form UA-XXXXX-YY.

Parameters:
id - id or null for none

getInternalWebPropertyId

public String getInternalWebPropertyId()
Internal ID for this web property.

Returns:
value or null for none

setInternalWebPropertyId

public Webproperty setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for this web property.

Parameters:
internalWebPropertyId - internalWebPropertyId or null for none

getKind

public String getKind()
Resource type for Analytics WebProperty.

Returns:
value or null for none

setKind

public Webproperty setKind(String kind)
Resource type for Analytics WebProperty.

Parameters:
kind - kind or null for none

getName

public String getName()
Name of this web property.

Returns:
value or null for none

setName

public Webproperty setName(String name)
Name of this web property.

Parameters:
name - name or null for none

getParentLink

public Webproperty.ParentLink getParentLink()
Parent link for this web property. Points to the account to which this web property belongs.

Returns:
value or null for none

setParentLink

public Webproperty setParentLink(Webproperty.ParentLink parentLink)
Parent link for this web property. Points to the account to which this web property belongs.

Parameters:
parentLink - parentLink or null for none

getSelfLink

public String getSelfLink()
Link for this web property.

Returns:
value or null for none

setSelfLink

public Webproperty setSelfLink(String selfLink)
Link for this web property.

Parameters:
selfLink - selfLink or null for none

getUpdated

public DateTime getUpdated()
Time this web property was last modified.

Returns:
value or null for none

setUpdated

public Webproperty setUpdated(DateTime updated)
Time this web property was last modified.

Parameters:
updated - updated or null for none

getWebsiteUrl

public String getWebsiteUrl()
Website url for this web property.

Returns:
value or null for none

setWebsiteUrl

public Webproperty setWebsiteUrl(String websiteUrl)
Website url for this web property.

Parameters:
websiteUrl - websiteUrl or null for none

set

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

clone

public Webproperty clone()
Overrides:
clone in class GenericJson