public final class Goals 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 |
|---|
Goals() |
| Modifier and Type | Method and Description |
|---|---|
List<Goal> |
getItems()
A list of goals.
|
Integer |
getItemsPerPage()
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
String |
getKind()
Collection type.
|
String |
getNextLink()
Link to next page for this goal collection.
|
String |
getPreviousLink()
Link to previous page for this goal 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 resources in the result.
|
String |
getUsername()
Email ID of the authenticated user
The value returned may be
null. |
Goals |
setItems(List<Goal> items)
A list of goals.
|
Goals |
setItemsPerPage(Integer itemsPerPage)
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
Goals |
setKind(String kind)
Collection type.
|
Goals |
setNextLink(String nextLink)
Link to next page for this goal collection.
|
Goals |
setPreviousLink(String previousLink)
Link to previous page for this goal collection.
|
Goals |
setStartIndex(Integer startIndex)
The starting index of the resources, which is 1 by default or otherwise specified by the start-
index query parameter.
|
Goals |
setTotalResults(Integer totalResults)
The total number of results for the query, regardless of the number of resources in the result.
|
Goals |
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 Integer getItemsPerPage()
null.public Goals setItemsPerPage(Integer itemsPerPage)
null.public String getKind()
null.public String getNextLink()
null.public Goals setNextLink(String nextLink)
null.public String getPreviousLink()
null.public Goals setPreviousLink(String previousLink)
null.public Integer getStartIndex()
null.public Goals setStartIndex(Integer startIndex)
null.public Integer getTotalResults()
null.public Goals setTotalResults(Integer totalResults)
null.public String getUsername()
null.