Acquire.Access._request module

class Request[source]

Bases: object

This is the base class for all resource request classes. These classes are used to transmit information about a resource request, together with the user authorisation and account from which payment for the resource should be taken

static from_data(data)[source]

Construct a Request from the data in the JSON-deserialised dictionary

Parameters:data – create a Request object from the JSON data
is_null()[source]

Return whether or not this request is null

Returns:True
Return type:bool
to_data()[source]

Return this class as a json-serialisable dictionary

Returns:returns a JSON serialisable dictionary of this class
Return type:dict