public final class Metric
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 DCM/DFA Reporting And Trafficking 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 |
|---|
Metric() |
| Modifier and Type | Method and Description |
|---|---|
Metric |
clone() |
java.lang.String |
getKind()
The kind of resource this is, in this case dfareporting#metric.
|
java.lang.String |
getName()
The metric name, e.g.
|
Metric |
set(java.lang.String fieldName,
java.lang.Object value) |
Metric |
setKind(java.lang.String kind)
The kind of resource this is, in this case dfareporting#metric.
|
Metric |
setName(java.lang.String name)
The metric name, e.g.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic Metric setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Metric setName(java.lang.String name)
name - name or null for nonepublic Metric set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Metric clone()
clone in class com.google.api.client.json.GenericJson