public final class BucketByTimePeriod
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 Fitness. 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 |
|---|
BucketByTimePeriod() |
| Modifier and Type | Method and Description |
|---|---|
BucketByTimePeriod |
clone() |
java.lang.String |
getTimeZoneId()
org.joda.timezone.DateTimeZone
|
java.lang.String |
getType() |
java.lang.Integer |
getValue() |
BucketByTimePeriod |
set(java.lang.String fieldName,
java.lang.Object value) |
BucketByTimePeriod |
setTimeZoneId(java.lang.String timeZoneId)
org.joda.timezone.DateTimeZone
|
BucketByTimePeriod |
setType(java.lang.String type) |
BucketByTimePeriod |
setValue(java.lang.Integer value) |
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getTimeZoneId()
null for nonepublic BucketByTimePeriod setTimeZoneId(java.lang.String timeZoneId)
timeZoneId - timeZoneId or null for nonepublic java.lang.String getType()
null for nonepublic BucketByTimePeriod setType(java.lang.String type)
type - type or null for nonepublic java.lang.Integer getValue()
null for nonepublic BucketByTimePeriod setValue(java.lang.Integer value)
value - value or null for nonepublic BucketByTimePeriod set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BucketByTimePeriod clone()
clone in class com.google.api.client.json.GenericJson