public final class Accounts 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 |
|---|
Accounts() |
| Modifier and Type | Method and Description |
|---|---|
List<Account> |
getItems()
A list of accounts.
|
Integer |
getItemsPerPage()
The maximum number of entries the response can contain, regardless of the actual number of
entries returned.
|
String |
getKind()
Collection type.
|
String |
getNextLink()
Next link for this account collection.
|
String |
getPreviousLink()
Previous link for this account collection.
|
Integer |
getStartIndex()
The starting index of the entries, 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. |
Accounts |
setItems(List<Account> items)
A list of accounts.
|
Accounts |
setItemsPerPage(Integer itemsPerPage)
The maximum number of entries the response can contain, regardless of the actual number of
entries returned.
|
Accounts |
setKind(String kind)
Collection type.
|
Accounts |
setNextLink(String nextLink)
Next link for this account collection.
|
Accounts |
setPreviousLink(String previousLink)
Previous link for this account collection.
|
Accounts |
setStartIndex(Integer startIndex)
The starting index of the entries, which is 1 by default or otherwise specified by the start-
index query parameter.
|
Accounts |
setTotalResults(Integer totalResults)
The total number of results for the query, regardless of the number of results in the response.
|
Accounts |
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 Accounts setItems(List<Account> items)
null.public Integer getItemsPerPage()
null.public Accounts setItemsPerPage(Integer itemsPerPage)
null.public String getKind()
null.public String getNextLink()
null.public Accounts setNextLink(String nextLink)
null.public String getPreviousLink()
null.public Accounts setPreviousLink(String previousLink)
null.public Integer getStartIndex()
null.public Accounts setStartIndex(Integer startIndex)
null.public Integer getTotalResults()
null.public Accounts setTotalResults(Integer totalResults)
null.public String getUsername()
null.