public final class McfData 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()
| Modifier and Type | Class and Description |
|---|---|
static class |
McfData.ColumnHeaders
Model definition for McfDataColumnHeaders.
|
static class |
McfData.ProfileInfo
Information for the profile, for which the Analytics data was requested.
|
static class |
McfData.Query
Analytics data request query parameters.
|
static class |
McfData.Rows
A union object representing a dimension or metric value.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
McfData() |
| Modifier and Type | Method and Description |
|---|---|
List<McfData.ColumnHeaders> |
getColumnHeaders()
Column headers that list dimension names followed by the metric names.
|
Boolean |
getContainsSampledData()
Determines if the Analytics data contains sampled data.
|
String |
getId()
Unique ID for this data response.
|
Integer |
getItemsPerPage()
The maximum number of rows the response can contain, regardless of the actual number of rows
returned.
|
String |
getKind()
Resource type.
|
String |
getNextLink()
Link to next page for this Analytics data query.
|
String |
getPreviousLink()
Link to previous page for this Analytics data query.
|
McfData.ProfileInfo |
getProfileInfo()
Information for the profile, for which the Analytics data was requested.
|
McfData.Query |
getQuery()
Analytics data request query parameters.
|
List<List<McfData.Rows>> |
getRows()
Analytics data rows, where each row contains a list of dimension values followed by the metric
values.
|
String |
getSelfLink()
Link to this page.
|
Integer |
getTotalResults()
The total number of rows for the query, regardless of the number of rows in the response.
|
Map<String,String> |
getTotalsForAllResults()
Total values for the requested metrics over all the results, not just the results returned in
this response.
|
McfData |
setColumnHeaders(List<McfData.ColumnHeaders> columnHeaders)
Column headers that list dimension names followed by the metric names.
|
McfData |
setContainsSampledData(Boolean containsSampledData)
Determines if the Analytics data contains sampled data.
|
McfData |
setId(String id)
Unique ID for this data response.
|
McfData |
setItemsPerPage(Integer itemsPerPage)
The maximum number of rows the response can contain, regardless of the actual number of rows
returned.
|
McfData |
setKind(String kind)
Resource type.
|
McfData |
setNextLink(String nextLink)
Link to next page for this Analytics data query.
|
McfData |
setPreviousLink(String previousLink)
Link to previous page for this Analytics data query.
|
McfData |
setProfileInfo(McfData.ProfileInfo profileInfo)
Information for the profile, for which the Analytics data was requested.
|
McfData |
setQuery(McfData.Query query)
Analytics data request query parameters.
|
McfData |
setRows(List<List<McfData.Rows>> rows)
Analytics data rows, where each row contains a list of dimension values followed by the metric
values.
|
McfData |
setSelfLink(String selfLink)
Link to this page.
|
McfData |
setTotalResults(Integer totalResults)
The total number of rows for the query, regardless of the number of rows in the response.
|
McfData |
setTotalsForAllResults(Map<String,String> totalsForAllResults)
Total values for the requested metrics over all the results, not just the results returned in
this response.
|
clone, getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<McfData.ColumnHeaders> getColumnHeaders()
null.public McfData setColumnHeaders(List<McfData.ColumnHeaders> columnHeaders)
null.public Boolean getContainsSampledData()
null.public McfData setContainsSampledData(Boolean containsSampledData)
null.public String getId()
null.public Integer getItemsPerPage()
null.public McfData setItemsPerPage(Integer itemsPerPage)
null.public String getKind()
null.public String getNextLink()
null.public McfData setNextLink(String nextLink)
null.public String getPreviousLink()
null.public McfData setPreviousLink(String previousLink)
null.public McfData.ProfileInfo getProfileInfo()
null.public McfData setProfileInfo(McfData.ProfileInfo profileInfo)
null.public McfData.Query getQuery()
null.public McfData setQuery(McfData.Query query)
null.public List<List<McfData.Rows>> getRows()
null.public McfData setRows(List<List<McfData.Rows>> rows)
null.public String getSelfLink()
null.public McfData setSelfLink(String selfLink)
null.public Integer getTotalResults()
null.public McfData setTotalResults(Integer totalResults)
null.public Map<String,String> getTotalsForAllResults()
null.public McfData setTotalsForAllResults(Map<String,String> totalsForAllResults)
null.