App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Classes | Public Member Functions | Static Public Attributes | List of all members
google.appengine.api.datastore_entities.Event Class Reference
Inheritance diagram for google.appengine.api.datastore_entities.Event:
google.appengine.api.datastore_entities.GdKind google.appengine.api.datastore.Entity

Classes

class  Status
 

Public Member Functions

def __init__
 
def ToXml
 
- Public Member Functions inherited from google.appengine.api.datastore_entities.GdKind
def __init__
 
def ToXml
 
- Public Member Functions inherited from google.appengine.api.datastore.Entity
def __init__
 
def app
 
def namespace
 
def kind
 
def is_saved
 
def is_projection
 
def key
 
def parent
 
def entity_group
 
def unindexed_properties
 
def set_unindexed_properties
 
def __setitem__
 
def setdefault
 
def update
 
def copy
 
def ToXml
 
def ToPb
 

Static Public Attributes

list KIND_PROPERTIES
 
list CONTACT_PROPERTIES = ['attendee']
 
- Static Public Attributes inherited from google.appengine.api.datastore_entities.GdKind
string HEADER = u""
 
string FOOTER = u""
 

Additional Inherited Members

- Static Public Member Functions inherited from google.appengine.api.datastore.Entity
def FromPb
 

Detailed Description

A calendar event.

Includes the event title, description, location, organizer, start and end
time, and other details.

This is the gd Event kind. See:
http://code.google.com/apis/gdata/common-elements.html#gdEventKind

These properties are meaningful. They are all optional.

property name  property type    meaning
-------------------------------------
title          string         event name
content        string         event description
author         string         the organizer's name
where          string*        human-readable location (not a GeoPt)
startTime      timestamp      start time
endTime        timestamp      end time
eventStatus    string         one of the Event.Status values
link           Link*          page with more information
category       Category*      tag or label associated with this event
attendee       Contact*       attendees and other related people

* means this property may be repeated.

The Contact properties should be Keys of Contact entities. They are
represented in the XML encoding as linked <gd:who> elements.

Member Function Documentation

def google.appengine.api.datastore_entities.Event.ToXml (   self)
Override GdKind.ToXml() to special-case author, gd:where, gd:when, and
gd:eventStatus.

Member Data Documentation

list google.appengine.api.datastore_entities.Event.KIND_PROPERTIES
static
Initial value:
1 = ['title', 'content', 'author', 'where', 'startTime',
2  'endTime', 'eventStatus', 'link', 'category']

The documentation for this class was generated from the following file: