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

Public Member Functions

def __init__
 
def ToXml
 

Static Public Attributes

int MIN = 0
 
int MAX = 100
 

Detailed Description

A user-provided integer rating for a piece of content. Normalized to a
0-100 scale.

This is the gd:rating element. In XML output, the address is provided
as the text of the element. See:
http://code.google.com/apis/gdata/common-elements.html#gdRating

Serializes to the decimal string representation of the rating. Raises
BadValueError if the rating is not an integer in the range [0, 100].

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