code: def make(id, client, cls, parent_id=None, json=None):
          
          from .dbase import DerivedBase
  
          if issubclass(cls, DerivedBase):
              return cls(client, id, parent_id, json)
          else:
              return cls(client, id, json)
docs: Makes an api object based on an id and class.
  
          :param id: The id of the object to create
          :param client: The LinodeClient to give the new object
          :param cls: The class type to instantiate
          :param parent_id: The parent id for derived classes
          :param json: The JSON to use to populate the new class
  
          :returns: An instance of cls with the given id