public final class CalendarNotification 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 |
---|
CalendarNotification() |
Modifier and Type | Method and Description |
---|---|
CalendarNotification |
clone() |
String |
getMethod()
The method used to deliver the notification.
|
String |
getType()
The type of notification.
|
CalendarNotification |
set(String fieldName,
Object value) |
CalendarNotification |
setMethod(String method)
The method used to deliver the notification.
|
CalendarNotification |
setType(String type)
The type of notification.
|
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 CalendarNotification setMethod(String method)
method
- method or null
for nonepublic String getType()
null
for nonepublic CalendarNotification setType(String type)
type
- type or null
for nonepublic CalendarNotification set(String fieldName, Object value)
set
in class GenericJson
public CalendarNotification clone()
clone
in class GenericJson