Calendar API v3 (revision 30)



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

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.Events
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public final class Events
extends GenericJson

Model definition for Events.

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
Events()
           
 
Method Summary
 java.lang.String getAccessRole()
          The user's access role for this calendar.
 java.util.List<EventReminder> getDefaultReminders()
          The default reminders on the calendar for the authenticated user.
 java.lang.String getDescription()
          Description of the calendar.
 java.lang.String getEtag()
          ETag of the collection.
 java.util.List<Event> getItems()
          List of events on the calendar.
 java.lang.String getKind()
          Type of the collection ("calendar#events").
 java.lang.String getNextPageToken()
          Token used to access the next page of this result.
 java.lang.String getSummary()
          Title of the calendar.
 java.lang.String getTimeZone()
          The time zone of the calendar.
 DateTime getUpdated()
          Last modification time of the calendar (as a RFC 3339 timestamp).
 Events setAccessRole(java.lang.String accessRole)
          The user's access role for this calendar.
 Events setDefaultReminders(java.util.List<EventReminder> defaultReminders)
          The default reminders on the calendar for the authenticated user.
 Events setDescription(java.lang.String description)
          Description of the calendar.
 Events setEtag(java.lang.String etag)
          ETag of the collection.
 Events setItems(java.util.List<Event> items)
          List of events on the calendar.
 Events setKind(java.lang.String kind)
          Type of the collection ("calendar#events").
 Events setNextPageToken(java.lang.String nextPageToken)
          Token used to access the next page of this result.
 Events setSummary(java.lang.String summary)
          Title of the calendar.
 Events setTimeZone(java.lang.String timeZone)
          The time zone of the calendar.
 Events setUpdated(DateTime updated)
          Last modification time of the calendar (as a RFC 3339 timestamp).
 
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

Events

public Events()
Method Detail

getAccessRole

public java.lang.String getAccessRole()
The user's access role for this calendar. Read-only. Possible values are: - "none" - The user has no access. - "freeBusyReader" - The user has read access to free/busy information. - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. The value returned may be null.


setAccessRole

public Events setAccessRole(java.lang.String accessRole)
The user's access role for this calendar. Read-only. Possible values are: - "none" - The user has no access. - "freeBusyReader" - The user has read access to free/busy information. - "reader" - The user has read access to the calendar. Private events will appear to users with reader access, but event details will be hidden. - "writer" - The user has read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible. - "owner" - The user has ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs. The value set may be null.


getDefaultReminders

public java.util.List<EventReminder> getDefaultReminders()
The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have 'reminders.useDefault' set to 'true'). The value returned may be null.


setDefaultReminders

public Events setDefaultReminders(java.util.List<EventReminder> defaultReminders)
The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have 'reminders.useDefault' set to 'true'). The value set may be null.


getDescription

public java.lang.String getDescription()
Description of the calendar. Read-only. The value returned may be null.


setDescription

public Events setDescription(java.lang.String description)
Description of the calendar. Read-only. The value set may be null.


getEtag

public java.lang.String getEtag()
ETag of the collection. The value returned may be null.


setEtag

public Events setEtag(java.lang.String etag)
ETag of the collection. The value set may be null.


getItems

public java.util.List<Event> getItems()
List of events on the calendar. The value returned may be null.


setItems

public Events setItems(java.util.List<Event> items)
List of events on the calendar. The value set may be null.


getKind

public java.lang.String getKind()
Type of the collection ("calendar#events"). The value returned may be null.


setKind

public Events setKind(java.lang.String kind)
Type of the collection ("calendar#events"). The value set may be null.


getNextPageToken

public java.lang.String getNextPageToken()
Token used to access the next page of this result. Omitted if no further results are available. The value returned may be null.


setNextPageToken

public Events setNextPageToken(java.lang.String nextPageToken)
Token used to access the next page of this result. Omitted if no further results are available. The value set may be null.


getSummary

public java.lang.String getSummary()
Title of the calendar. Read-only. The value returned may be null.


setSummary

public Events setSummary(java.lang.String summary)
Title of the calendar. Read-only. The value set may be null.


getTimeZone

public java.lang.String getTimeZone()
The time zone of the calendar. Read-only. The value returned may be null.


setTimeZone

public Events setTimeZone(java.lang.String timeZone)
The time zone of the calendar. Read-only. The value set may be null.


getUpdated

public DateTime getUpdated()
Last modification time of the calendar (as a RFC 3339 timestamp). Read-only. The value returned may be null.


setUpdated

public Events setUpdated(DateTime updated)
Last modification time of the calendar (as a RFC 3339 timestamp). Read-only. The value set may be null.