public final class EventHabitInstance
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 Calendar 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 |
|---|
EventHabitInstance() |
| Modifier and Type | Method and Description |
|---|---|
EventHabitInstance |
clone() |
HabitInstanceData |
getData()
Metadata specific to this instance.
|
java.lang.String |
getParentId()
Id of the habit this instance belongs to.
|
EventHabitInstance |
set(java.lang.String fieldName,
java.lang.Object value) |
EventHabitInstance |
setData(HabitInstanceData data)
Metadata specific to this instance.
|
EventHabitInstance |
setParentId(java.lang.String parentId)
Id of the habit this instance belongs to.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic HabitInstanceData getData()
null for nonepublic EventHabitInstance setData(HabitInstanceData data)
data - data or null for nonepublic java.lang.String getParentId()
null for nonepublic EventHabitInstance setParentId(java.lang.String parentId)
parentId - parentId or null for nonepublic EventHabitInstance set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic EventHabitInstance clone()
clone in class com.google.api.client.json.GenericJson