Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class EventAttendee

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.EventAttendee
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class EventAttendee
extends GenericJson

Model definition for EventAttendee.

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

Author:
Google, Inc.

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
EventAttendee()
           
 
Method Summary
 EventAttendee clone()
           
 Integer getAdditionalGuests()
          Number of additional guests.
 String getComment()
          The attendee's response comment.
 String getDisplayName()
          The attendee's name, if available.
 String getEmail()
          The attendee's email address, if available.
 String getId()
          The attendee's Profile ID, if available.
 Boolean getOptional()
          Whether this is an optional attendee.
 Boolean getOrganizer()
          Whether the attendee is the organizer of the event.
 Boolean getResource()
          Whether the attendee is a resource.
 String getResponseStatus()
          The attendee's response status.
 Boolean getSelf()
          Whether this entry represents the calendar on which this copy of the event appears.
 EventAttendee set(String fieldName, Object value)
           
 EventAttendee setAdditionalGuests(Integer additionalGuests)
          Number of additional guests.
 EventAttendee setComment(String comment)
          The attendee's response comment.
 EventAttendee setDisplayName(String displayName)
          The attendee's name, if available.
 EventAttendee setEmail(String email)
          The attendee's email address, if available.
 EventAttendee setId(String id)
          The attendee's Profile ID, if available.
 EventAttendee setOptional(Boolean optional)
          Whether this is an optional attendee.
 EventAttendee setOrganizer(Boolean organizer)
          Whether the attendee is the organizer of the event.
 EventAttendee setResource(Boolean resource)
          Whether the attendee is a resource.
 EventAttendee setResponseStatus(String responseStatus)
          The attendee's response status.
 EventAttendee setSelf(Boolean self)
          Whether this entry represents 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

EventAttendee

public EventAttendee()
Method Detail

getAdditionalGuests

public Integer getAdditionalGuests()
Number of additional guests. Optional. The default is 0.

Returns:
value or null for none

setAdditionalGuests

public EventAttendee setAdditionalGuests(Integer additionalGuests)
Number of additional guests. Optional. The default is 0.

Parameters:
additionalGuests - additionalGuests or null for none

getComment

public String getComment()
The attendee's response comment. Optional.

Returns:
value or null for none

setComment

public EventAttendee setComment(String comment)
The attendee's response comment. Optional.

Parameters:
comment - comment or null for none

getDisplayName

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

Returns:
value or null for none

setDisplayName

public EventAttendee setDisplayName(String displayName)
The attendee's name, if available. Optional.

Parameters:
displayName - displayName or null for none

getEmail

public String getEmail()
The attendee's email address, if available. This field must be present when adding an attendee.

Returns:
value or null for none

setEmail

public EventAttendee setEmail(String email)
The attendee's email address, if available. This field must be present when adding an attendee.

Parameters:
email - email or null for none

getId

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

Returns:
value or null for none

setId

public EventAttendee setId(String id)
The attendee's Profile ID, if available.

Parameters:
id - id or null for none

getOptional

public Boolean getOptional()
Whether this is an optional attendee. Optional. The default is False.

Returns:
value or null for none

setOptional

public EventAttendee setOptional(Boolean optional)
Whether this is an optional attendee. Optional. The default is False.

Parameters:
optional - optional or null for none

getOrganizer

public Boolean getOrganizer()
Whether the attendee is the organizer of the event. Read-only. The default is False.

Returns:
value or null for none

setOrganizer

public EventAttendee setOrganizer(Boolean organizer)
Whether the attendee is the organizer of the event. Read-only. The default is False.

Parameters:
organizer - organizer or null for none

getResource

public Boolean getResource()
Whether the attendee is a resource. Read-only. The default is False.

Returns:
value or null for none

setResource

public EventAttendee setResource(Boolean resource)
Whether the attendee is a resource. Read-only. The default is False.

Parameters:
resource - resource or null for none

getResponseStatus

public String getResponseStatus()
The attendee's response status. Possible values are: - "needsAction" - The attendee has not responded to the invitation. - "declined" - The attendee has declined the invitation. - "tentative" - The attendee has tentatively accepted the invitation. - "accepted" - The attendee has accepted the invitation.

Returns:
value or null for none

setResponseStatus

public EventAttendee setResponseStatus(String responseStatus)
The attendee's response status. Possible values are: - "needsAction" - The attendee has not responded to the invitation. - "declined" - The attendee has declined the invitation. - "tentative" - The attendee has tentatively accepted the invitation. - "accepted" - The attendee has accepted the invitation.

Parameters:
responseStatus - responseStatus or null for none

getSelf

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

Returns:
value or null for none

setSelf

public EventAttendee setSelf(Boolean self)
Whether this entry represents 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 EventAttendee set(String fieldName,
                         Object value)
Overrides:
set in class GenericJson

clone

public EventAttendee clone()
Overrides:
clone in class GenericJson