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.Contact Class Reference
Inheritance diagram for google.appengine.api.datastore_entities.Contact:
google.appengine.api.datastore_entities.GdKind google.appengine.api.datastore.Entity

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

string CONTACT_SECTION_HEADER
 
string CONTACT_SECTION_FOOTER
 
list KIND_PROPERTIES = ['title', 'content', 'link', 'category']
 
list CONTACT_SECTION_PROPERTIES
 
- 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 contact: a person, a venue such as a club or a restaurant, or an
organization.

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

Most of the information about the contact is in the <gd:contactSection>
element; see the reference section for that element for details.

These properties are meaningful. They are all optional.

property name  property type    meaning
-------------------------------------
title          string         contact's name
content        string         notes
email          Email*         email address
geoPt          GeoPt*         geographic location
im             IM*            IM address
phoneNumber    Phonenumber*   phone number
postalAddress  PostalAddress* mailing address
link           Link*          link to more information
category       Category*      tag or label associated with this contact

* means this property may be repeated.

Member Function Documentation

def google.appengine.api.datastore_entities.Contact.ToXml (   self)
Override GdKind.ToXml() to put some properties inside a
gd:contactSection.

Member Data Documentation

string google.appengine.api.datastore_entities.Contact.CONTACT_SECTION_FOOTER
static
Initial value:
1 = """
2 </gd:contactSection>"""
string google.appengine.api.datastore_entities.Contact.CONTACT_SECTION_HEADER
static
Initial value:
1 = """
2 <gd:contactSection>"""
list google.appengine.api.datastore_entities.Contact.CONTACT_SECTION_PROPERTIES
static
Initial value:
1 = ['email', 'geoPt', 'im', 'phoneNumber',
2  'postalAddress']

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