Calendar API v3 (revision 41)
com.google.api.services.calendar.model
Class Event.Source
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.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 classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Event.Source
public Event.Source()
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