|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.analytics.model.Goal
public final class Goal
JSON template for Analytics goal resource.
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
| Nested Class Summary | |
|---|---|
static class |
Goal.EventDetails
Details for the goal of the type EVENT. |
static class |
Goal.ParentLink
Parent link for a goal. |
static class |
Goal.UrlDestinationDetails
Details for the goal of the type URL_DESTINATION. |
static class |
Goal.VisitNumPagesDetails
Details for the goal of the type VISIT_NUM_PAGES. |
static class |
Goal.VisitTimeOnSiteDetails
Details for the goal of the type VISIT_TIME_ON_SITE. |
| 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 | |
|---|---|
Goal()
|
|
| Method Summary | |
|---|---|
Goal |
clone()
|
String |
getAccountId()
Account ID to which this goal belongs. |
Boolean |
getActive()
Determines whether this goal is active. |
DateTime |
getCreated()
Time this goal was created. |
Goal.EventDetails |
getEventDetails()
Details for the goal of the type EVENT. |
String |
getId()
Goal ID. |
String |
getInternalWebPropertyId()
Internal ID for the web property to which this goal belongs. |
String |
getKind()
Resource type for an Analytics goal. |
String |
getName()
Goal name. |
Goal.ParentLink |
getParentLink()
Parent link for a goal. |
String |
getProfileId()
Profile ID to which this goal belongs. |
String |
getSelfLink()
Link for this goal. |
String |
getType()
Goal type. |
DateTime |
getUpdated()
Time this goal was last modified. |
Goal.UrlDestinationDetails |
getUrlDestinationDetails()
Details for the goal of the type URL_DESTINATION. |
Float |
getValue()
Goal value. |
Goal.VisitNumPagesDetails |
getVisitNumPagesDetails()
Details for the goal of the type VISIT_NUM_PAGES. |
Goal.VisitTimeOnSiteDetails |
getVisitTimeOnSiteDetails()
Details for the goal of the type VISIT_TIME_ON_SITE. |
String |
getWebPropertyId()
Web property ID to which this goal belongs. |
Goal |
set(String fieldName,
Object value)
|
Goal |
setAccountId(String accountId)
Account ID to which this goal belongs. |
Goal |
setActive(Boolean active)
Determines whether this goal is active. |
Goal |
setCreated(DateTime created)
Time this goal was created. |
Goal |
setEventDetails(Goal.EventDetails eventDetails)
Details for the goal of the type EVENT. |
Goal |
setId(String id)
Goal ID. |
Goal |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this goal belongs. |
Goal |
setKind(String kind)
Resource type for an Analytics goal. |
Goal |
setName(String name)
Goal name. |
Goal |
setParentLink(Goal.ParentLink parentLink)
Parent link for a goal. |
Goal |
setProfileId(String profileId)
Profile ID to which this goal belongs. |
Goal |
setSelfLink(String selfLink)
Link for this goal. |
Goal |
setType(String type)
Goal type. |
Goal |
setUpdated(DateTime updated)
Time this goal was last modified. |
Goal |
setUrlDestinationDetails(Goal.UrlDestinationDetails urlDestinationDetails)
Details for the goal of the type URL_DESTINATION. |
Goal |
setValue(Float value)
Goal value. |
Goal |
setVisitNumPagesDetails(Goal.VisitNumPagesDetails visitNumPagesDetails)
Details for the goal of the type VISIT_NUM_PAGES. |
Goal |
setVisitTimeOnSiteDetails(Goal.VisitTimeOnSiteDetails visitTimeOnSiteDetails)
Details for the goal of the type VISIT_TIME_ON_SITE. |
Goal |
setWebPropertyId(String webPropertyId)
Web property ID to which this goal 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 |
|---|
public Goal()
| Method Detail |
|---|
public String getAccountId()
null for nonepublic Goal setAccountId(String accountId)
accountId - accountId or null for nonepublic Boolean getActive()
null for nonepublic Goal setActive(Boolean active)
active - active or null for nonepublic DateTime getCreated()
null for nonepublic Goal setCreated(DateTime created)
created - created or null for nonepublic Goal.EventDetails getEventDetails()
null for nonepublic Goal setEventDetails(Goal.EventDetails eventDetails)
eventDetails - eventDetails or null for nonepublic String getId()
null for nonepublic Goal setId(String id)
id - id or null for nonepublic String getInternalWebPropertyId()
null for nonepublic Goal setInternalWebPropertyId(String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic String getKind()
null for nonepublic Goal setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Goal setName(String name)
name - name or null for nonepublic Goal.ParentLink getParentLink()
null for nonepublic Goal setParentLink(Goal.ParentLink parentLink)
parentLink - parentLink or null for nonepublic String getProfileId()
null for nonepublic Goal setProfileId(String profileId)
profileId - profileId or null for nonepublic String getSelfLink()
null for nonepublic Goal setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getType()
null for nonepublic Goal setType(String type)
type - type or null for nonepublic DateTime getUpdated()
null for nonepublic Goal setUpdated(DateTime updated)
updated - updated or null for nonepublic Goal.UrlDestinationDetails getUrlDestinationDetails()
null for nonepublic Goal setUrlDestinationDetails(Goal.UrlDestinationDetails urlDestinationDetails)
urlDestinationDetails - urlDestinationDetails or null for nonepublic Float getValue()
null for nonepublic Goal setValue(Float value)
value - value or null for nonepublic Goal.VisitNumPagesDetails getVisitNumPagesDetails()
null for nonepublic Goal setVisitNumPagesDetails(Goal.VisitNumPagesDetails visitNumPagesDetails)
visitNumPagesDetails - visitNumPagesDetails or null for nonepublic Goal.VisitTimeOnSiteDetails getVisitTimeOnSiteDetails()
null for nonepublic Goal setVisitTimeOnSiteDetails(Goal.VisitTimeOnSiteDetails visitTimeOnSiteDetails)
visitTimeOnSiteDetails - visitTimeOnSiteDetails or null for nonepublic String getWebPropertyId()
null for nonepublic Goal setWebPropertyId(String webPropertyId)
webPropertyId - webPropertyId or null for none
public Goal set(String fieldName,
Object value)
set in class GenericJsonpublic Goal clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||