|
||||||||||
| 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.Segments
public final class Segments
An advanced segment collection lists Analytics advanced segments that the user has access to. Each resource in the collection corresponds to a single 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 | |
|---|---|
Segments()
|
|
| Method Summary | |
|---|---|
Segments |
clone()
|
List<Segment> |
getItems()
A list of advanced segments. |
Integer |
getItemsPerPage()
The maximum number of resources the response can contain, regardless of the actual number of resources returned. |
String |
getKind()
Collection type for advanced segments. |
String |
getNextLink()
Link to next page for this advanced segment collection. |
String |
getPreviousLink()
Link to previous page for this advanced segment collection. |
Integer |
getStartIndex()
The starting index of the resources, which is 1 by default or otherwise specified by the start- index query parameter. |
Integer |
getTotalResults()
The total number of results for the query, regardless of the number of results in the response. |
String |
getUsername()
Email ID of the authenticated user |
Segments |
set(String fieldName,
Object value)
|
Segments |
setItems(List<Segment> items)
A list of advanced segments. |
Segments |
setItemsPerPage(Integer itemsPerPage)
The maximum number of resources the response can contain, regardless of the actual number of resources returned. |
Segments |
setKind(String kind)
Collection type for advanced segments. |
Segments |
setNextLink(String nextLink)
Link to next page for this advanced segment collection. |
Segments |
setPreviousLink(String previousLink)
Link to previous page for this advanced segment collection. |
Segments |
setStartIndex(Integer startIndex)
The starting index of the resources, which is 1 by default or otherwise specified by the start- index query parameter. |
Segments |
setTotalResults(Integer totalResults)
The total number of results for the query, regardless of the number of results in the response. |
Segments |
setUsername(String username)
Email ID of the authenticated user |
| 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 Segments()
| Method Detail |
|---|
public List<Segment> getItems()
null for nonepublic Segments setItems(List<Segment> items)
items - items or null for nonepublic Integer getItemsPerPage()
null for nonepublic Segments setItemsPerPage(Integer itemsPerPage)
itemsPerPage - itemsPerPage or null for nonepublic String getKind()
null for nonepublic Segments setKind(String kind)
kind - kind or null for nonepublic String getNextLink()
null for nonepublic Segments setNextLink(String nextLink)
nextLink - nextLink or null for nonepublic String getPreviousLink()
null for nonepublic Segments setPreviousLink(String previousLink)
previousLink - previousLink or null for nonepublic Integer getStartIndex()
null for nonepublic Segments setStartIndex(Integer startIndex)
startIndex - startIndex or null for nonepublic Integer getTotalResults()
null for nonepublic Segments setTotalResults(Integer totalResults)
totalResults - totalResults or null for nonepublic String getUsername()
null for nonepublic Segments setUsername(String username)
username - username or null for none
public Segments set(String fieldName,
Object value)
set in class GenericJsonpublic Segments clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||