public final class MetricHeaderEntry
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 |
|---|
MetricHeaderEntry() |
| Modifier and Type | Method and Description |
|---|---|
MetricHeaderEntry |
clone() |
java.lang.String |
getName()
The name of the header.
|
java.lang.String |
getType()
The type of the metric, for example `INTEGER`.
|
MetricHeaderEntry |
set(java.lang.String fieldName,
java.lang.Object value) |
MetricHeaderEntry |
setName(java.lang.String name)
The name of the header.
|
MetricHeaderEntry |
setType(java.lang.String type)
The type of the metric, for example `INTEGER`.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getName()
null for nonepublic MetricHeaderEntry setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getType()
null for nonepublic MetricHeaderEntry setType(java.lang.String type)
type - type or null for nonepublic MetricHeaderEntry set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MetricHeaderEntry clone()
clone in class com.google.api.client.json.GenericJson