public final class LocationMetrics
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 My Business 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 |
---|
LocationMetrics() |
Modifier and Type | Method and Description |
---|---|
LocationMetrics |
clone() |
java.lang.String |
getLocationName()
The location resource name these values belong to.
|
java.util.List<MetricValue> |
getMetricValues()
A list of values for the requested metrics.
|
java.lang.String |
getTimeZone()
IANA timezone for the location.
|
LocationMetrics |
set(java.lang.String fieldName,
java.lang.Object value) |
LocationMetrics |
setLocationName(java.lang.String locationName)
The location resource name these values belong to.
|
LocationMetrics |
setMetricValues(java.util.List<MetricValue> metricValues)
A list of values for the requested metrics.
|
LocationMetrics |
setTimeZone(java.lang.String timeZone)
IANA timezone for the location.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getLocationName()
null
for nonepublic LocationMetrics setLocationName(java.lang.String locationName)
locationName
- locationName or null
for nonepublic java.util.List<MetricValue> getMetricValues()
null
for nonepublic LocationMetrics setMetricValues(java.util.List<MetricValue> metricValues)
metricValues
- metricValues or null
for nonepublic java.lang.String getTimeZone()
null
for nonepublic LocationMetrics setTimeZone(java.lang.String timeZone)
timeZone
- timeZone or null
for nonepublic LocationMetrics set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LocationMetrics clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.