Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class Event.Source

java.lang.Object
  extended by java.util.AbstractMap<String,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.Event.Source
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Event

public static final class Event.Source
extends GenericJson

Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event.


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
Event.Source()
           
 
Method Summary
 Event.Source clone()
           
 String getTitle()
          Title of the source; for example a title of a web page or an email subject.
 String getUrl()
          URL of the source pointing to a resource.
 Event.Source set(String fieldName, Object value)
           
 Event.Source setTitle(String title)
          Title of the source; for example a title of a web page or an email subject.
 Event.Source setUrl(String url)
          URL of the source pointing to a 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

Event.Source

public Event.Source()
Method Detail

getTitle

public String getTitle()
Title of the source; for example a title of a web page or an email subject.

Returns:
value or null for none

setTitle

public Event.Source setTitle(String title)
Title of the source; for example a title of a web page or an email subject.

Parameters:
title - title or null for none

getUrl

public String getUrl()
URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS.

Returns:
value or null for none

setUrl

public Event.Source setUrl(String url)
URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS.

Parameters:
url - url or null for none

set

public Event.Source set(String fieldName,
                        Object value)
Overrides:
set in class GenericJson

clone

public Event.Source clone()
Overrides:
clone in class GenericJson