Calendar API v3 (revision 41)
com.google.api.services.calendar.model
Class EventReminder
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.EventReminder
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
public final class EventReminder
- extends GenericJson
Model definition for EventReminder.
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-api-java-client/wiki/Json
- Author:
- Google, Inc.
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
EventReminder
public EventReminder()
getMethod
public String getMethod()
- The method used by this reminder. Possible values are: - "email" - Reminders are sent via
email. - "sms" - Reminders are sent via SMS. - "popup" - Reminders are sent via a UI popup.
- Returns:
- value or
null for none
setMethod
public EventReminder setMethod(String method)
- The method used by this reminder. Possible values are: - "email" - Reminders are sent via
email. - "sms" - Reminders are sent via SMS. - "popup" - Reminders are sent via a UI popup.
- Parameters:
method - method or null for none
getMinutes
public Integer getMinutes()
- Number of minutes before the start of the event when the reminder should trigger.
- Returns:
- value or
null for none
setMinutes
public EventReminder setMinutes(Integer minutes)
- Number of minutes before the start of the event when the reminder should trigger.
- Parameters:
minutes - minutes or null for none
set
public EventReminder set(String fieldName,
Object value)
- Overrides:
set in class GenericJson
clone
public EventReminder clone()
- Overrides:
clone in class GenericJson