public final class EventReminder extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EventReminder() |
Modifier and Type | Method and Description |
---|---|
EventReminder |
clone() |
String |
getMethod()
The method used by this reminder.
|
Integer |
getMinutes()
Number of minutes before the start of the event when the reminder should trigger.
|
EventReminder |
set(String fieldName,
Object value) |
EventReminder |
setMethod(String method)
The method used by this reminder.
|
EventReminder |
setMinutes(Integer minutes)
Number of minutes before the start of the event when the reminder should trigger.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getMethod()
null
for nonepublic EventReminder setMethod(String method)
method
- method or null
for nonepublic Integer getMinutes()
null
for nonepublic EventReminder setMinutes(Integer minutes)
minutes
- minutes or null
for nonepublic EventReminder set(String fieldName, Object value)
set
in class GenericJson
public EventReminder clone()
clone
in class GenericJson