Index: docs/epy/apiclient.model.Model-class.html =================================================================== new file mode 100644 --- /dev/null +++ b/docs/epy/apiclient.model.Model-class.html @@ -0,0 +1,317 @@ + + + +
+Trees | + + +Indices | + + +Help | + ++ |
---|
+ | + +
+ |
+
+Model base class. + +All Model classes should implement this interface. +The Model serializes and de-serializes between a wire +format such as JSON and a Python object representation. + ++ + + +
+
|
+|||
+ + |
+
|
+ ||
+ + |
+
|
+ ||
+ Inherited from |
+
+
|
+|||
+ Inherited from |
+
+
|
+
+
+Updates outgoing requests with a serialized body. + +Args: + headers: dict, request headers + path_params: dict, parameters that appear in the request path + query_params: dict, parameters that appear in the query + body_value: object, the request body as a Python object, which must be + serializable. +Returns: + A tuple of (headers, path_params, query, body) + + headers: dict, request headers + path_params: dict, parameters that appear in the request path + query: string, query part of the request URI + body: string, the body serialized in the desired wire format. + ++
|
+
+Convert the response wire format into a Python object. + +Args: + resp: httplib2.Response, the HTTP response headers and status + content: string, the body of the HTTP response + +Returns: + The body de-serialized as a Python object. + +Raises: + apiclient.errors.HttpError if a non 2xx response is received. + ++
|
Trees | + + +Indices | + + +Help | + ++ |
---|
+ Generated by Epydoc 3.0.1 on Tue Jun 5 09:03:07 2012 + | ++ http://epydoc.sourceforge.net + | +