Bases: object
Simple wrapper for api objects.
Define _attrs on the child class and pass in the api object as the only argument to the constructor
Bases: object
Simple wrapper for api dictionaries
Some api calls return dictionaries. This class provides identical behavior as APIResourceWrapper, except that it will also behave as a dictionary, in addition to attribute accesses.
Attribute access is the preferred method of access, to be consistent with api resource objects from novaclient.