public final class MetricHeader
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 Reporting 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 |
|---|
MetricHeader() |
| Modifier and Type | Method and Description |
|---|---|
MetricHeader |
clone() |
java.util.List<MetricHeaderEntry> |
getMetricHeaderEntries()
Headers for the metrics in the response.
|
java.util.List<PivotHeader> |
getPivotHeaders()
Headers for the pivots in the response.
|
MetricHeader |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricHeader |
setMetricHeaderEntries(java.util.List<MetricHeaderEntry> metricHeaderEntries)
Headers for the metrics in the response.
|
MetricHeader |
setPivotHeaders(java.util.List<PivotHeader> pivotHeaders)
Headers for the pivots in the response.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<MetricHeaderEntry> getMetricHeaderEntries()
null for nonepublic MetricHeader setMetricHeaderEntries(java.util.List<MetricHeaderEntry> metricHeaderEntries)
metricHeaderEntries - metricHeaderEntries or null for nonepublic java.util.List<PivotHeader> getPivotHeaders()
null for nonepublic MetricHeader setPivotHeaders(java.util.List<PivotHeader> pivotHeaders)
pivotHeaders - pivotHeaders or null for nonepublic MetricHeader set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricHeader clone()
clone in class com.google.api.client.json.GenericJson