Calendar API v3 (revision 30)



com.google.api.services.calendar.model
Class EventReminder

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.calendar.model.EventReminder
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.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

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
EventReminder()
           
 
Method Summary
 java.lang.String getMethod()
          The method used by this reminder.
 java.lang.Integer getMinutes()
          Number of minutes before the start of the event when the reminder should trigger.
 EventReminder setMethod(java.lang.String method)
          The method used by this reminder.
 EventReminder setMinutes(java.lang.Integer minutes)
          Number of minutes before the start of the event when the reminder should trigger.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventReminder

public EventReminder()
Method Detail

getMethod

public java.lang.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. The value returned may be null.


setMethod

public EventReminder setMethod(java.lang.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. The value set may be null.


getMinutes

public java.lang.Integer getMinutes()
Number of minutes before the start of the event when the reminder should trigger. The value returned may be null.


setMinutes

public EventReminder setMinutes(java.lang.Integer minutes)
Number of minutes before the start of the event when the reminder should trigger. The value set may be null.