public final class CustomMetrics
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 |
---|
CustomMetrics() |
Modifier and Type | Method and Description |
---|---|
CustomMetrics |
clone() |
java.util.List<CustomMetric> |
getItems()
Collection of custom metrics.
|
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.
|
java.lang.String |
getNextLink()
Link to next page for this custom metric collection.
|
java.lang.String |
getPreviousLink()
Link to previous page for this custom metric 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
|
CustomMetrics |
set(java.lang.String fieldName,
java.lang.Object value) |
CustomMetrics |
setItems(java.util.List<CustomMetric> items)
Collection of custom metrics.
|
CustomMetrics |
setItemsPerPage(java.lang.Integer itemsPerPage)
The maximum number of resources the response can contain, regardless of the actual number of
resources returned.
|
CustomMetrics |
setKind(java.lang.String kind)
Collection type.
|
CustomMetrics |
setNextLink(java.lang.String nextLink)
Link to next page for this custom metric collection.
|
CustomMetrics |
setPreviousLink(java.lang.String previousLink)
Link to previous page for this custom metric collection.
|
CustomMetrics |
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.
|
CustomMetrics |
setTotalResults(java.lang.Integer totalResults)
The total number of results for the query, regardless of the number of results in the response.
|
CustomMetrics |
setUsername(java.lang.String username)
Email ID of the authenticated user
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<CustomMetric> getItems()
null
for nonepublic CustomMetrics setItems(java.util.List<CustomMetric> items)
items
- items or null
for nonepublic java.lang.Integer getItemsPerPage()
null
for nonepublic CustomMetrics setItemsPerPage(java.lang.Integer itemsPerPage)
itemsPerPage
- itemsPerPage or null
for nonepublic java.lang.String getKind()
null
for nonepublic CustomMetrics setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getNextLink()
null
for nonepublic CustomMetrics setNextLink(java.lang.String nextLink)
nextLink
- nextLink or null
for nonepublic java.lang.String getPreviousLink()
null
for nonepublic CustomMetrics setPreviousLink(java.lang.String previousLink)
previousLink
- previousLink or null
for nonepublic java.lang.Integer getStartIndex()
null
for nonepublic CustomMetrics setStartIndex(java.lang.Integer startIndex)
startIndex
- startIndex or null
for nonepublic java.lang.Integer getTotalResults()
null
for nonepublic CustomMetrics setTotalResults(java.lang.Integer totalResults)
totalResults
- totalResults or null
for nonepublic java.lang.String getUsername()
null
for nonepublic CustomMetrics setUsername(java.lang.String username)
username
- username or null
for nonepublic CustomMetrics set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CustomMetrics clone()
clone
in class com.google.api.client.json.GenericJson