public final class Segment extends GenericJson
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-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Segment() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 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 nonepublic Segment set(String fieldName, Object value)
set in class GenericJsonpublic Segment clone()
clone in class GenericJson