public final class Segments 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Segments() |
| Modifier and Type | Method and Description |
|---|---|
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
The value returned may be
null. |
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
The value set may be
null. |
clone, getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<Segment> getItems()
null.public Segments setItems(List<Segment> items)
null.public Integer getItemsPerPage()
null.public Segments setItemsPerPage(Integer itemsPerPage)
null.public String getKind()
null.public Segments setKind(String kind)
null.public String getNextLink()
null.public Segments setNextLink(String nextLink)
null.public String getPreviousLink()
null.public Segments setPreviousLink(String previousLink)
null.public Integer getStartIndex()
null.public Segments setStartIndex(Integer startIndex)
null.public Integer getTotalResults()
null.public Segments setTotalResults(Integer totalResults)
null.public String getUsername()
null.