Package googleapiclient :: Module model :: Class RawModel |
[hide private]
[frames] | no frames]

# Class RawModel

source code

    Model class for requests that don't return JSON.

    Serializes and de-serializes between JSON and the Python
    object representation of HTTP request, and returns the raw bytes
    of the response body.

Instance Methods | [hide private]
deserialize(self, content) Perform the actual deserialization from response string to Python object. | source code
no_content_response(self) | source code
Inherited from `JsonModel`: `__init__`, `serialize` Inherited from `BaseModel`: `request`, `response` Inherited from `BaseModel` (private): `_build_query`, `_log_request`, `_log_response` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| accept = `"*/*"`
| content_type = `"application/json"`
| alt_param = `None`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### deserialize(self, content) | source code
    Perform the actual deserialization from response string to Python
    object.

    Args:
      content: string, the body of the HTTP response

    Returns:
      The body de-serialized as a Python object.
Overrides: BaseModel.deserialize (inherited documentation)

### no_content_response(self) | source code
Decorators: `@property` Overrides: no_content_response