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

Public Member Functions

def __init__
 
- 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 = ['title', 'content', 'link', 'category', 'geoPt', 'rating']
 
list CONTACT_PROPERTIES = ['from', 'to', 'cc', 'bcc', 'reply-to']
 
- 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 message, such as an email, a discussion group posting, or a comment.

Includes the message title, contents, participants, and other properties.

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

These properties are meaningful. They are all optional.

property name  property type    meaning
-------------------------------------
title          string         message subject
content        string         message body
from           Contact*       sender
to             Contact*       primary recipient
cc             Contact*       CC recipient
bcc            Contact*       BCC recipient
reply-to       Contact*       intended recipient of replies
link           Link*          attachment
category       Category*      tag or label associated with this message
geoPt          GeoPt*         geographic location the message was posted from
rating         Rating*        message rating, as defined by the application

* 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.

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