|
||||||||||
| 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.Segment
public final class Segment
JSON template for an Analytics advanced segment.
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 |
|---|
| 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 | |
|---|---|
Segment()
|
|
| Method Summary | |
|---|---|
Segment |
clone()
|
DateTime |
getCreated()
Time the advanced segment was created. |
String |
getDefinition()
Advanced segment definition. |
String |
getId()
Advanced segment ID. |
String |
getKind()
Resource type for Analytics advanced segment. |
String |
getName()
Advanced segment name. |
String |
getSegmentId()
Segment ID. |
String |
getSelfLink()
Link for this advanced segment. |
DateTime |
getUpdated()
Time the advanced segment was last modified. |
Segment |
set(String fieldName,
Object value)
|
Segment |
setCreated(DateTime created)
Time the advanced segment was created. |
Segment |
setDefinition(String definition)
Advanced segment definition. |
Segment |
setId(String id)
Advanced segment ID. |
Segment |
setKind(String kind)
Resource type for Analytics advanced segment. |
Segment |
setName(String name)
Advanced segment name. |
Segment |
setSegmentId(String segmentId)
Segment ID. |
Segment |
setSelfLink(String selfLink)
Link for this advanced segment. |
Segment |
setUpdated(DateTime updated)
Time the advanced segment 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 |
|---|
public Segment()
| Method Detail |
|---|
public DateTime getCreated()
null for nonepublic Segment setCreated(DateTime created)
created - created or null for nonepublic String getDefinition()
null for nonepublic Segment setDefinition(String definition)
definition - definition or null for nonepublic String getId()
null for nonepublic Segment setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Segment setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Segment setName(String name)
name - name or null for nonepublic String getSegmentId()
null for nonepublic Segment setSegmentId(String segmentId)
segmentId - segmentId or null for nonepublic String getSelfLink()
null for nonepublic Segment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic DateTime getUpdated()
null for nonepublic Segment setUpdated(DateTime updated)
updated - updated or null for none
public Segment set(String fieldName,
Object value)
set in class GenericJsonpublic Segment clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||