|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.calendar.model.Subscription
public final class Subscription
Model definition for Subscription.
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
| 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 |
|---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
Subscription()
|
|
| Method Summary | |
|---|---|
Subscription |
clone()
|
String |
getAddress()
The address of the receiving entity where notifications are delivered. |
String |
getChannel()
The delivery channel mechanism to use for notifications |
Map<String,String> |
getChannelParams()
Additional parameters controlling delivery channel behavior |
String |
getClientToken()
An arbitrary string associated with the subscription that is delivered to the target address with each notification for this subscription. |
Long |
getExpiration()
The expiration instant for this subscription if it is defined. |
String |
getId()
A UUID for the subscription |
String |
getKind()
A subscription to an API resource |
String |
getTopicId()
An opaque topic id that identifies the backend resource which has been subscribed to. |
String |
getTopicUri()
The canonicalized URI of the subscribed-to resource. |
Subscription |
set(String fieldName,
Object value)
|
Subscription |
setAddress(String address)
The address of the receiving entity where notifications are delivered. |
Subscription |
setChannel(String channel)
The delivery channel mechanism to use for notifications |
Subscription |
setChannelParams(Map<String,String> channelParams)
Additional parameters controlling delivery channel behavior |
Subscription |
setClientToken(String clientToken)
An arbitrary string associated with the subscription that is delivered to the target address with each notification for this subscription. |
Subscription |
setExpiration(Long expiration)
The expiration instant for this subscription if it is defined. |
Subscription |
setId(String id)
A UUID for the subscription |
Subscription |
setKind(String kind)
A subscription to an API resource |
Subscription |
setTopicId(String topicId)
An opaque topic id that identifies the backend resource which has been subscribed to. |
Subscription |
setTopicUri(String topicUri)
The canonicalized URI of the subscribed-to resource. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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 |
|---|
public Subscription()
| Method Detail |
|---|
public String getAddress()
null for nonepublic Subscription setAddress(String address)
address - address or null for nonepublic String getChannel()
null for nonepublic Subscription setChannel(String channel)
channel - channel or null for nonepublic Map<String,String> getChannelParams()
null for nonepublic Subscription setChannelParams(Map<String,String> channelParams)
channelParams - channelParams or null for nonepublic String getClientToken()
null for nonepublic Subscription setClientToken(String clientToken)
clientToken - clientToken or null for nonepublic Long getExpiration()
null for nonepublic Subscription setExpiration(Long expiration)
expiration - expiration or null for nonepublic String getId()
null for nonepublic Subscription setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Subscription setKind(String kind)
kind - kind or null for nonepublic String getTopicId()
null for nonepublic Subscription setTopicId(String topicId)
topicId - topicId or null for nonepublic String getTopicUri()
null for nonepublic Subscription setTopicUri(String topicUri)
topicUri - topicUri or null for none
public Subscription set(String fieldName,
Object value)
set in class GenericJsonpublic Subscription clone()
clone in class GenericJson
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||