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: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Goals() |
| Modifier and Type | Method and Description |
|---|---|
Goals |
clone() |
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
|
Goals |
set(String fieldName,
Object value) |
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
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Goals setItems(List<Goal> items)
items - items or null for nonepublic Integer getItemsPerPage()
null for nonepublic Goals setItemsPerPage(Integer itemsPerPage)
itemsPerPage - itemsPerPage or null for nonepublic String getKind()
null for nonepublic String getNextLink()
null for nonepublic Goals setNextLink(String nextLink)
nextLink - nextLink or null for nonepublic String getPreviousLink()
null for nonepublic Goals setPreviousLink(String previousLink)
previousLink - previousLink or null for nonepublic Integer getStartIndex()
null for nonepublic Goals setStartIndex(Integer startIndex)
startIndex - startIndex or null for nonepublic Integer getTotalResults()
null for nonepublic Goals setTotalResults(Integer totalResults)
totalResults - totalResults or null for nonepublic String getUsername()
null for nonepublic Goals setUsername(String username)
username - username or null for nonepublic Goals set(String fieldName, Object value)
set in class GenericJsonpublic Goals clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.