class documentation

class RawModel(JsonModel):

Constructor: RawModel(data_wrapper)

View In Hierarchy

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.

Method deserialize Perform the actual deserialization from response string to Python object.
Instance Variable accept Undocumented
Instance Variable alt_param Undocumented
Instance Variable content_type Undocumented
Property no_content_response Undocumented

Inherited from JsonModel:

Method __init__ Construct a JsonModel.
Method serialize Perform the actual Python object serialization.
Instance Variable _data_wrapper Undocumented

Inherited from BaseModel (via JsonModel):

Method request Updates outgoing requests with a serialized body.
Method response Convert the response wire format into a Python object.
Method _build_query Builds a query string.
Method _log_request Logs debugging information about the request if requested.
Method _log_response Logs debugging information about the response if requested.
def deserialize(self, content):

Perform the actual deserialization from response string to Python object.

Parameters
contentstring, the body of the HTTP response
Returns
The body de-serialized as a Python object.
accept: str =
alt_param =
content_type: str =
@property
no_content_response =