public final class Segments
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Segments() |
| Modifier and Type | Method and Description |
|---|---|
Segments |
clone() |
java.util.List<Segment> |
getItems()
A list of segments.
|
java.lang.Integer |
getItemsPerPage()
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
java.lang.String |
getKind()
Collection type for segments.
|
java.lang.String |
getNextLink()
Link to next page for this segment collection.
|
java.lang.String |
getPreviousLink()
Link to previous page for this segment collection.
|
java.lang.Integer |
getStartIndex()
The starting index of the resources, which is 1 by default or otherwise specified by the start-
index query parameter.
|
java.lang.Integer |
getTotalResults()
The total number of results for the query, regardless of the number of results in the response.
|
java.lang.String |
getUsername()
Email ID of the authenticated user
|
Segments |
set(java.lang.String fieldName,
java.lang.Object value) |
Segments |
setItems(java.util.List<Segment> items)
A list of segments.
|
Segments |
setItemsPerPage(java.lang.Integer itemsPerPage)
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
Segments |
setKind(java.lang.String kind)
Collection type for segments.
|
Segments |
setNextLink(java.lang.String nextLink)
Link to next page for this segment collection.
|
Segments |
setPreviousLink(java.lang.String previousLink)
Link to previous page for this segment collection.
|
Segments |
setStartIndex(java.lang.Integer startIndex)
The starting index of the resources, which is 1 by default or otherwise specified by the start-
index query parameter.
|
Segments |
setTotalResults(java.lang.Integer totalResults)
The total number of results for the query, regardless of the number of results in the response.
|
Segments |
setUsername(java.lang.String username)
Email ID of the authenticated user
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<Segment> getItems()
null for nonepublic Segments setItems(java.util.List<Segment> items)
items - items or null for nonepublic java.lang.Integer getItemsPerPage()
null for nonepublic Segments setItemsPerPage(java.lang.Integer itemsPerPage)
itemsPerPage - itemsPerPage or null for nonepublic java.lang.String getKind()
null for nonepublic Segments setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getNextLink()
null for nonepublic Segments setNextLink(java.lang.String nextLink)
nextLink - nextLink or null for nonepublic java.lang.String getPreviousLink()
null for nonepublic Segments setPreviousLink(java.lang.String previousLink)
previousLink - previousLink or null for nonepublic java.lang.Integer getStartIndex()
null for nonepublic Segments setStartIndex(java.lang.Integer startIndex)
startIndex - startIndex or null for nonepublic java.lang.Integer getTotalResults()
null for nonepublic Segments setTotalResults(java.lang.Integer totalResults)
totalResults - totalResults or null for nonepublic java.lang.String getUsername()
null for nonepublic Segments setUsername(java.lang.String username)
username - username or null for nonepublic Segments set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Segments clone()
clone in class com.google.api.client.json.GenericJson