public final class Segment
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Segment() |
| Modifier and Type | Method and Description |
|---|---|
Segment |
clone() |
com.google.api.client.util.DateTime |
getCreated()
Time the segment was created.
|
java.lang.String |
getDefinition()
Segment definition.
|
java.lang.String |
getId()
Segment ID.
|
java.lang.String |
getKind()
Resource type for Analytics segment.
|
java.lang.String |
getName()
Segment name.
|
java.lang.String |
getSegmentId()
Segment ID.
|
java.lang.String |
getSelfLink()
Link for this segment.
|
java.lang.String |
getType()
Type for a segment.
|
com.google.api.client.util.DateTime |
getUpdated()
Time the segment was last modified.
|
Segment |
set(java.lang.String fieldName,
java.lang.Object value) |
Segment |
setCreated(com.google.api.client.util.DateTime created)
Time the segment was created.
|
Segment |
setDefinition(java.lang.String definition)
Segment definition.
|
Segment |
setId(java.lang.String id)
Segment ID.
|
Segment |
setKind(java.lang.String kind)
Resource type for Analytics segment.
|
Segment |
setName(java.lang.String name)
Segment name.
|
Segment |
setSegmentId(java.lang.String segmentId)
Segment ID.
|
Segment |
setSelfLink(java.lang.String selfLink)
Link for this segment.
|
Segment |
setType(java.lang.String type)
Type for a segment.
|
Segment |
setUpdated(com.google.api.client.util.DateTime updated)
Time the segment was last modified.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic com.google.api.client.util.DateTime getCreated()
null for nonepublic Segment setCreated(com.google.api.client.util.DateTime created)
created - created or null for nonepublic java.lang.String getDefinition()
null for nonepublic Segment setDefinition(java.lang.String definition)
definition - definition or null for nonepublic java.lang.String getId()
null for nonepublic Segment setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Segment setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Segment setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSegmentId()
null for nonepublic Segment setSegmentId(java.lang.String segmentId)
segmentId - segmentId or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Segment setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getType()
null for nonepublic Segment setType(java.lang.String type)
type - type or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Segment setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic Segment set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Segment clone()
clone in class com.google.api.client.json.GenericJson