Calendar API v3 (revision 30)



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

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.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:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.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

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
EventAttendee()
           
 
Method Summary
 java.lang.Integer getAdditionalGuests()
          Number of additional guests.
 java.lang.String getComment()
          The attendee's response comment.
 java.lang.String getDisplayName()
          The attendee's name, if available.
 java.lang.String getEmail()
          The attendee's email address, if available.
 java.lang.String getId()
          The attendee's Profile ID, if available.
 java.lang.Boolean getOptional()
          Whether this is an optional attendee.
 java.lang.Boolean getOrganizer()
          Whether the attendee is the organizer of the event.
 java.lang.Boolean getResource()
          Whether the attendee is a resource.
 java.lang.String getResponseStatus()
          The attendee's response status.
 java.lang.Boolean getSelf()
          Whether this entry represents the calendar on which this copy of the event appears.
 EventAttendee setAdditionalGuests(java.lang.Integer additionalGuests)
          Number of additional guests.
 EventAttendee setComment(java.lang.String comment)
          The attendee's response comment.
 EventAttendee setDisplayName(java.lang.String displayName)
          The attendee's name, if available.
 EventAttendee setEmail(java.lang.String email)
          The attendee's email address, if available.
 EventAttendee setId(java.lang.String id)
          The attendee's Profile ID, if available.
 EventAttendee setOptional(java.lang.Boolean optional)
          Whether this is an optional attendee.
 EventAttendee setOrganizer(java.lang.Boolean organizer)
          Whether the attendee is the organizer of the event.
 EventAttendee setResource(java.lang.Boolean resource)
          Whether the attendee is a resource.
 EventAttendee setResponseStatus(java.lang.String responseStatus)
          The attendee's response status.
 EventAttendee setSelf(java.lang.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
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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 java.lang.Integer getAdditionalGuests()
Number of additional guests. Optional. The default is 0. The value returned may be null.


setAdditionalGuests

public EventAttendee setAdditionalGuests(java.lang.Integer additionalGuests)
Number of additional guests. Optional. The default is 0. The value set may be null.


getComment

public java.lang.String getComment()
The attendee's response comment. Optional. The value returned may be null.


setComment

public EventAttendee setComment(java.lang.String comment)
The attendee's response comment. Optional. The value set may be null.


getDisplayName

public java.lang.String getDisplayName()
The attendee's name, if available. Optional. The value returned may be null.


setDisplayName

public EventAttendee setDisplayName(java.lang.String displayName)
The attendee's name, if available. Optional. The value set may be null.


getEmail

public java.lang.String getEmail()
The attendee's email address, if available. This field must be present when adding an attendee. The value returned may be null.


setEmail

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


getId

public java.lang.String getId()
The attendee's Profile ID, if available. The value returned may be null.


setId

public EventAttendee setId(java.lang.String id)
The attendee's Profile ID, if available. The value set may be null.


getOptional

public java.lang.Boolean getOptional()
Whether this is an optional attendee. Optional. The default is False. The value returned may be null.


setOptional

public EventAttendee setOptional(java.lang.Boolean optional)
Whether this is an optional attendee. Optional. The default is False. The value set may be null.


getOrganizer

public java.lang.Boolean getOrganizer()
Whether the attendee is the organizer of the event. Read-only. The default is False. The value returned may be null.


setOrganizer

public EventAttendee setOrganizer(java.lang.Boolean organizer)
Whether the attendee is the organizer of the event. Read-only. The default is False. The value set may be null.


getResource

public java.lang.Boolean getResource()
Whether the attendee is a resource. Read-only. The default is False. The value returned may be null.


setResource

public EventAttendee setResource(java.lang.Boolean resource)
Whether the attendee is a resource. Read-only. The default is False. The value set may be null.


getResponseStatus

public java.lang.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. The value returned may be null.


setResponseStatus

public EventAttendee setResponseStatus(java.lang.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. The value set may be null.


getSelf

public java.lang.Boolean getSelf()
Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. The value returned may be null.


setSelf

public EventAttendee setSelf(java.lang.Boolean self)
Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. The value set may be null.