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_types.IM Class Reference
Inheritance diagram for google.appengine.api.datastore_types.IM:

Public Member Functions

def __init__
 
def __cmp__
 
def __repr__
 
def __unicode__
 
def ToXml
 
def __len__
 

Static Public Attributes

list PROTOCOLS = [ 'sip', 'unknown', 'xmpp' ]
 
 protocol = None
 
 address = None
 

Detailed Description

An instant messaging handle. Includes both an address and its protocol.
The protocol value is either a standard IM scheme or a URL identifying the
IM network for the protocol. Possible values include:

  Value                           Description
  sip                             SIP/SIMPLE
  unknown                         Unknown or unspecified
  xmpp                            XMPP/Jabber
  http://aim.com/                 AIM
  http://icq.com/                 ICQ
  http://talk.google.com/         Google Talk
  http://messenger.msn.com/       MSN Messenger
  http://messenger.yahoo.com/     Yahoo Messenger
  http://sametime.com/            Lotus Sametime
  http://gadu-gadu.pl/            Gadu-Gadu

This is the gd:im element. In XML output, the address and protocol are
provided as the address and protocol attributes, respectively. See:
http://code.google.com/apis/gdata/common-elements.html#gdIm

Serializes to '<protocol> <address>'. Raises BadValueError if tag is not a
standard IM scheme or a URL.

Member Function Documentation

def google.appengine.api.datastore_types.IM.__repr__ (   self)
Returns an eval()able string representation of this IM.

The returned string is of the form:

  datastore_types.IM('address', 'protocol')

Returns:
  string

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