Calendar API v3 (revision 41)



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

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.Organizer
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Event

public static final class Event.Organizer
extends GenericJson

The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in 'attendees' with the 'organizer' field set to True. To change the organizer, use the "move" operation. Read-only, except when importing an 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.Organizer()
           
 
Method Summary
 Event.Organizer clone()
           
 String getDisplayName()
          The organizer's name, if available.
 String getEmail()
          The organizer's email address, if available.
 String getId()
          The organizer's Profile ID, if available.
 Boolean getSelf()
          Whether the organizer corresponds to the calendar on which this copy of the event appears.
 Event.Organizer set(String fieldName, Object value)
           
 Event.Organizer setDisplayName(String displayName)
          The organizer's name, if available.
 Event.Organizer setEmail(String email)
          The organizer's email address, if available.
 Event.Organizer setId(String id)
          The organizer's Profile ID, if available.
 Event.Organizer setSelf(Boolean self)
          Whether the organizer corresponds to the calendar on which this copy of the event appears.
 
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.Organizer

public Event.Organizer()
Method Detail

getDisplayName

public String getDisplayName()
The organizer's name, if available.

Returns:
value or null for none

setDisplayName

public Event.Organizer setDisplayName(String displayName)
The organizer's name, if available.

Parameters:
displayName - displayName or null for none

getEmail

public String getEmail()
The organizer's email address, if available.

Returns:
value or null for none

setEmail

public Event.Organizer setEmail(String email)
The organizer's email address, if available.

Parameters:
email - email or null for none

getId

public String getId()
The organizer's Profile ID, if available.

Returns:
value or null for none

setId

public Event.Organizer setId(String id)
The organizer's Profile ID, if available.

Parameters:
id - id or null for none

getSelf

public Boolean getSelf()
Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.

Returns:
value or null for none

setSelf

public Event.Organizer setSelf(Boolean self)
Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.

Parameters:
self - self or null for none

set

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

clone

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